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