Removes members of one kernel keyset from an existing kernel keyset.
| Item | Description | 
|---|---|
| set | Specifies the kernel keyset from which the kkeyset_remove_set kernel service will remove a keyset. | 
| removeset | Specifies the kernel keyset to remove. | 
The kkeyset_remove_set kernel service removes a kernel keyset specified by the removeset parameter from the kernel keyset specified by the set parameter.
The kkeyset_remove_set kernel service can be called from the process environment only.
| Item | Description | 
|---|---|
| 0 | Indicates a successful completion. | 
| EINVAL_KKEYSET_REMOVE_SET | Indicates that the parameter or execution environment is not valid. |