- (djm) [sandbox-seccomp-filter.c] Allow mremap and exit for DietLibc;

patch from Felix von Leitner; ok dtucker
This commit is contained in:
Damien Miller 2014-09-10 08:15:34 +10:00
parent ad7d23d461
commit 0fa0ed061b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
20140910
- (djm) [sandbox-seccomp-filter.c] Allow mremap and exit for DietLibc;
patch from Felix von Leitner; ok dtucker
20140908
- (dtucker) [INSTALL] Update info about egd. ok djm@

View File

@ -117,6 +117,10 @@ static const struct sock_filter preauth_insns[] = {
#endif
#ifdef __NR_mmap
SC_ALLOW(mmap),
#endif
#ifdef __dietlibc__
SC_ALLOW(mremap),
SC_ALLOW(exit),
#endif
SC_ALLOW(munmap),
SC_ALLOW(exit_group),