diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-10-28 00:45:33 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-10-28 13:46:36 +0000 |
| commit | dcc5adb27e3b00f003c2256a9e9aa2fcc20c4d32 (patch) | |
| tree | 05a23ab7a7ebef282cbf3c2b69645faeda9de2dd /sys/geom/mountver/(developers-only) | |
| parent | 25024d96492e51c250789d16de5064d4c00c7a86 (diff) | |
For FRED SYSCALL calls, check that the LM bit is set.
Note that this handler is redundant for 64bit mode since syscalls
are handled by the asm fast path. Intel CPUs raise #UD for SYSCALL
in the compatibility mode, and for AMD we set up the MSR_CSTAR to
fast_syscall32 for IDT case, which is nop. So practically it should only
matter if AMD CPUs with FRED enabled allow SYSCALL from compatibility
mode.
Reported and reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/geom/mountver/(developers-only)')
0 files changed, 0 insertions, 0 deletions
