ts_change_caps - change the capabilities associated with a time slice.
Status ts_change_caps( int ts, Cap managecap, Cap newcap );
ts specifies the time slice whose capabilities are being changed.
managecap The current capability associated with the time slice ts.
newcap The new capability to associate with the time slice ts.
This function changes the capabilities associated with a time slice slot.
Upon the successful completion, the ts_change_caps() function returns [SUCCESS] to indicate that the capability associated with the time slice has been changed.
[TS_CAP_INVALID] the capability presented in parameter authcap is invalid.
[TS_INVALID] the time slice specified is invalid.
ts_yield(), ts_bind(), ts_unbind().
Notes for Gurus
There is one capability associated with each time slice slot. This capability is segregated from the time slice vector for security since the time slice vector is publicly visible.