Skip to content

Commit

Permalink
Add missing seccomp syscall (rseq)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Mar 28, 2022
1 parent 35c6501 commit 035ef9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sandbox/seccomp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ pub fn init() -> Result<()> {
ctx.allow_syscall(Syscall::setsockopt)?;
ctx.allow_syscall(Syscall::madvise)?;
ctx.allow_syscall(Syscall::rt_sigaction)?;
ctx.allow_syscall(Syscall::rseq)?;
#[cfg(target_arch = "x86")]
ctx.allow_syscall(Syscall::time)?;
ctx.allow_syscall(Syscall::clock_gettime)?;
Expand Down

0 comments on commit 035ef9a

Please sign in to comment.