aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ali Polatel <alip@exherbo.org> 2012-08-20 23:04:56 +0300
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-08-21 10:49:57 +0100
commit94aa0e289a714887f10f3fdb465a188270273c7f (patch)
treef92150c2595c8fa7c65a183ee964356a02eda486
parentf5f8d71ebed1e1b001838a62dcda5100f86634ad (diff)
downloadpaludis-94aa0e289a714887f10f3fdb465a188270273c7f.tar.gz
paludis-94aa0e289a714887f10f3fdb465a188270273c7f.tar.xz
sydbox: add esandbox kill/resume for sydbox-1
-rw-r--r--paludis/repositories/e/ebuild/sydbox.bash11
1 files changed, 11 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/sydbox.bash b/paludis/repositories/e/ebuild/sydbox.bash
index 2c29955..7628e65 100644
--- a/paludis/repositories/e/ebuild/sydbox.bash
+++ b/paludis/repositories/e/ebuild/sydbox.bash
@@ -223,6 +223,14 @@ esandbox_1()
[[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
sydbox_internal_net_1 "filter/network" '-' "${@}"
;;
+ kill)
+ [[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
+ sydbox_internal_path_1 "exec/kill_if_match" "+" "${@}"
+ ;;
+ resume)
+ [[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
+ sydbox_internal_path_1 "exec/resume_if_match" "+" "${@}"
+ ;;
hack_toolong|nohack_toolong)
ebuild_notice "warning" "${FUNCNAME} ${cmd} is not implemented for sydbox-1"
false;;
@@ -340,6 +348,9 @@ esandbox_0() {
[[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
sydbox_internal_net "rmfilter_net" "${@}"
;;
+ kill|resume)
+ ebuild_notice "warning" "${FUNCNAME} ${cmd} is not implemented for sydbox-0"
+ ;;
*)
die "${FUNCNAME} subcommand ${cmd} unrecognised"
;;