diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-24 06:58:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-24 06:58:18 +0000 |
commit | 41e0a60ce4e867284272a40745d3ea9dd88ab073 (patch) | |
tree | b69cd41632e4d1fe5a956a1af778401db535a81d /pym | |
parent | 874d9a333f9b57406507c84aa91b2ec90750335c (diff) | |
download | portage-41e0a60ce4e867284272a40745d3ea9dd88ab073.tar.gz portage-41e0a60ce4e867284272a40745d3ea9dd88ab073.tar.bz2 portage-41e0a60ce4e867284272a40745d3ea9dd88ab073.zip |
Add droppriv keyword for the depend phase (last one). (trunk r7387)
svn path=/main/branches/2.1.2/; revision=7388
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index ac4371b44..a7ada84e4 100644 --- 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 = [] |