mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
Add aa-status.
This commit is contained in:
parent
1990607838
commit
cb6344c64f
1 changed files with 28 additions and 0 deletions
28
apparmor.d/profiles-a-l/aa-status
Normal file
28
apparmor.d/profiles-a-l/aa-status
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# 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/aa-status
|
||||||
|
profile aa-status @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
capability dac_read_search,
|
||||||
|
capability sys_ptrace,
|
||||||
|
|
||||||
|
ptrace (read),
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{sys}/kernel/security/apparmor/profiles r,
|
||||||
|
@{sys}/module/apparmor/parameters/enabled r,
|
||||||
|
|
||||||
|
@{PROC}/ r,
|
||||||
|
@{PROC}/@{pids}/attr/apparmor/current r,
|
||||||
|
owner @{PROC}/@{pid}/mounts r,
|
||||||
|
|
||||||
|
include if exists <local/aa-status>
|
||||||
|
}
|
Loading…
Reference in a new issue