Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184628 Details for
Bug 261320
sys-apps/einit fails to build with _FORTIFY_SOURCE=2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for O_CREAT bug in src/modules/linux/linux-urandom.c
einit_open_mode.patch (text/plain), 403 bytes, created by
Magnus Granberg
on 2009-03-10 22:18:22 UTC
(
hide
)
Description:
fix for O_CREAT bug in src/modules/linux/linux-urandom.c
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2009-03-10 22:18:22 UTC
Size:
403 bytes
patch
obsolete
>--- src/modules/linux/linux-urandom.c 2008-02-25 22:13:55.000000000 +0000 >+++ src/modules/linux/linux-urandom.c 2009-03-10 22:54:50.000000000 +0000 >@@ -59,7 +59,7 @@ > > int from_fd = open(from, O_RDONLY); > if (from_fd) { >- int to_fd = open(to, O_WRONLY | O_CREAT); >+ int to_fd = open(to, O_WRONLY | O_CREAT, 0644); > if (to_fd) { > char buffer[s]; > memset (buffer, 0, s);
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 261320
:
184018
| 184628