Re: unveil and immuatble directory

2019-07-27 Thread Theo de Raadt
OK as is. ok deraadt Alexander Bluhm wrote: > Hi, > > When setting immutable flags on directories with chflags(1), unveil(2) > behaves poorly. > > # rm /etc/hosts > # chflags uchg /etc > # ifconfig vio0 > ifconfig: unveil: Operation not permitted > > Adding another exception for EPERM fixes

Re: unveil and immuatble directory

2019-07-26 Thread Theo de Raadt
Alexander Bluhm wrote: > When setting immutable flags on directories with chflags(1), unveil(2) > behaves poorly. > > # rm /etc/hosts > # chflags uchg /etc > # ifconfig vio0 > ifconfig: unveil: Operation not permitted > > Adding another exception for EPERM fixes this. > > ok? > > bluhm > >

unveil and immuatble directory

2019-07-26 Thread Alexander Bluhm
Hi, When setting immutable flags on directories with chflags(1), unveil(2) behaves poorly. # rm /etc/hosts # chflags uchg /etc # ifconfig vio0 ifconfig: unveil: Operation not permitted Adding another exception for EPERM fixes this. ok? bluhm Index: kern/vfs_lookup.c