Defines | Functions | Variables

src/pam_netns.c File Reference

#include "../include/pam_netns_module.h"
#include "../include/helpers.h"
Include dependency graph for pam_netns.c:

Defines

#define _GNU_SOURCE
#define USE_C_CLEANUP
#define USE_C_MALLOC
#define UNIX_PATH_MAX   108
#define MAXARGS   31

Functions

PAM_EXTERN int pam_sm_open_session (pam_handle_t *pamh, int flags __attribute__((unused)), int argc, const char **argv)
PAM_EXTERN int pam_sm_close_session (pam_handle_t *pamh __attribute__((unused)), int flags __attribute__((unused)), int argc, const char **argv)
PAM_EXTERN int pam_sm_authenticate (pam_handle_t *pamh __attribute__((unused)), int flags __attribute__((unused)), int argc __attribute__((unused)), const char **argv __attribute__((unused)))
PAM_EXTERN int pam_sm_setcred (pam_handle_t *pamh __attribute__((unused)), int flags __attribute__((unused)), int argc __attribute__((unused)), const char **argv __attribute__((unused)))
PAM_EXTERN int pam_sm_acct_mgmt (pam_handle_t *pamh __attribute__((unused)), int flags __attribute__((unused)), int argc __attribute__((unused)), const char **argv __attribute__((unused)))
PAM_EXTERN int pam_sm_chauthtok (pam_handle_t *pamh __attribute__((unused)), int flags __attribute__((unused)), int argc __attribute__((unused)), const char **argv __attribute__((unused)))

Variables

options_t pam_netns_options

Detailed Description

Pam module implementation

Author:
Wilhelm Meier
Julian Thome
Date:
2010-06-30

Define Documentation

#define _GNU_SOURCE
#define MAXARGS   31
#define UNIX_PATH_MAX   108
#define USE_C_CLEANUP
#define USE_C_MALLOC

Function Documentation

PAM_EXTERN int pam_sm_acct_mgmt ( pam_handle_t *pamh   __attribute__(unused),
int flags   __attribute__(unused),
int argc   __attribute__(unused),
const char **argv   __attribute__(unused) 
)
PAM_EXTERN int pam_sm_authenticate ( pam_handle_t *pamh   __attribute__(unused),
int flags   __attribute__(unused),
int argc   __attribute__(unused),
const char **argv   __attribute__(unused) 
)
PAM_EXTERN int pam_sm_chauthtok ( pam_handle_t *pamh   __attribute__(unused),
int flags   __attribute__(unused),
int argc   __attribute__(unused),
const char **argv   __attribute__(unused) 
)
PAM_EXTERN int pam_sm_close_session ( pam_handle_t *pamh   __attribute__(unused),
int flags   __attribute__(unused),
int  argc,
const char **  argv 
)
PAM_EXTERN int pam_sm_open_session ( pam_handle_t *  pamh,
int flags   __attribute__(unused),
int  argc,
const char **  argv 
)
PAM_EXTERN int pam_sm_setcred ( pam_handle_t *pamh   __attribute__(unused),
int flags   __attribute__(unused),
int argc   __attribute__(unused),
const char **argv   __attribute__(unused) 
)

Variable Documentation