Add newfstatat in common Kore seccomp whitelist.

This commit is contained in:
Joris Vink 2022-11-02 22:13:10 +01:00
parent dd93790d80
commit 369fc4fa01
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ static struct sock_filter filter_kore[] = {
KORE_SYSCALL_ALLOW(fstat),
#if defined(SYS_fstat64)
KORE_SYSCALL_ALLOW(fstat64),
#endif
#if defined(SYS_newfstatat)
KORE_SYSCALL_ALLOW(newfstatat),
#endif
KORE_SYSCALL_ALLOW(write),
KORE_SYSCALL_ALLOW(fcntl),