Debian Codegraph @

debian/apparmor.d/usr.lib.ioquake3.ioq3ded

raw
1 # idTech3 server AppArmor profile
2 # Copyright © 2016-2018 Simon McVittie
3 # Copying and distribution of this file, with or without modification, are
4 # permitted in any medium without royalty provided this notice is preserved.
5 # This file is offered as-is, without any warranty.
6
7 #include <tunables/global>
8
9 profile ioq3ded /usr/lib/ioquake3/ioq3ded flags=(complain) {
10 #include <abstractions/base>
11 #include <abstractions/nameservice>
12 #include <abstractions/private-files-strict>
13
14 network inet dgram,
15 network inet stream,
16 network inet6 dgram,
17 network inet6 stream,
18
19 /etc/{openarena,quake3}-server/** r,
20 /usr/lib/{ioquake3,quake3,openarena,openarena-server}/{,**} mr,
21 /usr/share/games/{quake3*,openarena}/{,**} r,
22
23 owner @{HOME}/.{openarena,q3a}/{,**} rwk,
24 owner /var/games/{openarena,quake3}-server/** rwk,
25
26 # Site-specific additions and overrides. See local/README for details.
27 #include <local/usr.lib.ioquake3.ioq3ded>
28 }