mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Enable AArch64 syscalls in examples
PiperOrigin-RevId: 375923215 Change-Id: I9523a074579975379b1a9d4644497268781499e1
This commit is contained in:
parent
f159359f65
commit
d73f80cfa5
|
@ -58,7 +58,12 @@ std::unique_ptr<sandbox2::Policy> GetPolicy() {
|
||||||
.AllowStaticStartup()
|
.AllowStaticStartup()
|
||||||
.AllowSystemMalloc()
|
.AllowSystemMalloc()
|
||||||
.AllowExit()
|
.AllowExit()
|
||||||
|
#ifdef __NR_access
|
||||||
.BlockSyscallWithErrno(__NR_access, ENOENT)
|
.BlockSyscallWithErrno(__NR_access, ENOENT)
|
||||||
|
#endif
|
||||||
|
#ifdef __NR_faccessat
|
||||||
|
.BlockSyscallWithErrno(__NR_faccessat, ENOENT)
|
||||||
|
#endif
|
||||||
.BuildOrDie();
|
.BuildOrDie();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user