HomeFreeBSD

Fix ERESTART for lcall $7,$0 syscalls.

Description

Fix ERESTART for lcall $7,$0 syscalls.

The lcall trampoline enters kernel by int $0x80, which sets up invalid
length of the instruction for %rip rewind.

Reviewed by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS332060: Make the INTO instruction operational in 32bit mode.
Branches
Unknown
Tags
Unknown