Skip to content

Commit

Permalink
Fixed an AppArmor profile denial issue with ptrace and signals (#5317)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrysoliteAzalea authored Aug 18, 2022
1 parent 5ab4aeb commit 9109f60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/apparmor/firejail-default
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ owner /{,var/}run/firejail/dbus/[0-9]*/[0-9]*-user w,
#ptrace,
# Allow obtaining some process information, but not ptrace(2)
ptrace (read,readby) peer=@{profile_name},
ptrace (read,readby) peer=@{profile_name}//&unconfined,

##########
# Allow read access to whole filesystem and control it from firejail.
Expand Down Expand Up @@ -123,6 +124,7 @@ network packet,
##########
# There is no equivalent in Firejail for filtering signals.
##########
signal (send) peer=@{profile_name}//&unconfined,
signal (send) peer=@{profile_name},
signal (receive),

Expand Down

0 comments on commit 9109f60

Please sign in to comment.