Skip to content

Commit

Permalink
Merge pull request #1491 from hanwen/master
Browse files Browse the repository at this point in the history
whitelist munmap for seccomp.
  • Loading branch information
masatake authored Jun 27, 2017
2 parents 69b2ad9 + 3a6c6ff commit db3d9a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/seccomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ int installSyscallFilter (void)

// Memory allocation.
seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS (mmap), 0);
seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS (munmap), 0);
seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS (brk), 0);

// I/O
Expand Down

0 comments on commit db3d9a6

Please sign in to comment.