Skip to content

Commit

Permalink
AppArmor: silence denial of sys_ptrace capability
Browse files Browse the repository at this point in the history
We already allow ptrace for its relevant subprocesses via ptrace
rules, and I'm unsure if the full capability is really needed. I see
lots of other profiles which have ptrace rules without the capability
so I guess not. And I wonder if allowing the capability allows ptrace
for arbitrary processes, which would be really bad.

So let's assume it's not needed and we'll see what happens.
  • Loading branch information
anonym committed Sep 28, 2023
1 parent b257da0 commit 29e1fe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apparmor/torbrowser.Browser.firefox
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} {
#include <abstractions/opencl>
#include if exists <abstractions/vulkan>

deny capability sys_ptrace,

# Uncomment the following lines if you want to give the Tor Browser read-write
# access to most of your personal files.
# #include <abstractions/user-download>
Expand Down

0 comments on commit 29e1fe4

Please sign in to comment.