mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Add the systemd-tty-ask-password-agent profile.
This commit is contained in:
parent
a8a1f3b29a
commit
f7e0824826
21
apparmor.d/groups/systemd/systemd-tty-ask-password-agent
Normal file
21
apparmor.d/groups/systemd/systemd-tty-ask-password-agent
Normal file
@ -0,0 +1,21 @@
|
||||
# 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-tty-ask-password-agent
|
||||
profile systemd-tty-ask-password-agent @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{run}/systemd/ask-password-block/{,*} rw,
|
||||
@{run}/systemd/ask-password/ r,
|
||||
|
||||
@{PROC}/@{pids}/stat r,
|
||||
|
||||
include if exists <local/systemd-tty-ask-password-agent>
|
||||
}
|
Loading…
Reference in New Issue
Block a user