Skip to content

Commit

Permalink
Allow mmap syscall in seccomp sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
francma committed Sep 17, 2023
1 parent 81412ac commit cd85439
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pledge_seccomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ wob_pledge(void)
SCMP_SYS(gettimeofday),
SCMP_SYS(_llseek),
SCMP_SYS(lseek),
SCMP_SYS(mmap),
SCMP_SYS(mprotect),
SCMP_SYS(munmap),
SCMP_SYS(poll),
Expand Down

0 comments on commit cd85439

Please sign in to comment.