Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36097 Details for
Bug 58240
ebuilds fail with sandbox violation with NIS installed due to libsandbox bug
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libsandbox patch
patch (text/plain), 598 bytes, created by
Seth Robertson
on 2004-07-24 18:29:15 UTC
(
hide
)
Description:
libsandbox patch
Filename:
MIME Type:
Creator:
Seth Robertson
Created:
2004-07-24 18:29:15 UTC
Size:
598 bytes
patch
obsolete
>--- libsandbox.c.orig 2004-07-24 21:16:18.143792048 -0400 >+++ libsandbox.c 2004-07-24 21:24:48.095338506 -0400 >@@ -1352,8 +1352,9 @@ > static int > before_syscall_open_char(const char *func, const char *file, const char *mode) > { >- if ((strcmp(mode, "r") == 0) || (strcmp(mode, "rb") == 0) >- || (strcmp(mode, "rm") == 0)) { >+ if (*mode == 'r' && ((strcmp(mode, "r") == 0) || >+ /* The strspn accept args are known non-writable modifiers */ >+ (strlen(++mode) == strspn(mode, "xbtmc")))) { > return before_syscall("open_rd", file); > } else { > return before_syscall("open_wr", file);
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 58240
: 36097