From: Zac Medico Date: Tue, 24 Jul 2007 06:57:51 +0000 (-0000) Subject: Add droppriv keyword for the depend phase (last one). X-Git-Tag: v2.2_pre1~945 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0e21c0a9f5fedfba1f38a449a6443e3b5733ecc0;p=portage.git Add droppriv keyword for the depend phase (last one). svn path=/main/trunk/; revision=7387 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 4efc04f5b..4dcbec1eb 100644 --- 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 = []