feat(profile): general update.
This commit is contained in:
parent
4ada6f5879
commit
239d5efe63
14 changed files with 22 additions and 46 deletions
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue