Handles alterations in the storage protection keys attributes.
The skctl command is a privileged command used on a system that supports storage protection keys. The skctl command can change the number of user-space storage keys, disable user-space storage keys, enable/disable kernel storage key state, and display the default, current, and next boot storage keys attributes.
Item | Description |
---|---|
-u | Alters the number of user-space keys or disables user-space keys. The flag must be off or a number between 2 and the maximum number of hardware storage keys. |
-k | Enables/disables kernel keys. |
-v | Displays the default, current, and next boot storage keys attributes. |
-D | Resets the storage protection keys attributes to default. |