On Tue, Oct 11, 2016 at 11:40:10PM -0400, David Hill wrote: > Hello - > > netstat -P now requires kern.allowkmem to be set.
OK bluhm@ > > Index: netstat.1 > =================================================================== > RCS file: /cvs/src/usr.bin/netstat/netstat.1,v > retrieving revision 1.79 > diff -u -p -r1.79 netstat.1 > --- netstat.1 1 Sep 2016 14:20:13 -0000 1.79 > +++ netstat.1 12 Oct 2016 03:37:53 -0000 > @@ -234,6 +234,14 @@ option, also print socket, domain and pr > Only the super-user can use the > .Fl P > option. > +.Pp > +The > +.Fl P > +option requires the ability to open > +.Pa /dev/kmem > +which may be restricted based upon the value of the > +.Ar kern.allowkmem > +.Xr sysctl 8 . > .It Fl p Ar protocol > Restrict the output to > .Ar protocol ,