Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-pms@l.g.o
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: [gentoo-pms] [PATCH] Ebuilds may trust the initial working directory.
Date: Fri, 12 Dec 2008 16:07:30
Message-Id: 1229098041-9519-1-git-send-email-ciaran.mccreesh@googlemail.com
See Council meeting on 20081211.
---
 ebuild-functions.tex |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ebuild-functions.tex b/ebuild-functions.tex
index 98e3fd4..2c094b0 100644
--- a/ebuild-functions.tex
+++ b/ebuild-functions.tex
@@ -15,7 +15,9 @@ users.
 
 Some functions may assume that their initial working directory is set to a particular location;
 these are noted below. If no initial working directory is mandated, it may be set to anything and
-the ebuild must not rely upon a particular location for it.
+the ebuild must not rely upon a particular location for it. The ebuild \e{may} assume that the
+initial working directory for any phase is a trusted location that may only be written to by a
+privileged user and group.
 
 The environment for functions run outside of the build sequence (that is, \t{pkg\_config},
 \t{pkg\_info}, \t{pkg\_prerm} and \t{pkg\_postrm}) must be the environment used for the build of the
-- 
1.6.0.4

Replies

Subject Author
[gentoo-pms] [PATCH] Add DEFINED_PHASES. Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>