]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not dereference linux_to_bsd_signal[-1] if userland has
authorAlexander Kabaev <kan@FreeBSD.org>
Fri, 11 May 2007 01:25:51 +0000 (01:25 +0000)
committerAlexander Kabaev <kan@FreeBSD.org>
Fri, 11 May 2007 01:25:51 +0000 (01:25 +0000)
commitec69a8a6d2001dabe3edb38ed390e2bc28701e47
tree420a47771d1176128aaba0843e0eb57fec7f204c
parent4b8e42baabf638c7673f3b45489aa840690eacf9
Do not dereference linux_to_bsd_signal[-1] if userland has
passed zero as exit signal.

GCC 4.2 changes the kernel data segment layout not to have 0
in that memory location. This code ran by luck before and now
the luck has run out.
sys/amd64/linux32/linux32_machdep.c
sys/i386/linux/linux_machdep.c