update apparmor profiles
Signed-off-by: Alexandre Pujol <alexandre@pujol.io>
This commit is contained in:
parent
85e7f58d3c
commit
35a281d045
28 changed files with 147 additions and 38 deletions
|
|
@ -10,6 +10,8 @@ include <tunables/global>
|
|||
profile atftpd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice>
|
||||
# For libwrap (TCP Wrapper) support
|
||||
include <abstractions/hosts_access>
|
||||
|
||||
# to run atftpd daemon as nobody/nogroup
|
||||
capability setgid,
|
||||
|
|
@ -21,8 +23,5 @@ profile atftpd @{exec_path} {
|
|||
/tftpboot/{,**} r,
|
||||
/srv/tftp/{,**} r,
|
||||
|
||||
# for libwrap (TCP Wrapper) support
|
||||
/etc/hosts.{,allow,deny} r,
|
||||
|
||||
include if exists <local/atftpd>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue