Merge pull request #14 from nobodysu/patch-5

Update nmap
This commit is contained in:
Alex 2022-01-15 19:29:31 +01:00 committed by GitHub
commit c1acae8ec2
Failed to generate hash of commit

View file

@ -20,6 +20,8 @@ profile nmap @{exec_path} {
network inet dgram, network inet dgram,
network inet6 dgram, network inet6 dgram,
network inet stream,
network inet6 stream,
network inet raw, network inet raw,
network inet6 raw, network inet6 raw,
network netlink raw, network netlink raw,
@ -29,6 +31,14 @@ profile nmap @{exec_path} {
owner @{PROC}/@{pid}/net/dev r, owner @{PROC}/@{pid}/net/dev r,
owner @{PROC}/@{pid}/net/if_inet6 r, owner @{PROC}/@{pid}/net/if_inet6 r,
owner @{PROC}/@{pid}/net/route r,
owner @{PROC}/@{pid}/net/ipv6_route r,
# unprivileged
# @{PROC}/@{pid}/net/dev r,
# @{PROC}/@{pid}/net/if_inet6 r,
# @{PROC}/@{pid}/net/route r,
# @{PROC}/@{pid}/net/ipv6_route r,
/usr/share/nmap/** r, /usr/share/nmap/** r,