Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sys



Module Name:    src
Committed By:   snj
Date:           Sun Mar 15 19:43:49 UTC 2009

Modified Files:
        src/sys/conf [netbsd-5]: Makefile.kern.inc files
        src/sys/kern [netbsd-5]: init_main.c subr_autoconf.c
        src/sys/sys [netbsd-5]: device.h systm.h
Added Files:
        src/sys/kern [netbsd-5]: kern_ssp.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #458):
        sys/conf/Makefile.kern.inc: revision 1.121
        sys/conf/files: revision 1.940
        sys/kern/init_main.c: revision 1.381
        sys/kern/kern_ssp.c: revision 1.1
        sys/kern/subr_autoconf.c: revision 1.168
        sys/sys/device.h: revision 1.116
        sys/sys/systm.h: revision 1.233
Unbreak ssp kernels. The issue here that when the ssp_init() call was
deferred, it caused the return from the enclosing function to break, as
well as the ssp return on i386. To fix both issues, split configure in
two pieces the one before calling ssp_init and the one after, and move
the ssp_init() call back in main. Put ssp_init() in its own file, and
compile this new file with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.118.4.1 src/sys/conf/Makefile.kern.inc
cvs rdiff -u -r1.924 -r1.924.4.1 src/sys/conf/files
cvs rdiff -u -r1.371 -r1.371.2.1 src/sys/kern/init_main.c
cvs rdiff -u -r0 -r1.2.4.2 src/sys/kern/kern_ssp.c
cvs rdiff -u -r1.163.4.1 -r1.163.4.2 src/sys/kern/subr_autoconf.c
cvs rdiff -u -r1.112 -r1.112.6.1 src/sys/sys/device.h
cvs rdiff -u -r1.228.4.1 -r1.228.4.2 src/sys/sys/systm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index