diff options
Diffstat (limited to 'straper/db/public/apparmor/apparmor.d/sbuild-shell')
| -rw-r--r-- | straper/db/public/apparmor/apparmor.d/sbuild-shell | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/straper/db/public/apparmor/apparmor.d/sbuild-shell b/straper/db/public/apparmor/apparmor.d/sbuild-shell new file mode 100644 index 0000000..ea1ac27 --- /dev/null +++ b/straper/db/public/apparmor/apparmor.d/sbuild-shell @@ -0,0 +1,17 @@ +# This profile allows everything and only exists to give the +# application a name instead of having the label "unconfined" + +abi <abi/4.0>, +include <tunables/global> + +profile sbuild-shell /usr/bin/sbuild-shell flags=(complain,attach_disconnected mediate_deleted) { + allow all, + + # override default pix + /usr/bin/unshare ix, + + userns, + + # Site-specific additions and overrides. See local/README for details. + include if exists <local/sbuild-shell> +} |
