Skip to content

Commit

Permalink
feat(profile): needrestart improve mqueue rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
roddhjav committed Nov 29, 2024
1 parent 212b8dc commit 969e2db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion apparmor.d/profiles-m-r/needrestart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {

ptrace (read),

mqueue r type=posix /,
mqueue (r,getattr) type=posix /,

@{exec_path} mrix,

Expand Down
4 changes: 0 additions & 4 deletions tests/bats/needrestart.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

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" {
needrestart
}
Expand Down

0 comments on commit 969e2db

Please sign in to comment.