NAME
ts_change_caps - change the capabilities associated with a time slice.
SYNOPSIS
#include <charm.h>
Status ts_change_caps( int ts, Cap managecap, Cap newcap );
PARAMETERS
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.
DESCRIPTION
This function changes the capabilities associated with a time slice slot.
RETURN VALUES
Upon the successful completion, the ts_change_caps() function returns [SUCCEED] to indicate that the capability associated with the time slice has been changed.
ERRORS
[TS_CAP_INVALID] the capability presented in parameter authcap is invalid.
[TS_INVALID] the time slice specified is invalid.
RELATED INFORMATION
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.