Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 311427 Details for
Bug 415475
sys-apps/sandbox should not unnecessarily call readlink (breaks some testsuites)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Do not resolve paths unnecessarily.
sandbox-2.5-times.patch (text/plain), 497 bytes, created by
Marien Zwart (RETIRED)
on 2012-05-11 13:54:41 UTC
(
hide
)
Description:
Do not resolve paths unnecessarily.
Filename:
MIME Type:
Creator:
Marien Zwart (RETIRED)
Created:
2012-05-11 13:54:41 UTC
Size:
497 bytes
patch
obsolete
>=== modified file 'libsandbox/libsandbox.c' >--- libsandbox/libsandbox.c 2012-05-11 11:46:37 +0000 >+++ libsandbox/libsandbox.c 2012-05-11 13:34:47 +0000 >@@ -948,7 +948,11 @@ > bool access, debug, verbose; > > absolute_path = resolve_path(file, 0); >- resolved_path = resolve_path(file, 1); >+ if (symlink_func(sb_nr, flags, absolute_path)) { >+ resolved_path = xstrdup(absolute_path); >+ } else { >+ resolved_path = resolve_path(file, 1); >+ } > if (!absolute_path || !resolved_path) > goto error; > >
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 Raw
Actions:
View
Attachments on
bug 415475
: 311427