CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/08/16 10:00:30
Modified files:
usr.bin/rpcinfo: rpcinfo.c
Log message:
Add pledge & unveil.
The rpc library needs read access to the rpc database in
/etc/rpc. Other than that rpcinfo only uses AF_INET sockets.
With -b, rpcinfo(8) uses gethostbyaddr(3) to report hosts that
responded, so add "dns" pledge as well.
OK bluhm, miod
