diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-11-03 16:21:47 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-11-03 16:21:47 +0000 |
commit | d608c982a1cc53555f1bc2cf8e639cb278d3b087 (patch) | |
tree | 9fd41e6a53775e66944bfd7e0d17a91501f32b30 /sys/libkern/bcmp.c | |
parent | 6604019e2651e5c8091a892c712c67a1c4278903 (diff) | |
download | FreeBSD-src-d608c982a1cc53555f1bc2cf8e639cb278d3b087.zip FreeBSD-src-d608c982a1cc53555f1bc2cf8e639cb278d3b087.tar.gz |
Fix two mistakes on 32-bit systems. The slbmte code in syscall() is 64-bit
only, and should be protected with an ifdef, and the no-execute bit in
32-bit set_user_sr() should be set before the comparison, not after, or
it will never match.
Diffstat (limited to 'sys/libkern/bcmp.c')
0 files changed, 0 insertions, 0 deletions