aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.c
diff options
context:
space:
mode:
authorDaniel Pinto <danielpinto52@gmail.com>2017-08-30 18:20:07 +0100
committerDaniel Pinto <danielpinto52@gmail.com>2017-08-30 18:20:07 +0100
commit23147dd168d533e98a711c4dc5142d78f60986c8 (patch)
tree6253bb8396b8a3fa4948480e7600800e85927cab /src/common/sandbox.c
parent6069c829f90576c04a0802d2a108378a2bbabb7a (diff)
downloadtor-23147dd168d533e98a711c4dc5142d78f60986c8.tar.gz
tor-23147dd168d533e98a711c4dc5142d78f60986c8.zip
Adds files included by torrc and defaults to sandbox filter #22605
Diffstat (limited to 'src/common/sandbox.c')
-rw-r--r--src/common/sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 5063717355..f77550b90d 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -151,6 +151,7 @@ static int filter_nopar_gen[] = {
SCMP_SYS(fstat64),
#endif
SCMP_SYS(futex),
+ SCMP_SYS(getdents),
SCMP_SYS(getdents64),
SCMP_SYS(getegid),
#ifdef __NR_getegid32