From 34fa2c4d0d8117b75c5c52a7c825486eb0284ae0 Mon Sep 17 00:00:00 2001 From: Daniel Pinto Date: Wed, 3 Jun 2020 22:09:42 +0100 Subject: Add support for patterns on %include #25140 Also adds generic tor_glob function to expand globs. --- src/lib/sandbox/sandbox.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/sandbox/sandbox.c') diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c index 820e4fd1a5..81240bcfdb 100644 --- a/src/lib/sandbox/sandbox.c +++ b/src/lib/sandbox/sandbox.c @@ -200,6 +200,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 -- cgit v1.2.3-54-g00ecf