Skip to content
Snippets Groups Projects
Commit b4fef391 authored by Isaac Manjarres's avatar Isaac Manjarres
Browse files

ANDROID: ashmem: Add toggle to ignore requests to deny PROT_EXEC mappings


Memfd does not support preventing a file from being mapped with PROT_EXEC,
as ashmem does. It would be useful to expose a knob to userspace to
change ashmem's behavior to match memfd to see if any issues arise
during tests.

Therefore, expose a tunable that userspace can use to cause ashmem to
ignore requests to deny PROT_EXEC mappings.

Bug: 111903542
Change-Id: I3da63d899c4753aa704092bf8e8a2568500fa833
Signed-off-by: default avatarIsaac J. Manjarres <isaacmanjarres@google.com>
parent ef10c0ef
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment