Sets the current security credentials.
#include <sys/cred.h>
void crset ( cr)
struct ucred * cr;
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.
Security Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.