[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Technical Reference: Kernel and Subsystems, Volume 1
crfree Kernel Service
Purpose
Releases a reference count on a credentials structure.
Syntax
#include <sys/cred.h>
void crfree ( cr)
struct ucred * cr;
Parameter
cr |
Pointer to the credentials structure that is to have a reference freed. |
Description
The crfree kernel service deallocates
a reference to a credentials structure. The credentials structure is deallocated
when no references remain.
Note
The cr parameter must have been obtained
by an earlier call to the crcopy kernel service, crdup kernel service, crget kernel
service, or the crref kernel service.
Execution Environment
The crfree kernel service can
be called from the process environment only.
Return Values
No value is returned by this kernel service.
Related Information
Security Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]