Skip to content

Commit

Permalink
Improved default apparmor profile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishamm committed Jan 28, 2025
1 parent a3c2ce8 commit 31e82a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/common/duetpluginservice/opt/dsf/conf/apparmor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
#include <abstractions/user-tmp>
{includes}

/usr/bin/python{2.[4-7],3.[0-9]+} ix,
/dev/tty rw,
/etc/ssl/** r,
/usr/bin/python{2.[4-7],3,3.[0-9]+} rix,
/usr/local/lib{,32,64}/python{2.[4-7],3,3.[0-9]}/{site,dist}-packages/** r,
/opt/vc/lib/** rm,
/etc/ssl/** r,

capability dac_override,
capability dac_read_search,
Expand Down

0 comments on commit 31e82a2

Please sign in to comment.