CVSROOT:        /cvs
Module name:    src
Changes by:     mes...@cvs.openbsd.org  2018/08/11 05:00:34

Modified files:
        usr.bin/look   : look.c 

Log message:
look(1) will access /usr/share/dict/words to look for the string we want, or it
may access another file instead if we mention it via argument. In order to know
which file to unveil(2) we need to push down pledge(2) a little bit after
getopt(3) and now that we know the name of the file we can unveil(2) it only
with read permissions.

OK deraadt@

Reply via email to