freebsd-nq/sbin/init
Conrad Meyer 2c9a33f557 Correct sense of crypt(3) NULL checks in init(8) and lock(1)
In r231994, an attempt was made to fix crypt(3) failure returns (NULL).
However, instead of treating crypt(3) failure as authentication failure,
some of the changes treated crypt(3) failure as authentication success.
This is wrong.

r324225 fixed this for ppp, which also inspired this review.  The other
changes in the 231994 revision were audited for correctness and look ok.

Reviewed by:	jhb
Security:	yes
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D12571
2017-10-03 00:53:11 +00:00
..
init.8 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
init.c Correct sense of crypt(3) NULL checks in init(8) and lock(1) 2017-10-03 00:53:11 +00:00
Makefile sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
NOTES
pathnames.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00