mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Add __NR_faccessat2 to the list of syscalls allowed by AllowAccess().
PiperOrigin-RevId: 500105471 Change-Id: Ic43c608a511617ba9ca8c2cba440cd709ae80a19
This commit is contained in:
parent
756176f206
commit
1871b173c4
|
@ -419,6 +419,9 @@ PolicyBuilder& PolicyBuilder::AllowAccess() {
|
|||
#endif
|
||||
#ifdef __NR_faccessat
|
||||
AllowSyscall(__NR_faccessat);
|
||||
#endif
|
||||
#ifdef __NR_faccessat2
|
||||
AllowSyscall(__NR_faccessat2);
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user