aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sandbox
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-08-12 14:37:21 -0400
committerNick Mathewson <nickm@torproject.org>2020-08-12 14:37:21 -0400
commite1514420377b2290dfa52fa65374276a66973131 (patch)
tree51955f9b7378e1b736af78226105ac01e342fc26 /src/lib/sandbox
parent11f1fe3aca08c19ab07d9380c1bd47678c99abc4 (diff)
parent60c436d14d05dcc5e03058a16373c53ff94469c5 (diff)
downloadtor-e1514420377b2290dfa52fa65374276a66973131.tar.gz
tor-e1514420377b2290dfa52fa65374276a66973131.zip
Merge remote-tracking branch 'tor-gitlab/mr/62'
Diffstat (limited to 'src/lib/sandbox')
-rw-r--r--src/lib/sandbox/sandbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
index f01b050d25..8d467c516e 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -204,6 +204,8 @@ static int filter_nopar_gen[] = {
#ifdef __NR__llseek
SCMP_SYS(_llseek),
#endif
+ // glob uses this..
+ SCMP_SYS(lstat),
SCMP_SYS(mkdir),
SCMP_SYS(mlockall),
#ifdef __NR_mmap