2013-09-07 16:15:30 +00:00
|
|
|
.\" Generated from pam_end.c by gendoc.pl
|
|
|
|
.\" $Id: pam_end.c 648 2013-03-05 17:54:27Z des $
|
|
|
|
.Dd September 7, 2013
|
2002-02-23 01:22:51 +00:00
|
|
|
.Dt PAM_END 3
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm pam_end
|
|
|
|
.Nd terminate the PAM transaction
|
|
|
|
.Sh LIBRARY
|
|
|
|
.Lb libpam
|
|
|
|
.Sh SYNOPSIS
|
2003-01-06 16:07:51 +00:00
|
|
|
.In sys/types.h
|
2002-02-23 01:22:51 +00:00
|
|
|
.In security/pam_appl.h
|
2003-07-15 07:18:26 +00:00
|
|
|
.Ft "int"
|
2002-02-23 01:22:51 +00:00
|
|
|
.Fn pam_end "pam_handle_t *pamh" "int status"
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
2012-05-26 14:23:18 +00:00
|
|
|
.Fn pam_end
|
2002-02-23 01:24:02 +00:00
|
|
|
function terminates a PAM transaction and destroys the
|
|
|
|
corresponding PAM context, releasing all resources allocated to it.
|
|
|
|
.Pp
|
|
|
|
The
|
2005-02-01 10:16:17 +00:00
|
|
|
.Fa status
|
2002-02-23 01:24:02 +00:00
|
|
|
argument should be set to the error code returned by the
|
|
|
|
last API call before the call to
|
2012-05-26 14:23:18 +00:00
|
|
|
.Fn pam_end .
|
2002-02-23 01:22:51 +00:00
|
|
|
.Sh RETURN VALUES
|
|
|
|
The
|
2012-05-26 14:23:18 +00:00
|
|
|
.Fn pam_end
|
2002-02-23 01:22:51 +00:00
|
|
|
function returns one of the following values:
|
2002-02-23 01:24:02 +00:00
|
|
|
.Bl -tag -width 18n
|
|
|
|
.It Bq Er PAM_SYSTEM_ERR
|
|
|
|
System error.
|
2002-02-23 01:22:51 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2002-02-23 01:24:02 +00:00
|
|
|
.Xr pam 3 ,
|
|
|
|
.Xr pam_strerror 3
|
2002-02-23 01:22:51 +00:00
|
|
|
.Sh STANDARDS
|
|
|
|
.Rs
|
|
|
|
.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
|
|
|
|
.%D "June 1997"
|
|
|
|
.Re
|
|
|
|
.Sh AUTHORS
|
|
|
|
The
|
2012-05-26 14:23:18 +00:00
|
|
|
.Fn pam_end
|
|
|
|
function and this manual page were
|
|
|
|
developed for the
|
2003-07-15 07:18:26 +00:00
|
|
|
.Fx
|
2012-05-26 14:23:18 +00:00
|
|
|
Project by ThinkSec AS and Network Associates Laboratories, the
|
2005-06-17 14:39:09 +00:00
|
|
|
Security Research Division of Network Associates, Inc.\& under
|
2003-07-15 07:18:26 +00:00
|
|
|
DARPA/SPAWAR contract N66001-01-C-8035
|
2002-02-23 01:22:51 +00:00
|
|
|
.Pq Dq CBOSS ,
|
|
|
|
as part of the DARPA CHATS research program.
|
2013-09-07 16:15:30 +00:00
|
|
|
.Pp
|
|
|
|
The OpenPAM library is maintained by
|
|
|
|
.An Dag-Erling Sm\(/orgrav Aq des@des.no .
|