feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-05-07 16:19:29 +01:00
parent 4ada6f5879
commit 239d5efe63
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
14 changed files with 22 additions and 46 deletions

View file

@ -38,8 +38,10 @@ profile syncthing @{exec_path} {
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
@{PROC}/sys/net/core/somaxconn r,
@{PROC}/@{pids}/net/route r,
@{PROC}/@{pids}/net/route r,
@{PROC}/sys/net/core/somaxconn r,
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/mountinfo r,
include if exists <local/syncthing>
}

View file

@ -10,13 +10,9 @@ include <tunables/global>
@{exec_path} = @{bin}/xdpyinfo
profile xdpyinfo @{exec_path} {
include <abstractions/base>
include <abstractions/X-strict>
@{exec_path} mr,
owner @{HOME}/.Xauthority r,
# file_inherit
owner @{HOME}/.xsession-errors w,
include if exists <local/xdpyinfo>
}