From 1590a653b520123d47070a47436abfba42d4c943 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Mon, 26 Dec 2022 18:57:29 +0000 Subject: PR/408: SpraxDev: Add utimes to the allow list for -p --- src/seccomp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/seccomp.c b/src/seccomp.c index 70d9b104..87d4c49e 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.24 2022/09/24 20:30:13 christos Exp $") +FILE_RCSID("@(#)$File: seccomp.c,v 1.25 2022/12/26 18:57:29 christos Exp $") #endif /* lint */ #if HAVE_LIBSECCOMP @@ -233,6 +233,7 @@ enable_sandbox_full(void) ALLOW_RULE(umask); // Used in file_pipe2file() ALLOW_RULE(getpid); // Used by glibc in file_pipe2file() ALLOW_RULE(unlink); + ALLOW_RULE(utimes); ALLOW_RULE(write); ALLOW_RULE(writev); -- cgit v1.2.1