Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 716361 Details for
Bug 789336
=sys-apps/file-5.40-r2[seccomp]: ALLOW_RULE(fstatat64) causes a build failure on musl libc targets
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
seccomp: undef fstatat64 to avoid build failure on musl
0001-seccomp-undef-fstatat64-to-avoid-build-failure-on-mu.patch (text/plain), 723 bytes, created by
Mike Gilbert
on 2021-06-15 20:12:55 UTC
(
hide
)
Description:
seccomp: undef fstatat64 to avoid build failure on musl
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2021-06-15 20:12:55 UTC
Size:
723 bytes
patch
obsolete
>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 >--- > src/seccomp.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/src/seccomp.c b/src/seccomp.c >index 3318367c..eb8b1e57 100644 >--- 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); >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 789336
:
707226
| 716361 |
716373
|
717741
|
717747