[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

crhold Kernel Service

Purpose

Increments the reference count for a credentials structure.

Syntax

 

#include <sys/cred.h>

 


void crhold ( cr)
struct ucred * cr;

Parameter

cr Pointer to the credentials structure that will have its reference count incremented.

Description

The crhold kernel service increments the reference count of a credentials structure.

Note
Reference counts that are incremented with the crhold kernel service must be decremented with the crfree kernel service.

Execution Environment

The crhold 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 ]