Re: fuser(1): Fix pledge when `u' flag is used

2016-01-02 Thread Sebastien Marie
On Fri, Jan 01, 2016 at 10:29:08PM -0500, Michael Reed wrote: > Hi, > > `fuser -u -c /' doesn't seem to work for me: > > fuser(28663): syscall 33 "getpw" > > The patch below fixes my issue. The pledge condition was already a bit > long, so I just switched to snprintf(3); not sure what's

Re: fuser(1): Fix pledge when `u' flag is used

2016-01-02 Thread Sebastian Benoit
Michael Reed(m.r...@mykolab.com) on 2016.01.01 22:29:08 -0500: > Hi, > > `fuser -u -c /' doesn't seem to work for me: > > fuser(28663): syscall 33 "getpw" > > The patch below fixes my issue. The pledge condition was already a bit > long, so I just switched to snprintf(3); not sure what's

fuser(1): Fix pledge when `u' flag is used

2016-01-01 Thread Michael Reed
Hi, `fuser -u -c /' doesn't seem to work for me: fuser(28663): syscall 33 "getpw" The patch below fixes my issue. The pledge condition was already a bit long, so I just switched to snprintf(3); not sure what's normally done in such situations. Regards, Michael Index: fstat.c