aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ali Polatel <alip@exherbo.org> 2012-10-06 16:40:35 +0300
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-10-13 18:41:27 +0100
commita9492f08e5e5dafe993cca2030b403936c0bc3fd (patch)
treecfd1a1b07b11b49bc6838f9a1ec9c8a28a5c38c8
parentc36d07e90e6303fa2f3153bc3142c149f65a3f41 (diff)
downloadpaludis-a9492f08e5e5dafe993cca2030b403936c0bc3fd.tar.gz
paludis-a9492f08e5e5dafe993cca2030b403936c0bc3fd.tar.xz
sydbox: add esandbox exec for sydbox-1
-rw-r--r--paludis/repositories/e/ebuild/sydbox.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/sydbox.bash b/paludis/repositories/e/ebuild/sydbox.bash
index 7628e65..8279d2f 100644
--- a/paludis/repositories/e/ebuild/sydbox.bash
+++ b/paludis/repositories/e/ebuild/sydbox.bash
@@ -223,6 +223,10 @@ esandbox_1()
[[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
sydbox_internal_net_1 "filter/network" '-' "${@}"
;;
+ exec)
+ [[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
+ [[ -e "$(sydfmt exec -- ${@})" ]]
+ ;;
kill)
[[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
sydbox_internal_path_1 "exec/kill_if_match" "+" "${@}"
@@ -348,7 +352,7 @@ esandbox_0() {
[[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
sydbox_internal_net "rmfilter_net" "${@}"
;;
- kill|resume)
+ exec|kill|resume)
ebuild_notice "warning" "${FUNCNAME} ${cmd} is not implemented for sydbox-0"
;;
*)