this breaks xterm on freshly-installed systems: keroppi$ env DISPLAY=:0 xterm xterm: unveil
from ktrace, it looks like it is failing when trying to unveil a nonexistent directory: 93248 xterm NAMI "/home/djm/.cache/fontconfig" 93248 xterm RET unveil -1 errno 2 No such file or directory Maybe it should stat/access the paths first? Or more stuff in skel? On Thu, 2 Sep 2021, Theo de Raadt wrote: > hurray > > Matthieu Herrb <matth...@cvs.openbsd.org> wrote: > > > CVSROOT: /cvs > > Module name: xenocara > > Changes by: matth...@cvs.openbsd.org 2021/09/02 03:31:38 > > > > Modified files: > > app/xterm : main.c > > > > Log message: > > Unveil paths needed by xterm at run-time. work with tb@ and deraadt@ > > > > Only in (default) case where there are no exec-formatted or > > exec-selected resources set. In those case the commands and their > > arguments could be anywhere. > > > >