mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Update host
This commit is contained in:
parent
ccabf0ad5e
commit
43c509f28b
@ -7,18 +7,18 @@ include <tunables/global>
|
|||||||
|
|
||||||
@{exec_path} = /{,usr/}bin/host
|
@{exec_path} = /{,usr/}bin/host
|
||||||
profile host @{exec_path} {
|
profile host @{exec_path} {
|
||||||
@{exec_path} r,
|
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/openssl>
|
include <abstractions/openssl>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
owner @{PROC}/@{pid}/task/@{pid}/comm rw,
|
|
||||||
|
|
||||||
# Ubuntu
|
|
||||||
network inet dgram,
|
network inet dgram,
|
||||||
network inet6 dgram,
|
network inet6 dgram,
|
||||||
network inet stream,
|
network inet stream,
|
||||||
network inet6 stream,
|
network inet6 stream,
|
||||||
|
|
||||||
|
@{exec_path} r,
|
||||||
|
|
||||||
|
owner @{PROC}/@{pids}/task/@{tid}/comm rw,
|
||||||
|
|
||||||
include if exists <local/host>
|
include if exists <local/host>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user