aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/apparmor/apparmor.d/sbuild-checkpackages
blob: 581e412c2ea9ce5302c3119eb08a8156e9cf06e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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-checkpackages /usr/bin/sbuild-checkpackages 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-checkpackages>
}