bind-utils
This commit is contained in:
parent
0f50672486
commit
c55f19c4eb
3 changed files with 54 additions and 0 deletions
|
|
@ -24,5 +24,9 @@ profile dig @{exec_path} {
|
||||||
|
|
||||||
owner @{HOME}/.digrc r,
|
owner @{HOME}/.digrc r,
|
||||||
|
|
||||||
|
/tmp/batch_mode.dig r,
|
||||||
|
/home/dig/batch_mode.dig r,
|
||||||
|
/home/dig/tsig.key r,
|
||||||
|
|
||||||
include if exists <local/dig>
|
include if exists <local/dig>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
25
apparmor.d/profiles-g-l/host
Normal file
25
apparmor.d/profiles-g-l/host
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{,usr/}bin/host
|
||||||
|
profile host @{exec_path} {
|
||||||
|
@{exec_path} r,
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/openssl>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
owner @{PROC}/@{pid}/task/@{pid}/comm rw,
|
||||||
|
|
||||||
|
# Ubuntu
|
||||||
|
network inet dgram,
|
||||||
|
network inet6 dgram,
|
||||||
|
network inet stream,
|
||||||
|
network inet6 stream,
|
||||||
|
|
||||||
|
include if exists <local/host>
|
||||||
|
}
|
||||||
25
apparmor.d/profiles-m-r/nslookup
Normal file
25
apparmor.d/profiles-m-r/nslookup
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# vim:syntax=apparmor
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{,usr/}bin/nslookup
|
||||||
|
profile nslookup @{exec_path} {
|
||||||
|
@{exec_path} r,
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/openssl>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
owner @{PROC}/@{pid}/task/@{pid}/comm rw,
|
||||||
|
|
||||||
|
# Ubuntu
|
||||||
|
network inet dgram,
|
||||||
|
network inet6 dgram,
|
||||||
|
network inet stream,
|
||||||
|
network inet6 stream,
|
||||||
|
|
||||||
|
include if exists <local/nslookup>
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue