Skip to content

Commit

Permalink
privsep: Allow newfstatat syscall as well
Browse files Browse the repository at this point in the history
Allows newer glibc variants to work apparently.
As reported in #84 and #89.
  • Loading branch information
rsmarples committed Aug 26, 2022
1 parent 645c32d commit 38befd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/privsep-linux.c
Expand Up @@ -353,6 +353,9 @@ static struct sock_filter ps_seccomp_filter[] = {
#ifdef __NR_nanosleep
SECCOMP_ALLOW(__NR_nanosleep), /* XXX should use ppoll instead */
#endif
#ifdef __NR_newfstatat
SECCOMP_ALLOW(__NR_newfstatat),
#endif
#ifdef __NR_ppoll
SECCOMP_ALLOW(__NR_ppoll),
#endif
Expand Down

0 comments on commit 38befd4

Please sign in to comment.