Date: Sun, 22 Feb 2004 02:03:25 -0800 (PST) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/nologin Makefile nologin.c Message-ID: <200402221003.i1MA3PW0024791@repoman.freebsd.org>
index | next in thread | raw e-mail
cperciva 2004/02/22 02:03:25 PST
FreeBSD src repository
Modified files:
sbin/nologin Makefile nologin.c
Log:
Report login attempts to syslog. Due to the statically-linked nature of
nologin(8), this causes a considerable (100K) increase in the binary size,
so I've added a NO_LOGIN_LOG option which disables this.
While I'm here, s/sizeof(MESSAGE)/sizeof(MESSAGE) - 1/, in order to
avoid writing the string-terminating zero byte.
No complaints from: -current
Approved by: rwatson (mentor)
Revision Changes Path
1.10 +7 -0 src/sbin/nologin/Makefile
1.2 +14 -1 src/sbin/nologin/nologin.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402221003.i1MA3PW0024791>
