CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2022/09/19 09:36:20

Modified files:
        bin/date       : date.c 

Log message:
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

Reply via email to