feat(profiles): use /etc read only variable: etc_ro

This commit is contained in:
Alexandre Pujol 2023-02-04 23:34:29 +00:00
parent 6e56cfccc9
commit bac87f9547
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
19 changed files with 33 additions and 32 deletions

View file

@ -61,9 +61,9 @@ profile pkexec @{exec_path} flags=(complain) {
@{libexec}/cc-remote-login-helper rPx,
/etc/shells r,
/etc/environment r,
@{etc_ro}/environment r,
/etc/default/locale r,
/etc/security/limits.d/{,*} r,
@{etc_ro}/security/limits.d/{,*} r,
@{PROC}/@{pids}/stat r,
owner @{PROC}/@{pid}/fd/ r,