Skip to content

Commit c36cb06

Browse files
happyCoder92copybara-github
authored andcommitted
Use AllowMmapWithoutExec instead of AllowMmap
PiperOrigin-RevId: 764142598 Change-Id: I53bdbabebd28ae621971a5202f0f3e6eb0344a01
1 parent 8a562d3 commit c36cb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sandboxed_api/sandbox2/policy_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ PolicyBuilder PosixTimersPolicyBuilder() {
218218
.AllowDynamicStartup(sandbox2::MapExec())
219219
.AllowWrite()
220220
.AllowSyscall(__NR_getcwd)
221-
.AllowMmap()
221+
.AllowMmapWithoutExec()
222222
.AllowMlock()
223223
.AllowMkdir()
224224
.AllowGetIDs()

0 commit comments

Comments
 (0)