aboutsummaryrefslogtreecommitdiffstats
path: root/etc/apparmor/firejail-base
blob: 6e286d4af56b7cd3aede304e9cdb6e3afaa89858 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#########################################
# Firejail base abstraction drop-in
#
# Adds basic Firejail support to AppArmor profiles.
# Please note: Firejail's nonewprivs and seccomp options
# are not compatible with AppArmor profile transitions.
# Also there is no support for Firejail chroot options.
#########################################

# Discovery of process names
owner /proc/@{pid}/comm r,

##########
# Following paths only exist inside a Firejail sandbox
##########

# Library preloading
/{,var/}run/firejail/lib/*.so mr,

# Supporting seccomp
owner /{,var/}run/firejail/mnt/seccomp/seccomp.postexec r,

# Supporting trace
owner /{,var/}run/firejail/mnt/trace w,

# Supporting tracelog
/{,var/}run/firejail/mnt/fslogger r,