HomeFreeBSD

Change amd64_get_ldt() to return 'EOF' when the LDT is not yet

Description

Change amd64_get_ldt() to return 'EOF' when the LDT is not yet
allocated, when requested range of descriptors does not fit into
currently allocated LDT, or trim the return if the range fits
partially. Before, the function returned EINVAL.

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

Details

Provenance
kibAuthored on
Parents
rS324438: Change i386_get_ldt() to return 'EOF' when the requested range of
Branches
Unknown
Tags
Unknown