summaryrefslogtreecommitdiff
path: root/usr.bin/write
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2022-09-19 15:36:21 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2022-09-19 15:36:21 +0000
commit6272d7d7400c54c5a3d093ccdccde882c0af5bb3 (patch)
tree7281695de327d815b9d0ffe12b44f7aa306236cb /usr.bin/write
parent5311b86aa619a627b05720b3ec5ca828e10c9d34 (diff)
When setting time, date(1) pledges "wpath" for logwtmp(3). Restrict
this using unveil(2), but ignore errors if /var/log doesn't exist. We want to be able to set the time if the system is damanged or /var is not mounted yet. We also need to unveil everything for reading since we still allow arbitrary locations of zone info files. Hopefully that will go away soon. OK deraadt
Diffstat (limited to 'usr.bin/write')
0 files changed, 0 insertions, 0 deletions