1 .\" Generated from pam_close_session.c by gendoc.pl
2 .\" $OpenPAM: pam_close_session.c 938 2017-04-30 21:34:42Z des $
4 .Dt PAM_CLOSE_SESSION 3
8 .Nd close an existing user session
11 .In security/pam_appl.h
13 .Fn pam_close_session "pam_handle_t *pamh" "int flags"
17 function tears down the user session previously
19 .Xr pam_open_session 3 .
23 argument is the binary or of zero or more of the following
27 Do not emit any messages.
30 If any other bits are set,
33 .Dv PAM_BAD_CONSTANT .
37 function returns one of the following values:
43 .It Bq Er PAM_BAD_CONSTANT
47 .It Bq Er PAM_CONV_ERR
49 .It Bq Er PAM_PERM_DENIED
51 .It Bq Er PAM_SERVICE_ERR
52 Error in service module.
53 .It Bq Er PAM_SESSION_ERR
55 .It Bq Er PAM_SYSTEM_ERR
60 .Xr pam_open_session 3 ,
64 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
70 function and this manual page were
73 Project by ThinkSec AS and Network Associates Laboratories, the
74 Security Research Division of Network Associates, Inc.\& under
75 DARPA/SPAWAR contract N66001-01-C-8035
77 as part of the DARPA CHATS research program.
79 The OpenPAM library is maintained by
80 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .