Import OpenPAM Resedacea.
[dragonfly.git] / contrib / openpam / doc / man / pam_sm_close_session.3
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 April 30, 2017
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
16 The
17 .Fn pam_sm_close_session
18 function is the service module's
19 implementation of the
20 .Xr pam_close_session 3
21 API function.
22 .Sh RETURN VALUES
23 The
24 .Fn pam_sm_close_session
25 function returns one of the following values:
26 .Bl -tag -width 18n
27 .It Bq Er PAM_SUCCESS
28 Success.
29 .It Bq Er PAM_ABORT
30 General failure.
31 .It Bq Er PAM_BUF_ERR
32 Memory buffer error.
33 .It Bq Er PAM_CONV_ERR
34 Conversation failure.
35 .It Bq Er PAM_IGNORE
36 Ignore this module.
37 .It Bq Er PAM_PERM_DENIED
38 Permission denied.
39 .It Bq Er PAM_SERVICE_ERR
40 Error in service module.
41 .It Bq Er PAM_SESSION_ERR
42 Session failure.
43 .It Bq Er PAM_SYSTEM_ERR
44 System 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
56 The
57 .Fn pam_sm_close_session
58 function and this manual page were
59 developed for the
60 .Fx
61 Project by ThinkSec AS and Network Associates Laboratories, the
62 Security Research Division of Network Associates, Inc.\& under
63 DARPA/SPAWAR contract N66001-01-C-8035
64 .Pq Dq CBOSS ,
65 as part of the DARPA CHATS research program.
66 .Pp
67 The OpenPAM library is maintained by
68 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .