/etc/apparmor.d/usr.sbin.haveged is in haveged 1.9.1-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Last Modified: Fri Aug 21 15:23:17 2015
#include <tunables/global>
/usr/sbin/haveged {
#include <abstractions/base>
# Required for ioctl RNDADDENTROPY
capability sys_admin,
owner @{PROC}/@{pid}/status r,
@{PROC}/sys/kernel/osrelease r,
@{PROC}/sys/kernel/random/poolsize r,
@{PROC}/sys/kernel/random/write_wakeup_threshold w,
/dev/random w,
/sys/devices/system/cpu/ r,
/sys/devices/system/cpu/cpu*/cache/ r,
/sys/devices/system/cpu/cpu*/cache/index*/{type,size,level} r,
/usr/sbin/haveged mr,
#include <local/usr.sbin.haveged>
}
|