From 41e0a60ce4e867284272a40745d3ea9dd88ab073 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 24 Jul 2007 06:58:18 +0000 Subject: [PATCH] Add droppriv keyword for the depend phase (last one). (trunk r7387) svn path=/main/branches/2.1.2/; revision=7388 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.26.2