Re: pledge pstat

2016-04-13 Thread Rob Pierce
On Tue, Apr 12, 2016 at 04:25:01PM -0400, Rob Pierce wrote: > Hoist sysct and kvm calls, and pledge stdio, rpath, vminfo. > > Rob Update diff based on comments from tb@: Changes include the following: - kd is a pointer, so compare with NULL (not 0). - simply nlistf/memf condition statment in

Re: pledge pstat

2016-04-13 Thread Rob Pierce
From: "Mike Belopuhov" To: "Rob Pierce" Cc: "tech" Sent: Tuesday, April 12, 2016 6:05:19 PM Subject: Re: pledge pstat BQ_BEGIN On 12 April 2016 at 22:25, Rob Pierce wrote: > Hoist sysct and kvm calls, and pledge stdio, rpath, vminfo. > > R

Re: pledge pstat

2016-04-12 Thread Mike Belopuhov
On 12 April 2016 at 22:25, Rob Pierce wrote: > Hoist sysct and kvm calls, and pledge stdio, rpath, vminfo. > > Rob > Please make sure that "pstat -d" still works. It's about the most useful thing it can do.

pledge pstat

2016-04-12 Thread Rob Pierce
Hoist sysct and kvm calls, and pledge stdio, rpath, vminfo. Rob Index: pstat.c === RCS file: /cvs/src/usr.sbin/pstat/pstat.c,v retrieving revision 1.102 diff -u -p -r1.102 pstat.c --- pstat.c 12 Apr 2016 16:53:42 - 1.102