cvs commit: src/usr.bin/login login.c
Xin LI
delphij at FreeBSD.org
Fri Oct 6 07:58:18 PDT 2006
delphij 2006-10-06 14:58:17 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
usr.bin/login login.c
Log:
MFC revision 1.101 (cognet@):
A temporary fix that in case of pwd == NULL, do not call audit_logout()
which attempts to deference it. This is not quite correct, as we should
audit the event even it is not attributable to a specific user. For now,
just put the temporary fix in, so login(1) would not get signal 11 upon
the case that for instance, ^D at the Login: prompt without providing a
valid login before.i
Approved by: re (rwatson)
PR: bin/103873
Discussed with: rwatson, csjp
Revision Changes Path
1.99.2.2 +4 -1 src/usr.bin/login/login.c
More information about the cvs-src
mailing list