aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sandbox.c b/sandbox.c
index 43f210d..2b5e9e0 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -344,6 +344,9 @@ static struct sock_filter filter[] = {
#ifdef __NR_newfstatat
SC_ALLOW(newfstatat),
#endif
+#ifdef __NR_fstatat64
+ SC_ALLOW(fstatat64),
+#endif
#ifdef __NR_oldfstat
SC_ALLOW(oldfstat),
#endif
@@ -383,6 +386,12 @@ static struct sock_filter filter[] = {
#ifdef __NR_writev
SC_ALLOW(writev),
#endif
+#ifdef __NR__llseek
+ SC_ALLOW(_llseek),
+#endif
+#ifdef __NR_sigreturn
+ SC_ALLOW(sigreturn),
+#endif
/* disallow everything else */
BPF_STMT(BPF_RET | BPF_K, SC_FAIL),