mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-20 08:55:34 +01:00
logrotate: add shred
This commit is contained in:
parent
4a76a69632
commit
722ce7f78f
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ profile logrotate @{exec_path} flags=(attach_disconnected, complain) {
|
|||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/cat rix,
|
||||
/{usr/,}bin/grep rix,
|
||||
/{usr/,}bin/shred rix,
|
||||
/{usr/,}bin/kill rix,
|
||||
/{usr/,}bin/ls rix,
|
||||
/{usr/,}bin/gzip rix,
|
||||
|
@ -49,6 +50,7 @@ profile logrotate @{exec_path} flags=(attach_disconnected, complain) {
|
|||
include <abstractions/wutmp>
|
||||
ptrace (read),
|
||||
capability sys_ptrace,
|
||||
# capability net_admin,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
@{PROC}/1/environ r,
|
||||
@{PROC}/1/sched r,
|
||||
|
|
Loading…
Add table
Reference in a new issue