]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Store TLS base in the sigframe just as is done in freebsd32_sendsig. Because
authorJuli Mallett <jmallett@FreeBSD.org>
Tue, 6 Mar 2012 08:02:10 +0000 (08:02 +0000)
committerJuli Mallett <jmallett@FreeBSD.org>
Tue, 6 Mar 2012 08:02:10 +0000 (08:02 +0000)
commit6fa3bc4f9101dac42395efd69ee05866219c0f0b
tree489fbbc8c68067d2130e149cf454d6c42a6ebbda
parentbdf4700515bf660b9231e6ed746c1ece3f656443
Store TLS base in the sigframe just as is done in freebsd32_sendsig.  Because
the native sigreturn doesn't use set_mcontext like the COMPAT_FREEBSD32 version
does, this wouldn't actually result in overwriting the TLS base.  Probably it
makes sense to restructure the native sigreturn to use set_mcontext for
consistency, and to allow sigreturn to change the TLS base.
sys/mips/mips/pm_machdep.c