Signal handlers usually inherit %gs. Make them inherit %fs as well. This
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 7 Jan 2007 00:39:15 +0000 (00:39 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 7 Jan 2007 00:39:15 +0000 (00:39 +0000)
commitdd4ad62d95fc8129a79fbc8974d003c19bbbef92
tree3a479b0200d7b7ef261305ebf15c2260da9f8915
parent8fc35d0a3e5d300f376147fa4c8e49e2146732ed
Signal handlers usually inherit %gs.  Make them inherit %fs as well.  This
may or may not be a good idea but I am hard pressed to find a reason why
it would hurt anything.

The virtual kernel uses %gs for the libc TLS support, and %fs for its
globaldata base.
sys/platform/pc32/i386/machdep.c