mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Update nslookup
This commit is contained in:
parent
864e09e539
commit
ccabf0ad5e
1 changed files with 4 additions and 4 deletions
|
@ -7,18 +7,18 @@ include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = /{,usr/}bin/nslookup
|
@{exec_path} = /{,usr/}bin/nslookup
|
||||||
profile nslookup @{exec_path} {
|
profile nslookup @{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/nslookup>
|
include if exists <local/nslookup>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue