arm64: savecore reports error on every boot

2019-09-11 Thread Christian Weisgerber
On arm64, the default savecore invocation from /etc/rc results in an error every time, e.g.: bootfile: sd0a:/bsd boot device: sd0 root on sd0a (c8405fa6843cfe97.a) swap on sd0b dump on sd0b ... savecore: can't find device 18/0 The error is different each time: Sep 5 16:41:08 kemoauc s

Re: openat(2) after unveil(2) bug

2019-09-11 Thread Benjamin Baier
On Sun, 8 Sep 2019 16:05:04 -0600 Bob Beck wrote: > Greetings Benjamin! > > Thanks for the well written test case! > > So, the issue here is that unveil wasn't dealing correctly with the case > where > a relative path lookup was started from a directory file descriptor instead of > the curr