Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
#
51c86fb5 |
| 04-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
Use __unused macro instead of a bare void for main().
Suggested by: nectar
|
#
0dac67d6 |
| 04-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
nologin(8) does not seem to require any command line parameters, so remove argc and argv from main() argument.
At the same time, user and tt is not likely to be changed during execution so mark them
nologin(8) does not seem to require any command line parameters, so remove argc and argv from main() argument.
At the same time, user and tt is not likely to be changed during execution so mark them const.
This commit should guarantee nologin to pass WARNS=6.
Tested on: i386 MFC After: 1 month
show more ...
|
Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
3590bb99 |
| 13-Mar-2004 |
Colin Percival <cperciva@FreeBSD.org> |
Add standard copyright notice; fix style bugs. (Reported by bde) Remove NO_NOLOGIN_LOG option now that we're off the root partition.
|
Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
47c524dd |
| 22-Feb-2004 |
Colin Percival <cperciva@FreeBSD.org> |
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
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)
show more ...
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
71ff2d08 |
| 17-Nov-2003 |
David Schultz <das@FreeBSD.org> |
Reimplement nologin(8) as a C program. This allows us to statically link it at low cost and avoid environment poisoning attacks associated with LD_LIBRARY_PATH.
Suggested by: rwatson
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
#
51c86fb5 |
| 04-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
Use __unused macro instead of a bare void for main().
Suggested by: nectar
|
#
0dac67d6 |
| 04-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
nologin(8) does not seem to require any command line parameters, so remove argc and argv from main() argument.
At the same time, user and tt is not likely to be changed during execution so mark them
nologin(8) does not seem to require any command line parameters, so remove argc and argv from main() argument.
At the same time, user and tt is not likely to be changed during execution so mark them const.
This commit should guarantee nologin to pass WARNS=6.
Tested on: i386 MFC After: 1 month
show more ...
|
Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
3590bb99 |
| 13-Mar-2004 |
Colin Percival <cperciva@FreeBSD.org> |
Add standard copyright notice; fix style bugs. (Reported by bde) Remove NO_NOLOGIN_LOG option now that we're off the root partition.
|
Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
47c524dd |
| 22-Feb-2004 |
Colin Percival <cperciva@FreeBSD.org> |
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
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)
show more ...
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
71ff2d08 |
| 17-Nov-2003 |
David Schultz <das@FreeBSD.org> |
Reimplement nologin(8) as a C program. This allows us to statically link it at low cost and avoid environment poisoning attacks associated with LD_LIBRARY_PATH.
Suggested by: rwatson
|