Change the error reporting pattern throughout the tree when unveil
authorbeck <beck@openbsd.org>
Mon, 12 Jul 2021 15:09:18 +0000 (15:09 +0000)
committerbeck <beck@openbsd.org>
Mon, 12 Jul 2021 15:09:18 +0000 (15:09 +0000)
commitbc5a8259a456844c67e446bf6bd66575acc64837
tree5af4be079e413b9eb9b66c2b007b24545870b219
parent80a0aabaf5c68fc096c4e1cafc26b0d54aab9862
Change the error reporting pattern throughout the tree when unveil
fails to report the path that the failure occured on. Suggested by
deraadt@ after some tech discussion.

Work done and verified by Ashton Fagg <ashton@fagg.id.au>

ok deraadt@ semarie@ claudio@
80 files changed:
bin/ps/ps.c
games/tetris/tetris.c
libexec/comsat/comsat.c
libexec/fingerd/fingerd.c
libexec/lockspool/lockspool.c
libexec/spamlogd/spamlogd.c
regress/sbin/ifconfig/ifaddr.c
regress/usr.bin/lastcomm/unveil.c
sbin/dhclient/dhclient.c
sbin/dhcpleased/dhcpleased.c
sbin/dhcpleased/engine.c
sbin/dhcpleased/frontend.c
sbin/fsck/fsck.c
sbin/fsck_ffs/setup.c
sbin/fsck_msdos/check.c
sbin/ifconfig/ifconfig.c
sbin/nologin/nologin.c
sbin/pflogd/privsep.c
sbin/ping/ping.c
sbin/shutdown/shutdown.c
sbin/slaacd/engine.c
sbin/slaacd/frontend.c
sbin/sysctl/sysctl.c
sbin/unwind/resolver.c
usr.bin/audioctl/audioctl.c
usr.bin/biff/biff.c
usr.bin/chpass/chpass.c
usr.bin/ctfconv/ctfconv.c
usr.bin/doas/doas.c
usr.bin/encrypt/encrypt.c
usr.bin/from/from.c
usr.bin/getconf/getconf.c
usr.bin/getent/getent.c
usr.bin/htpasswd/htpasswd.c
usr.bin/kdump/kdump.c
usr.bin/last/last.c
usr.bin/look/look.c
usr.bin/mesg/mesg.c
usr.bin/mixerctl/mixerctl.c
usr.bin/nc/netcat.c
usr.bin/passwd/local_passwd.c
usr.bin/sdiff/sdiff.c
usr.bin/sndiod/sndiod.c
usr.bin/su/su.c
usr.bin/systat/main.c
usr.bin/tcpbench/tcpbench.c
usr.bin/tty/tty.c
usr.bin/users/users.c
usr.bin/vmstat/vmstat.c
usr.bin/wall/wall.c
usr.bin/who/who.c
usr.sbin/acme-client/chngproc.c
usr.sbin/acme-client/fileproc.c
usr.sbin/acme-client/netproc.c
usr.sbin/acpidump/acpidump.c
usr.sbin/apmd/apmd.c
usr.sbin/dev_mkdb/dev_mkdb.c
usr.sbin/dhcpd/pfutils.c
usr.sbin/hotplugd/hotplugd.c
usr.sbin/ifstated/ifstated.c
usr.sbin/iostat/iostat.c
usr.sbin/kvm_mkdb/kvm_mkdb.c
usr.sbin/ldapd/ldapd.c
usr.sbin/makefs/cd9660.c
usr.sbin/makefs/cd9660/cd9660_eltorito.c
usr.sbin/makefs/makefs.c
usr.sbin/ntpd/ntpd.c
usr.sbin/ocspcheck/ocspcheck.c
usr.sbin/pcidump/pcidump.c
usr.sbin/pstat/pstat.c
usr.sbin/relayd/relayd.c
usr.sbin/sensorsd/sensorsd.c
usr.sbin/syslogd/privsep.c
usr.sbin/tcpdrop/tcpdrop.c
usr.sbin/tcpdump/privsep.c
usr.sbin/traceroute/traceroute.c
usr.sbin/unbound/smallapp/unbound-anchor.c
usr.sbin/usbdevs/usbdevs.c
usr.sbin/vipw/vipw.c
usr.sbin/vmctl/main.c