Set Descriptor Access Rights [0.9]

Modifies the access rights and type fields in the LDT descriptor for the specified segment.

Call With

AX = 0009H
BX = selector
CL = access rights/type byte
CH = 80386 extended access rights/type byte

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8021Hinvalid value (access rights/type bytes invalid)
8022Hinvalid selector
8025Hinvalid linear address (changing the access rights/type bytes would cause the descriptor to reference a linear address range outside that allowed for DPMI clients.)

Notes