diff options
author | 2012-08-20 23:04:56 +0300 | |
---|---|---|
committer | 2012-08-21 10:49:57 +0100 | |
commit | 94aa0e289a714887f10f3fdb465a188270273c7f (patch) | |
tree | f92150c2595c8fa7c65a183ee964356a02eda486 | |
parent | f5f8d71ebed1e1b001838a62dcda5100f86634ad (diff) | |
download | paludis-94aa0e289a714887f10f3fdb465a188270273c7f.tar.gz paludis-94aa0e289a714887f10f3fdb465a188270273c7f.tar.xz |
sydbox: add esandbox kill/resume for sydbox-1
-rw-r--r-- | paludis/repositories/e/ebuild/sydbox.bash | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/sydbox.bash b/paludis/repositories/e/ebuild/sydbox.bash index 2c2995527..7628e6510 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" ;; |