summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sandbox-seccomp-filter.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c9dc50f6..5a5136b2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120140910
2 - (djm) [sandbox-seccomp-filter.c] Allow mremap and exit for DietLibc;
3 patch from Felix von Leitner; ok dtucker
4
120140908 520140908
2 - (dtucker) [INSTALL] Update info about egd. ok djm@ 6 - (dtucker) [INSTALL] Update info about egd. ok djm@
3 7
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index c2be00696..b6f6258f2 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -118,6 +118,10 @@ static const struct sock_filter preauth_insns[] = {
118#ifdef __NR_mmap 118#ifdef __NR_mmap
119 SC_ALLOW(mmap), 119 SC_ALLOW(mmap),
120#endif 120#endif
121#ifdef __dietlibc__
122 SC_ALLOW(mremap),
123 SC_ALLOW(exit),
124#endif
121 SC_ALLOW(munmap), 125 SC_ALLOW(munmap),
122 SC_ALLOW(exit_group), 126 SC_ALLOW(exit_group),
123#ifdef __NR_rt_sigprocmask 127#ifdef __NR_rt_sigprocmask