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

ANDROID: ashmem_rust: add toggle for PROT_EXEC



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

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