mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 06:27:49 +01:00
feat(profile): needrestart improve mqueue rule.
This commit is contained in:
parent
212b8dcf54
commit
969e2dbbec
2 changed files with 1 additions and 5 deletions
|
@ -22,7 +22,7 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
ptrace (read),
|
ptrace (read),
|
||||||
|
|
||||||
mqueue r type=posix /,
|
mqueue (r,getattr) type=posix /,
|
||||||
|
|
||||||
@{exec_path} mrix,
|
@{exec_path} mrix,
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,6 @@
|
||||||
|
|
||||||
load common
|
load common
|
||||||
|
|
||||||
setup_file() {
|
|
||||||
skip "mqueue raised despite the rule being present. See https://gitlab.com/apparmor/apparmor/-/issues/362"
|
|
||||||
}
|
|
||||||
|
|
||||||
@test "needrestart: List outdated processes" {
|
@test "needrestart: List outdated processes" {
|
||||||
needrestart
|
needrestart
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue