| History log of /src/sbin/shutdown/Makefile |
| Revision | | Date | Author | Comments |
| 1.11 |
| 11-Apr-2009 |
lukem | Enable WARNS=4 by default except for: dump dump_lfs fsck_ffs fsck_lfs fsdb mount_smbfs newfs_ext2fs newfs_lfs resize_lfs setkey
|
| 1.10 |
| 28-May-2007 |
tls | branches: 1.10.22; Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
| 1.9 |
| 14-Mar-2007 |
christos | - sprinkle static - pass WARNS=4 and lint - use size_t/time_t where appropriate - get/setprogname() - before executing rc.shutdown, set the real user id to 0, because shutdown scripts may depend on it (for example su depends on being root). - use warn instead of perror, and make sure we use the right errno.
|
| 1.8 |
| 11-Oct-1997 |
mycroft | branches: 1.8.20; 1.8.30; 1.8.32; Make these executables world-readable.
|
| 1.7 |
| 18-Mar-1995 |
cgd | convert to new RCS Id conventions; reduce my headache
|
| 1.6 |
| 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.5 |
| 17-Sep-1994 |
mycroft | Merge with 4.4-Lite version.
|
| 1.4 |
| 31-Jul-1993 |
mycroft | Add RCS indentifiers.
|
| 1.3 |
| 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
| 1.2 |
| 22-Mar-1993 |
cgd | added rcs ids to all files
|
| 1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 |
| 17-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
| 1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.8.32.1 |
| 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
| 1.8.30.1 |
| 17-Jul-2007 |
liamjfoy | Pull up following revision(s) (requested by jnemeth in ticket #771): sbin/shutdown/Makefile: revision 1.9 sbin/shutdown/shutdown.c: revision 1.47 sbin/shutdown/shutdown.c: revision 1.48 - sprinkle static - pass WARNS=4 and lint - use size_t/time_t where appropriate - get/setprogname() - before executing rc.shutdown, set the real user id to 0, because shutdown scripts may depend on it (for example su depends on being root). - use warn instead of perror, and make sure we use the right errno.
PR/36626 - Jukka Salmi -- fails to compile if DEBUG is defined
|
| 1.8.20.1 |
| 30-May-2009 |
snj | Pull up following revision(s) (requested by jnemeth in ticket #2019): sbin/shutdown/Makefile: revision 1.9 sbin/shutdown/shutdown.c: revision 1.45-1.48 Move WARNS=3 to the Makefile.inc, and add a little const to the remaining programs that did not compile before. PR/31531: Takahiro Kambe: shutdown(8) quietly exit if execed from login shell - sprinkle static - pass WARNS=4 and lint - use size_t/time_t where appropriate - get/setprogname() - before executing rc.shutdown, set the real user id to 0, because shutdown scripts may depend on it (for example su depends on being root). - use warn instead of perror, and make sure we use the right errno. PR/36626 - Jukka Salmi -- fails to compile if DEBUG is defined
|
| 1.10.22.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|