From ccabf0ad5eee6cac1156e4986139f5c737dbc95e Mon Sep 17 00:00:00 2001 From: nobodysu Date: Sat, 15 Jan 2022 23:14:32 +0000 Subject: [PATCH] Update nslookup --- apparmor.d/profiles-m-r/nslookup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apparmor.d/profiles-m-r/nslookup b/apparmor.d/profiles-m-r/nslookup index 59563e3b..71aa765f 100644 --- a/apparmor.d/profiles-m-r/nslookup +++ b/apparmor.d/profiles-m-r/nslookup @@ -7,18 +7,18 @@ include @{exec_path} = /{,usr/}bin/nslookup profile nslookup @{exec_path} { - @{exec_path} r, include include include - owner @{PROC}/@{pid}/task/@{pid}/comm rw, - - # Ubuntu network inet dgram, network inet6 dgram, network inet stream, network inet6 stream, + @{exec_path} r, + + owner @{PROC}/@{pids}/task/@{tid}/comm rw, + include if exists }