CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/11/08 00:14:37
Modified files:
usr.sbin/tcpdrop: tcpdrop.c
Log message:
tcpdrop(8) needs to access only two files, in this case /etc/hosts and
/etc/resolv.conf both with read permissions for the purpose of name resolution,
so unveil(2) both files with "r" perms and disable further filesystem access.
While here sort the headers alphabetically.
OK bluhm@
