From: Christos Zoulas Date: Wed, 3 Jul 2019 15:33:20 +0000 (+0000) Subject: Add umask(2) (from Shankara Pailoor) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c6390a4b6e57ac61af2544b8c3e9e9a26391b24;p=file Add umask(2) (from Shankara Pailoor) --- diff --git a/src/seccomp.c b/src/seccomp.c index bcf17aa7..54f9be46 100644 --- a/src/seccomp.c +++ b/src/seccomp.c @@ -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);