feat(profile): improve opensuse integration.

See #208
This commit is contained in:
Alexandre Pujol 2023-10-20 23:50:26 +01:00
parent 4276ede03c
commit aa7fe16a20
Failed to generate hash of commit
5 changed files with 7 additions and 2 deletions

View file

@ -35,8 +35,9 @@ profile dolphin @{exec_path} {
/usr/share/mime/ r, /usr/share/mime/ r,
/etc/fstab r, /etc/fstab r,
/etc/xdg/arkrc r,
/etc/machine-id r, /etc/machine-id r,
/etc/xdg/arkrc r,
/etc/xdg/dolphinrc r,
# Full access to user's data # Full access to user's data
/ r, / r,

View file

@ -39,6 +39,7 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
ptrace (read) peer=akonadi*, ptrace (read) peer=akonadi*,
ptrace (read) peer=kalendarac, ptrace (read) peer=kalendarac,
ptrace (read) peer=kded5, ptrace (read) peer=kded5,
ptrace (read) peer=kwin_x11,
ptrace (read) peer=libreoffice*, ptrace (read) peer=libreoffice*,
ptrace (read) peer=pinentry-qt, ptrace (read) peer=pinentry-qt,

View file

@ -24,7 +24,7 @@ profile aa-enforce @{exec_path} {
/etc/apparmor/logprof.conf r, /etc/apparmor/logprof.conf r,
/etc/apparmor.d/{,**} rw, /etc/apparmor.d/{,**} rw,
/etc/inputrc r, @{etc_ro}/inputrc r,
owner /snap/core@{int}/@{int}/etc/apparmor.d/{,**} rw, owner /snap/core@{int}/@{int}/etc/apparmor.d/{,**} rw,
owner /var/lib/snapd/apparmor/{,**} rw, owner /var/lib/snapd/apparmor/{,**} rw,

View file

@ -80,6 +80,7 @@ profile git @{exec_path} {
/usr/share/git{,-core}/{,**} r, /usr/share/git{,-core}/{,**} r,
/usr/share/terminfo/x/xterm-256color r, /usr/share/terminfo/x/xterm-256color r,
/etc/gitconfig r,
/etc/mailname r, /etc/mailname r,
owner @{user_projects_dirs}/ rw, owner @{user_projects_dirs}/ rw,

View file

@ -13,6 +13,8 @@ profile host @{exec_path} {
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/openssl> include <abstractions/openssl>
capability ipc_lock,
network inet dgram, network inet dgram,
network inet6 dgram, network inet6 dgram,
network inet stream, network inet stream,