aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ali Polatel <polatel@gmail.com> 2009-09-02 00:59:21 +0300
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-01 23:01:27 +0100
commitadf5b65e6a5b2d2a66b80cd1a45cc4ff895e3986 (patch)
treea13f69cbb6297f5f17f01fe3585e68351c20181b
parentc94a500a0b3e98e2d75bdfe667fe85949a1f8c27 (diff)
downloadpaludis-adf5b65e6a5b2d2a66b80cd1a45cc4ff895e3986.tar.gz
paludis-adf5b65e6a5b2d2a66b80cd1a45cc4ff895e3986.tar.xz
Add locked_pipe_command to allowed exec prefixes
Signed-off-by: Ali Polatel <polatel@gmail.com>
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 81e4bf3..ef49489 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -562,6 +562,7 @@ ebuild_main()
fi
for f in locked_pipe_command ; do
eval "${f}() { $(type -P ${f} ) \"\$@\" ; }"
+ sydboxcmd addexec "$(type -P ${f})"
done
PATH="" ebuild_load_ebuild "${EBUILD}"
# Unban execve() calls if we're running under sydbox