diff options
author | deischen <deischen@FreeBSD.org> | 2001-05-12 22:54:53 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2001-05-12 22:54:53 +0000 |
commit | afa4f417dc4f12e6556fdd56f202e823306236ff (patch) | |
tree | c15105c3dd14b9c44c1f448e5311eb8283cd5d4a /sys/amd64 | |
parent | 13fb775e005b924d3e9911cd03a2420cb9670cc2 (diff) | |
download | FreeBSD-src-afa4f417dc4f12e6556fdd56f202e823306236ff.zip FreeBSD-src-afa4f417dc4f12e6556fdd56f202e823306236ff.tar.gz |
Revert part of last commit. Instead of using %fs for KSD/TSD, we'll
follow Linux' convention and use %gs. This adds back the setting of
%fs to a sane value in sendsig(). The value of %gs remains preserved
to whatever it was in user context.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index a9bf55b..9a5148b 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -744,6 +744,7 @@ sendsig(catcher, sig, mask, code) regs->tf_cs = _ucodesel; regs->tf_ds = _udatasel; regs->tf_es = _udatasel; + regs->tf_fs = _udatasel; regs->tf_ss = _udatasel; } |