Copies a credentials structure to a new one.
#include <sys/cred.h>
cr | Pointer to the credentials structure that is to be copied. |
The crdup kernel service allocates a new credentials structure that is initialized from the contents of the cr parameter.
The crdup kernel service can be called from the process environment only.
Nonzero value | A pointer to a newly allocated and initialized credentials structure. |
Security Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.