projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0000984
)
Add droppriv keyword for the depend phase (last one).
author
Zac Medico
<zmedico@gentoo.org>
Tue, 24 Jul 2007 06:57:51 +0000
(06:57 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 24 Jul 2007 06:57:51 +0000
(06:57 -0000)
svn path=/main/trunk/; revision=7387
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 4efc04f5b8b2aa94f0b954d4f282375ed410795d..4dcbec1eb9a2c00f97e9938736bde433afaa1ade 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-3763,7
+3763,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 = []