Sets the current security credentials.
#include <sys/cred.h>
void crset ( cr)
struct ucred * cr;
Item | Description |
---|---|
cr | Pointer to the credentials structure that will become the new, current security credentials. |
The crset kernel service replaces the current security credentials with the supplied value. The existing structure will be deallocated.
The crset kernel service can be called from the process environment only.
No value is returned by this kernel service.