ldomctl.8: split config into new ldom.conf.5

2019-07-26 Thread Klemens Nanni
ldomctl(8) contains the entire format describing logical domain configurations loaded with that tool. This diff entangles control commands and config options by putting the latter into the appropiate manual section. The config options' descriptions stayed the same except where I had to begin or e

Re: unveil prototypes

2019-07-26 Thread Mark Kettenis
> Date: Sat, 27 Jul 2019 00:09:11 +0200 > From: Alexander Bluhm > > Hi, > > Can we move the unveil function prototypes into the namei.h header > file? This guarantees consistency. Protected by _KERNEL, survived > make build. > > ok? Why? If these are internal interfaces for the unveil subsy

unveil prototypes

2019-07-26 Thread Alexander Bluhm
Hi, Can we move the unveil function prototypes into the namei.h header file? This guarantees consistency. Protected by _KERNEL, survived make build. ok? bluhm Index: kern/vfs_lookup.c === RCS file: /data/mirror/openbsd/cvs/src/sy

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

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