Alters hardware keyset associated with a cross-memory descriptor.
| Item | Description |
|---|---|
| dp | Specifies a valid cross-memory descriptor. |
| hkeyset | Hardware keyset to assign to the cross-memory descriptor. |
| flags | Must be set to zero. |
The xmsethkeyset() kernel service can be used to modify the keyset associated with a cross-memory descriptor.
Kernel-key protection can be enforced on memory regions described by a cross-memory descriptor. The enforcement is done during normal access checking performed by cross-memory services, such as the xmemdma() service.
The xmsethkeyset kernel service can be called from the process environment only.
| Item | Description |
|---|---|
| 0 | Successful. |
| EINVAL_XMSETHKEYSET | Invalid parameter or execution environment. |