Newer Glibc use faccessat2 to implement faccessat
authorMichael Scherer <misc@redhat.com>
Sat, 15 Aug 2020 16:12:02 +0000 (18:12 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 10:48:24 +0000 (12:48 +0200)
cf https://repo.or.cz/glibc.git/commit/3d3ab573a5f3071992cbc4f57d50d1d29d55bde2

This cause breakage on Fedora Rawhide: https://bugzilla.redhat.com/show_bug.cgi?id=1869030

(cherry picked from commit bcf08acbffdee0d6360d3c31d268e73d0623e5dc)
(cherry picked from commit 0d026c9b0d2fbf62d0a69aa1715ccb4f7c6dc2fe)
(cherry picked from commit 458129fa078ef0128f0cc255293139efbe032417)
(cherry picked from commit da1eb548fbb674d9d11fb6137956fec2b155a066)

src/shared/seccomp-util.c

index 2a4334b784aa2b07af70e80c778fae3613a9045e..2e0ce2f61d0c1a717e99b928daf2284531ab996f 100644 (file)
@@ -401,6 +401,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
                 "close\0"
                 "creat\0"
                 "faccessat\0"
+                "faccessat2\0"
                 "fallocate\0"
                 "fchdir\0"
                 "fchmod\0"