aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox.c b/sandbox.c
index 8881cbb..0ab50d1 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -354,7 +354,7 @@ static struct sock_filter filter[] = {
SC_ALLOW(oldfstat),
#endif
#ifdef __NR_openat
- SC_ALLOW(openat),
+ SC_ALLOW_ARG(__NR_openat, 3, O_RDONLY),
#endif
#ifdef __NR_prlimit64
SC_ALLOW(prlimit64),