diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-01 20:22:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-01 20:22:33 +0000 |
commit | 5b7c114c09d07eecd00e6f7fb829563aae3597b9 (patch) | |
tree | db84e97d92f22634a22ce461f4ca00a294a21b24 /sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch | |
parent | ad1d34add08caaf8d68c79e40f0a61c733fd68b8 (diff) |
gentoo auto-resync : 01:01:2023 - 20:22:32
Diffstat (limited to 'sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch')
-rw-r--r-- | sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch b/sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch deleted file mode 100644 index 28a278e73f07..000000000000 --- a/sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 8c13923a8e17a02be0989649b2edc20124816729 Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <floppym@gentoo.org> -Date: Tue, 15 Jun 2021 16:08:22 -0400 -Subject: [PATCH] seccomp: undef fstatat64 to avoid build failure on musl - -sys/stat.h in musl does this: - - #define fstatat64 fstatat - -Counteract this with an #undef. - -Bug: https://bugs.gentoo.org/789336 ---- a/src/seccomp.c -+++ b/src/seccomp.c -@@ -179,6 +179,7 @@ enable_sandbox_full(void) - ALLOW_RULE(fstat); - ALLOW_RULE(fstat64); - #ifdef __NR_fstatat64 -+#undef fstatat64 - ALLOW_RULE(fstatat64); - #endif - ALLOW_RULE(futex); |