Skip to content

Commit

Permalink
Add bwrap-apparmor-rule file
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkCaster committed Aug 22, 2024
1 parent c5e6a67 commit 420035d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions bwrap-apparmor-rule
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# optional apparmor rule for bwrap, if having problems with it. probably, overkill.
# may require additional editing for your system.
# seem to be working fine with ubuntu 24.04, install it to /etc/apparmor.d/bwrap

abi <abi/4.0>,
include <tunables/global>

profile bwrap /usr/bin/bwrap flags=(complain,attach_disconnected) {
# Allow all rules
capability,
network,
mount,
remount,
umount,
pivot_root,
ptrace,
signal,
dbus,
unix,
file,
}

0 comments on commit 420035d

Please sign in to comment.