]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commit
minios: _chk_fail and _chk canaries for minios and newlib
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 31 Mar 2009 10:36:11 +0000 (11:36 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 31 Mar 2009 10:36:11 +0000 (11:36 +0100)
commit0fa470e0d799e79532784f971be83e02a940fb73
treecfa526c0bd7e258af4d10eadcedaa001135e3a1c
parente9e08ee941b83e7f2505c4e215dc18951cf14378
minios: _chk_fail and _chk canaries for minios and newlib

Add __stack_chk_fail to mini-os and __sprintf_chk __fprintf_chk to
newlib, to cope with ocaml runtimes compiled with -fstack-protector.

From: "George S. Coker, II" <gscoker@alpha.ncsc.mil>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
lib/stack_chk_fail.c [new file with mode: 0644]