projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
874d9a3
)
Add droppriv keyword for the depend phase (last one). (trunk r7387)
author
Zac Medico
<zmedico@gentoo.org>
Tue, 24 Jul 2007 06:58:18 +0000
(06:58 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 24 Jul 2007 06:58:18 +0000
(06:58 -0000)
svn path=/main/branches/2.1.2/; revision=7388
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index ac4371b44213c586f1d42838e7bdaf0db7f44f99..a7ada84e426f38d16f1c76f4735c4b03734eef16 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-3652,7
+3652,7
@@
def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
pr, pw = os.pipe()
fd_pipes = {0:0, 1:1, 2:2, 9:pw}
mypids = spawn(EBUILD_SH_BINARY + " depend", mysettings,
- fd_pipes=fd_pipes, returnpid=True)
+ fd_pipes=fd_pipes, returnpid=True
, droppriv=1
)
os.close(pw) # belongs exclusively to the child process now
maxbytes = 1024
mybytes = []