xref: /freebsd/contrib/openpam/doc/man/pam_sm_close_session.3 (revision 2a58b312b62f908ec92311d1bd8536dbaeb8e55b)
1.\" Generated from pam_sm_close_session.c by gendoc.pl
2.\" $OpenPAM: pam_sm_close_session.c 938 2017-04-30 21:34:42Z des $
3.Dd February 24, 2019
4.Dt PAM_SM_CLOSE_SESSION 3
5.Os
6.Sh NAME
7.Nm pam_sm_close_session
8.Nd service module implementation for pam_close_session
9.Sh SYNOPSIS
10.In sys/types.h
11.In security/pam_appl.h
12.In security/pam_modules.h
13.Ft "int"
14.Fn pam_sm_close_session "pam_handle_t *pamh" "int flags" "int args" "const char **argv"
15.Sh DESCRIPTION
16The
17.Fn pam_sm_close_session
18function is the service module's
19implementation of the
20.Xr pam_close_session 3
21API function.
22.Sh RETURN VALUES
23The
24.Fn pam_sm_close_session
25function returns one of the following values:
26.Bl -tag -width 18n
27.It Bq Er PAM_SUCCESS
28Success.
29.It Bq Er PAM_ABORT
30General failure.
31.It Bq Er PAM_BUF_ERR
32Memory buffer error.
33.It Bq Er PAM_CONV_ERR
34Conversation failure.
35.It Bq Er PAM_IGNORE
36Ignore this module.
37.It Bq Er PAM_PERM_DENIED
38Permission denied.
39.It Bq Er PAM_SERVICE_ERR
40Error in service module.
41.It Bq Er PAM_SESSION_ERR
42Session failure.
43.It Bq Er PAM_SYSTEM_ERR
44System error.
45.El
46.Sh SEE ALSO
47.Xr pam 3 ,
48.Xr pam_close_session 3 ,
49.Xr pam_strerror 3
50.Sh STANDARDS
51.Rs
52.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
53.%D "June 1997"
54.Re
55.Sh AUTHORS
56The
57.Fn pam_sm_close_session
58function and this manual page were
59developed for the
60.Fx
61Project by ThinkSec AS and Network Associates Laboratories, the
62Security Research Division of Network Associates, Inc.\& under
63DARPA/SPAWAR contract N66001-01-C-8035
64.Pq Dq CBOSS ,
65as part of the DARPA CHATS research program.
66.Pp
67The OpenPAM library is maintained by
68.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
69