sandbox: allow newfstatat

Testing on Arch x86_64, when connecting to the login server this syscall triggered the secomp filter
This commit is contained in:
CPunch 2023-02-27 20:01:49 -06:00
parent 0c3002c4d9
commit 4429e5f49d

View File

@ -157,6 +157,7 @@ static sock_filter filter[] = {
ALLOW_SYSCALL(stat),
#endif
ALLOW_SYSCALL(fstat),
ALLOW_SYSCALL(newfstatat),
ALLOW_SYSCALL(fsync), // maybe
#if __NR_creat
ALLOW_SYSCALL(creat), // maybe; for DB journal