From: Zac Medico Date: Tue, 24 Jul 2007 06:58:18 +0000 (-0000) Subject: Add droppriv keyword for the depend phase (last one). (trunk r7387) X-Git-Tag: v2.1.3~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41e0a60ce4e867284272a40745d3ea9dd88ab073;p=portage.git Add droppriv keyword for the depend phase (last one). (trunk r7387) svn path=/main/branches/2.1.2/; revision=7388 --- 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 = []