Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 389792 Details for
Bug 529044
dev-libs/libffi-3.2: opening files w/O_TMPFILE returns EACCES from kernel (loading ctypes module fails with MemoryError)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libffi-EACCES.patch
libffi-EACCES.patch (text/plain), 583 bytes, created by
SpanKY
on 2014-11-19 19:27:02 UTC
(
hide
)
Description:
libffi-EACCES.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2014-11-19 19:27:02 UTC
Size:
583 bytes
patch
obsolete
>diff --git a/src/closures.c b/src/closures.c >index 721ff00..dbae987 100644 >--- a/src/closures.c >+++ b/src/closures.c >@@ -301,7 +301,8 @@ open_temp_exec_file_dir (const char *dir) > #ifdef O_TMPFILE > fd = open (dir, flags | O_RDWR | O_EXCL | O_TMPFILE, 0700); > /* If the running system does not support the O_TMPFILE flag then retry without it. */ >- if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP)) { >+ if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP && >+ errno != EACCES)) { > return fd; > } else { > errno = 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 529044
:
389182
|
389184
|
389724
| 389792