Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   christos
Date:           Thu Feb 12 18:24:18 UTC 2009

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

Log Message:
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 -r1.120 -r1.121 src/sys/conf/Makefile.kern.inc
cvs rdiff -r1.939 -r1.940 src/sys/conf/files
cvs rdiff -r1.380 -r1.381 src/sys/kern/init_main.c
cvs rdiff -r0 -r1.1 src/sys/kern/kern_ssp.c
cvs rdiff -r1.167 -r1.168 src/sys/kern/subr_autoconf.c
cvs rdiff -r1.115 -r1.116 src/sys/sys/device.h
cvs rdiff -r1.232 -r1.233 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