commit:     e6bcbe9913d50e55c6208171778352eee6b6d399
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  3 20:11:49 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Feb  3 20:16:43 2021 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=e6bcbe99

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 <AT> gentoo.org>

 security.c | 1 -
 1 file changed, 1 deletion(-)

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),

Reply via email to