diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-12-26 18:57:29 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-12-26 18:57:29 +0000 |
commit | 1590a653b520123d47070a47436abfba42d4c943 (patch) | |
tree | fcfe046f5a3bee929e56c0697a70dced5f45706f /src | |
parent | f209e1df268c3507e6e1b381b4bc5de9593faa5f (diff) | |
download | file-git-1590a653b520123d47070a47436abfba42d4c943.tar.gz |
PR/408: SpraxDev: Add utimes to the allow list for -p
Diffstat (limited to 'src')
-rw-r--r-- | src/seccomp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |