CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/01/06 12:39:58
Modified files:
usr.bin/nc : netcat.c
Log message:
The unveil(2) for nc -U -u -l was wrong. The server cannot unveil
the file system as it has to connect to the UNIX domain client
socket. The path of the latter is determined dynamically. Instead
add a restrictive pledge(2) after connect(2).
OK tb@
