feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-09-15 22:01:08 +01:00
parent 1d68b5bbc4
commit 6a78b17d23
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
22 changed files with 62 additions and 35 deletions

View file

@ -18,6 +18,8 @@ profile aa-teardown @{exec_path} {
@{bin}/{,ba,da}sh rix,
@{lib}/apparmor/apparmor.systemd rPx,
/usr/share/terminfo/x/* r,
/dev/tty rw,
include if exists <local/aa-teardown>

View file

@ -41,6 +41,10 @@ profile element @{exec_path} {
@{lib}/element/{,**} r,
@{lib}/element/app.asar.unpacked/node_modules/**.node mr,
@{bin}/xdg-open rPx -> child-open,
@{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open,
@{lib}/gio-launch-desktop rPx -> child-open,
/opt/intel/oneapi/{compiler,lib,mkl}/**/ r,
/opt/intel/oneapi/{compiler,lib,mkl}/**.so* mr,

View file

@ -15,8 +15,6 @@ profile findmnt @{exec_path} flags=(attach_disconnected,complain) {
capability dac_read_search,
unix (receive) type=stream,
@{exec_path} mr,
/etc/fstab r,
@ -26,6 +24,7 @@ profile findmnt @{exec_path} flags=(attach_disconnected,complain) {
# File Inherit
deny /apparmor/.null rw,
deny unix (receive) type=stream,
include if exists <local/findmnt>
}