Profiles update.
This commit is contained in:
parent
6583a7bfb2
commit
70b4fa665b
18 changed files with 80 additions and 37 deletions
17
apparmor.d/groups/systemd/systemd-escape
Normal file
17
apparmor.d/groups/systemd/systemd-escape
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/systemd-escape
|
||||
profile systemd-escape @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/systemd-common>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/systemd-escape>
|
||||
}
|
||||
|
|
@ -49,16 +49,16 @@ profile systemd-logind @{exec_path} flags=(complain) {
|
|||
@{run}/udev/data/+drm:card[0-9]-* r, # for screen outputs
|
||||
@{run}/udev/data/+backlight:intel_backlight r,
|
||||
|
||||
@{run}/systemd/seats/ r,
|
||||
@{run}/systemd/seats/ rw,
|
||||
@{run}/systemd/seats/.#seat* rw,
|
||||
@{run}/systemd/seats/seat[0-9]* rw,
|
||||
@{run}/systemd/inhibit/ r,
|
||||
@{run}/systemd/inhibit/[0-9]*{,.ref} rw,
|
||||
@{run}/systemd/inhibit/.#* rw,
|
||||
@{run}/systemd/sessions/ r,
|
||||
@{run}/systemd/sessions/ rw,
|
||||
@{run}/systemd/sessions/[0-9]*{,.ref} rw,
|
||||
@{run}/systemd/sessions/.#* rw,
|
||||
@{run}/systemd/users/ r,
|
||||
@{run}/systemd/users/ rw,
|
||||
@{run}/systemd/users/@{uid} rw,
|
||||
@{run}/systemd/users/.#* rw,
|
||||
@{run}/systemd/userdb/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue