Re: tidy up pledge_ioctl

2015-11-03 Thread Sebastien Marie
On Mon, Nov 02, 2015 at 10:32:40PM -0500, Ted Unangst wrote: > The last argument is always a file, so we can type it instead of using void. > Also, as a safety belt, leave vp null if the file type isn't vnode. OK semarie@ > > Index: kern/kern_pledge.c > ==

tidy up pledge_ioctl

2015-11-02 Thread Ted Unangst
The last argument is always a file, so we can type it instead of using void. Also, as a safety belt, leave vp null if the file type isn't vnode. Index: kern/kern_pledge.c === RCS file: /cvs/src/sys/kern/kern_pledge.c,v retrieving rev