diff options
author | 2021-02-03 19:44:37 +0000 | |
---|---|---|
committer | 2021-02-03 19:44:37 +0000 | |
commit | e2378b8c6bef5d94805444797e7fe35c07f54783 (patch) | |
tree | 077fb80850c7818b51cfe9e3933ba61f42233088 /security.c | |
parent | scanmacho: add support for dumping UUIDs (diff) | |
download | pax-utils-e2378b8c6bef5d94805444797e7fe35c07f54783.tar.gz pax-utils-e2378b8c6bef5d94805444797e7fe35c07f54783.tar.bz2 pax-utils-e2378b8c6bef5d94805444797e7fe35c07f54783.zip |
security.c: allow faccessat2 syscall in seccomt filters
Under glibc-2.33 sandox uses faccessat2 to stat symlinks.
Reported-by: Cănărău Constantin
Bug: https://bugs.gentoo.org/768435
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'security.c')
-rw-r--r-- | security.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -156,6 +156,7 @@ 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), |