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 Oct 9 2017, 4:20 PM
Parents
rG00d37313f99d: Change i386_get_ldt() to return 'EOF' when the requested range of
Branches
Unknown
Tags
Unknown

Event Timeline