Add __NR_faccessat2 to the list of syscalls allowed by AllowAccess().

PiperOrigin-RevId: 500105471
Change-Id: Ic43c608a511617ba9ca8c2cba440cd709ae80a19
This commit is contained in:
Sandboxed API Team 2023-01-06 00:12:59 -08:00 committed by Copybara-Service
parent 756176f206
commit 1871b173c4

View File

@ -419,6 +419,9 @@ PolicyBuilder& PolicyBuilder::AllowAccess() {
#endif
#ifdef __NR_faccessat
AllowSyscall(__NR_faccessat);
#endif
#ifdef __NR_faccessat2
AllowSyscall(__NR_faccessat2);
#endif
return *this;
}