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

Technical Reference: Kernel and Subsystems, Volume 1

crexport Kernel Service

Purpose

Copies an internal format credentials structure to an external format credentials structure.

Syntax

#include <sys/cred.h>

void crexport (src, dst)
struct ucred * src;
struct ucred_ext * dst;

Parameter

src Pointer to the internal credentials structure.
dst Pointer to the external credentials structure.

Description

The crexport kernel service copies from the internal credentials structure referenced by src into the external credentials structure referenced by dst. The external credentials structure is guaranteed to be compatible between releases. Fields within a ucred structure must not be referenced directly as the field names and locations within that structure are subject to change.

Execution Environment

The crexport kernel service can be called from the process environment only.

Return Values

This kernel service does not have a return value.

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 ]