CVSROOT: /cvs Module name: src Changes by: sema...@cvs.openbsd.org 2019/09/14 11:47:01
Modified files: usr.bin/chpass : chpass.c usr.bin/doas : doas.c usr.bin/encrypt: encrypt.c usr.bin/passwd : local_passwd.c usr.bin/su : su.c Log message: correct some unveil(2) violations due to "login.conf.db" access (the .db version of "login.conf"), and stat(2) on _PATH_MASTERPASSWD_LOCK (via pw_mkdb(3)). problem initially noted by myself for passwd(1) millert@ reported similar problem on chpass(1), su(1), doas(1) and encrypt(1) mestre@ noted chpass(1) too ok mestre@ millert@