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
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
>
> I
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
==