Skip to content

Commit

Permalink
linux: Allow the __NR_rt_sigprocmask syscall
Browse files Browse the repository at this point in the history
Fixes recent glibc changes to getrandom() used by arc4random().
Fixes #421.
  • Loading branch information
sshambar authored and rsmarples committed Dec 7, 2024
1 parent 75289ca commit e9e4040
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/privsep-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ static struct sock_filter ps_seccomp_filter[] = {
#ifdef __NR_recvmsg
SECCOMP_ALLOW(__NR_recvmsg),
#endif
#ifdef __NR_rt_sigprocmask
SECCOMP_ALLOW(__NR_rt_sigprocmask),
#endif
#ifdef __NR_rt_sigreturn
SECCOMP_ALLOW(__NR_rt_sigreturn),
#endif
Expand Down

0 comments on commit e9e4040

Please sign in to comment.