sia_make_entity_pwd(3) — Subroutines
NAME
sia_make_entity_pwd − Make entity password - SIA (Security Integration Architecture)
SYNOPSIS
#include <siad.h>
#include <signal.h>
#include <setjmp.h>
int sia_make_entity_pwd(
struct passwd ∗pwd,
SIAENTITY ∗entity );
LIBRARY
Standard C library (libc.so and libc.a)
PARAMETERS
entity
The entity parameter points to the SIAENTITY structure that will have its pwd data updated. The values in the SIAENTITY structure are changed by this routine.
pwdThe pwd parameter points to the passwd structure that will have its data duplicated by the pwd field of the entity structure.
DESCRIPTION
The sia_make_entity_pwd() routine fills in the pwd field of the entity structure, using malloc() to ensure that the copied data is not overwritten by subsequent calls to getpwent().
RETURN VALUES
The sia_make_entity_pwd() routine returns SIASUCCESS or SIAFAIL.
ERRORS
The errno value is not (normally) set explicitly by sia_∗ routines. The errno values are those returned from the dynamic loader interface, from dependent (siad_∗) routines, or from malloc. Possible errors include resource constraints (no memory) and various authentication failures.
FILES
/etc/passwd
SEE ALSO
Security