Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 193215 Details for
Bug 138388
[PATCH] Sandbox everything outside of $ROOT
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Messy sandbox implementation
ebuild.sh.patch (text/plain), 820 bytes, created by
Jacob Godserv
on 2009-06-02 02:22:52 UTC
(
hide
)
Description:
Messy sandbox implementation
Filename:
MIME Type:
Creator:
Jacob Godserv
Created:
2009-06-02 02:22:52 UTC
Size:
820 bytes
patch
obsolete
>--- ebuild.sh.bak 2009-06-01 22:13:47.000000000 -0400 >+++ ebuild.sh 2009-06-01 22:19:27.000000000 -0400 >@@ -9,6 +9,11 @@ > export SANDBOX_PREDICT="${SANDBOX_PREDICT:+${SANDBOX_PREDICT}:}/proc/self/maps:/dev/console:/dev/random" > export SANDBOX_WRITE="${SANDBOX_WRITE:+${SANDBOX_WRITE}:}/dev/shm:/dev/stdout:/dev/stderr:${PORTAGE_TMPDIR}" > export SANDBOX_READ="${SANDBOX_READ:+${SANDBOX_READ}:}/:/dev/shm:/dev/stdin:${PORTAGE_TMPDIR}" >+if [ -n "${ROOT}" ] ; then >+ export SANDBOX_WRITE="${SANDBOX_WRITE:+${SANDBOX_WRITE}:}/${ROOT}" >+ export SANDBOX_READ="${SANDBOX_READ:+${SANDBOX_READ}:}/${ROOT}" >+ export SANDBOX_DENY="${SANDBOX_DENY:+${SANDBOX_DENY}:}/" >+fi > # Don't use sandbox's BASH_ENV for new shells because it does > # 'source /etc/profile' which can interfere with the build > # environment by modifying our PATH.
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 138388
: 193215