skctl Command
Purpose
Handles alterations in the storage protection keys attributes.
Syntax
skctl [-D]
skctl [-u] <nukeys/off>] [-k on/off/default]
skctl [-v [now|default|boot]
Description
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.
Note: You must run /usr/sbin/bosboot command
after changing the storage keys attributes, and then reboot the system
for the change to take effect.
Flags
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. |