Date: Fri, 6 Oct 2006 14:58:17 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/login login.c Message-ID: <200610061458.k96EwHfv022067@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610061458.k96EwHfv022067>
