Commit e8bed58f authored by Alice Ryhl's avatar Alice Ryhl Committed by Suren Baghdasaryan
Browse files

ANDROID: ashmem_rust: add toggle for PROT_READ



The memfd type simulates SET_PROT_MASK using file seals, but there's no
file seal to prevent mapping readable memory. Thus, add a toggle that
removes the ability to unset the PROT_READ bit on an ashmem file.

Bug: 370906207
Change-Id: I2d0347ce124d7d6d543cff765f77b28202cf327f
Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent 5e60c480
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment