]> granicus.if.org Git - file/commitdiff
Add umask(2) (from Shankara Pailoor)
authorChristos Zoulas <christos@zoulas.com>
Wed, 3 Jul 2019 15:33:20 +0000 (15:33 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 3 Jul 2019 15:33:20 +0000 (15:33 +0000)
src/seccomp.c

index bcf17aa7a038ab1fffc35eeabb2d8ec1e068b57d..54f9be46485197502dd89a776dc70f22c80a1223 100644 (file)
@@ -27,7 +27,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: seccomp.c,v 1.9 2019/06/21 16:44:23 christos Exp $")
+FILE_RCSID("@(#)$File: seccomp.c,v 1.10 2019/07/03 15:33:20 christos Exp $")
 #endif /* lint */
 
 #if HAVE_LIBSECCOMP
@@ -211,6 +211,7 @@ enable_sandbox_full(void)
        ALLOW_RULE(stat);
        ALLOW_RULE(stat64);
        ALLOW_RULE(sysinfo);
+       ALLOW_RULE(umask);      // Used in file_pipe2file()
        ALLOW_RULE(unlink);
        ALLOW_RULE(write);