fff + ˆl–äY>” T†» ÍÆß¸ÓJbÑ¿Ê ƒt-9_‡I|¥ŠèªÊÉ ê
To be correctly initialized, PAM_SM_SESSION
must be #define'd prior to including
<security/pam_modules.h>. This will
ensure that the prototypes for static modules are properly declared.
#define PAM_SM_SESSION
#include <security/pam_modules.h>
PAM_EXTERN int pam_sm_open_session( | pamh, | Â |
| Â | flags, | Â |
| Â | argc, | Â |
| Â | argv); | Â |
pam_handle_t *pamh;int flags;int argc;const char **argv;
The pam_sm_open_session function is the service
module's implementation of the
pam_open_session(3) interface.
This function is called to commence a session. The only valid
value for flags is zero or:
Do not emit any messages.