xref: /freebsd/contrib/openpam/doc/man/pam_close_session.3 (revision 3ba4c8c81a28de3e00ccf6d7f92c6f8e58bef456)
1ce77a8d6SDag-Erling Smørgrav.\" Generated from pam_close_session.c by gendoc.pl
2*3ba4c8c8SDag-Erling Smørgrav.Dd June 27, 2023
35c1eca55SDag-Erling Smørgrav.Dt PAM_CLOSE_SESSION 3
45c1eca55SDag-Erling Smørgrav.Os
55c1eca55SDag-Erling Smørgrav.Sh NAME
65c1eca55SDag-Erling Smørgrav.Nm pam_close_session
75c1eca55SDag-Erling Smørgrav.Nd close an existing user session
85c1eca55SDag-Erling Smørgrav.Sh SYNOPSIS
9644f2b7cSDag-Erling Smørgrav.In sys/types.h
105c1eca55SDag-Erling Smørgrav.In security/pam_appl.h
11ca236e63SDag-Erling Smørgrav.Ft "int"
125c1eca55SDag-Erling Smørgrav.Fn pam_close_session "pam_handle_t *pamh" "int flags"
135c1eca55SDag-Erling Smørgrav.Sh DESCRIPTION
14183bda37SDag-Erling SmørgravThe
152f3ed619SDag-Erling Smørgrav.Fn pam_close_session
16183bda37SDag-Erling Smørgravfunction tears down the user session previously
17183bda37SDag-Erling Smørgravset up by
18183bda37SDag-Erling Smørgrav.Xr pam_open_session 3 .
19183bda37SDag-Erling Smørgrav.Pp
20183bda37SDag-Erling SmørgravThe
21b33ab329SDag-Erling Smørgrav.Fa flags
22183bda37SDag-Erling Smørgravargument is the binary or of zero or more of the following
23183bda37SDag-Erling Smørgravvalues:
24183bda37SDag-Erling Smørgrav.Bl -tag -width 18n
25183bda37SDag-Erling Smørgrav.It Dv PAM_SILENT
26183bda37SDag-Erling SmørgravDo not emit any messages.
27183bda37SDag-Erling Smørgrav.El
28ee02aaa9SDag-Erling Smørgrav.Pp
29183bda37SDag-Erling SmørgravIf any other bits are set,
302f3ed619SDag-Erling Smørgrav.Fn pam_close_session
31183bda37SDag-Erling Smørgravwill return
3249e56509SDag-Erling Smørgrav.Dv PAM_BAD_CONSTANT .
335c1eca55SDag-Erling Smørgrav.Sh RETURN VALUES
345c1eca55SDag-Erling SmørgravThe
352f3ed619SDag-Erling Smørgrav.Fn pam_close_session
365c1eca55SDag-Erling Smørgravfunction returns one of the following values:
3746acc370SDag-Erling Smørgrav.Bl -tag -width 18n
3849e56509SDag-Erling Smørgrav.It Bq Er PAM_SUCCESS
3949e56509SDag-Erling SmørgravSuccess.
4046acc370SDag-Erling Smørgrav.It Bq Er PAM_ABORT
4146acc370SDag-Erling SmørgravGeneral failure.
4249e56509SDag-Erling Smørgrav.It Bq Er PAM_BAD_CONSTANT
4349e56509SDag-Erling SmørgravBad constant.
4446acc370SDag-Erling Smørgrav.It Bq Er PAM_BUF_ERR
4546acc370SDag-Erling SmørgravMemory buffer error.
4646acc370SDag-Erling Smørgrav.It Bq Er PAM_CONV_ERR
4746acc370SDag-Erling SmørgravConversation failure.
4846acc370SDag-Erling Smørgrav.It Bq Er PAM_PERM_DENIED
4946acc370SDag-Erling SmørgravPermission denied.
5046acc370SDag-Erling Smørgrav.It Bq Er PAM_SERVICE_ERR
5146acc370SDag-Erling SmørgravError in service module.
5246acc370SDag-Erling Smørgrav.It Bq Er PAM_SESSION_ERR
5346acc370SDag-Erling SmørgravSession failure.
5446acc370SDag-Erling Smørgrav.It Bq Er PAM_SYSTEM_ERR
5546acc370SDag-Erling SmørgravSystem error.
565c1eca55SDag-Erling Smørgrav.El
575c1eca55SDag-Erling Smørgrav.Sh SEE ALSO
5846acc370SDag-Erling Smørgrav.Xr pam 3 ,
59183bda37SDag-Erling Smørgrav.Xr pam_open_session 3 ,
6046acc370SDag-Erling Smørgrav.Xr pam_strerror 3
615c1eca55SDag-Erling Smørgrav.Sh STANDARDS
625c1eca55SDag-Erling Smørgrav.Rs
635c1eca55SDag-Erling Smørgrav.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
645c1eca55SDag-Erling Smørgrav.%D "June 1997"
655c1eca55SDag-Erling Smørgrav.Re
665c1eca55SDag-Erling Smørgrav.Sh AUTHORS
675c1eca55SDag-Erling SmørgravThe
682f3ed619SDag-Erling Smørgrav.Fn pam_close_session
692f3ed619SDag-Erling Smørgravfunction and this manual page were
702f3ed619SDag-Erling Smørgravdeveloped for the
71ca236e63SDag-Erling Smørgrav.Fx
722f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the
739bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under
74ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035
755c1eca55SDag-Erling Smørgrav.Pq Dq CBOSS ,
765c1eca55SDag-Erling Smørgravas part of the DARPA CHATS research program.
77ce77a8d6SDag-Erling Smørgrav.Pp
78ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by
79f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
80