aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-02-03 20:11:49 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-02-03 20:16:43 +0000
commite6bcbe9913d50e55c6208171778352eee6b6d399 (patch)
tree3deb231c5c028303b774bd08c552d66639569fc7 /security.c
parentsecurity.c: allow faccessat2 syscall in seccomt filters (diff)
downloadpax-utils-e6bcbe9913d50e55c6208171778352eee6b6d399.tar.gz
pax-utils-e6bcbe9913d50e55c6208171778352eee6b6d399.tar.bz2
pax-utils-e6bcbe9913d50e55c6208171778352eee6b6d399.zip
Revert "security.c: allow faccessat2 syscall in seccomt filters"
libseccomp does not yet provide faccessat2. I tested the commit without seccomp enabled. This reverts commit e2378b8c6bef5d94805444797e7fe35c07f54783. Bug: https://bugs.gentoo.org/768435 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'security.c')
-rw-r--r--security.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security.c b/security.c
index 8315023..ab8a499 100644
--- a/security.c
+++ b/security.c
@@ -156,7 +156,6 @@ static void pax_seccomp_init(bool allow_forking)
SCMP_SYS(readlink),
SCMP_SYS(readlinkat),
SCMP_SYS(getcwd),
- SCMP_SYS(faccessat2),
/* Syscalls listed because of fakeroot. */
SCMP_SYS(msgget),