Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 649898 Details for
Bug 730540
sys-apps/file[seccomp]: Bad system call: Need ALLOW_RULE entries for 'writev' and 'statx' on musl libc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for file-5.39 to add ALLOW_RULE entries for 'statx' and 'writev'
file-539-musl-seccomp-bad-syscalls.patch (text/plain), 619 bytes, created by
Joshua Kinard
on 2020-07-19 20:33:07 UTC
(
hide
)
Description:
Patch for file-5.39 to add ALLOW_RULE entries for 'statx' and 'writev'
Filename:
MIME Type:
Creator:
Joshua Kinard
Created:
2020-07-19 20:33:07 UTC
Size:
619 bytes
patch
obsolete
>diff -Naurp file-5.39.orig/src/seccomp.c file-5.39/src/seccomp.c >--- file-5.39.orig/src/seccomp.c 2020-07-19 20:23:05.467391000 +0000 >+++ file-5.39/src/seccomp.c 2020-07-19 20:25:52.505308000 +0000 >@@ -220,12 +220,14 @@ enable_sandbox_full(void) > ALLOW_RULE(rt_sigreturn); > ALLOW_RULE(select); > ALLOW_RULE(stat); >+ ALLOW_RULE(statx); > ALLOW_RULE(stat64); > ALLOW_RULE(sysinfo); > ALLOW_RULE(umask); // Used in file_pipe2file() > ALLOW_RULE(getpid); // Used by glibc in file_pipe2file() > ALLOW_RULE(unlink); > ALLOW_RULE(write); >+ ALLOW_RULE(writev); > > // needed by Gentoo's portage sandbox > ALLOW_RULE(getcwd);
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 730540
: 649898