Debian Codegraph @

apparmor/usr.bin.airdecap-ng

raw
1 #include <tunables/global>
2
3 /usr/bin/airdecap-ng {
4 #include <abstractions/base>
5 #include <abstractions/private-files-strict>
6
7 # No need to access dot files
8 deny @{HOME}/.** rw,
9
10 # For reading pcap files
11 @{HOME}/** r,
12 /tmp/** r,
13
14 # For writing output files
15 owner @{HOME}/** w,
16 owner /tmp/** w,
17
18 # Needed for ptrace/core dumps
19 /usr/bin/airdecap-ng rm,
20
21 }