bind-utils

This commit is contained in:
nobodysu 2021-12-12 21:42:24 +03:00
parent 0f50672486
commit c55f19c4eb
3 changed files with 54 additions and 0 deletions

View File

@ -24,5 +24,9 @@ profile dig @{exec_path} {
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>
}

View 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>
}

View 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>
}