Data Structures | Defines | Typedefs | Functions

include/pam_netns.h File Reference

#include "common.h"
#include <security/pam_ext.h>
#include <linux/sched.h>
#include "util.h"
#include "pexec.h"
Include dependency graph for pam_netns.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  options_t
 Module options. More...

Defines

#define PAM_NETNS_H   PAM_NETNS_H
#define MAX_NUMBER_OF_PROXIES   10
#define DEFAULT_SESID_LEN   48
#define DEFAULT_BEFORE_SCRIPT   "/etc/security/netns_before"
#define DEFAULT_AFTER_SCRIPT   "/etc/security/netns_after"
#define DEFAULT_SETUP_SCRIPT   "/etc/security/netns_setup"
#define DEFAULT_CLEANUP_SCRIPT   "/etc/security/netns_cleanup"
#define DEFAULT_SHM_NAME   "/tmp/pam_netns_shmXXXXXX"
#define DEFAULT_TIMEOUT_SECS   4
#define DEFAULT_PREFIX   "ns"
#define DEFAULT_HELPER   "/lib/security/pam_netns_helper"

Typedefs

typedef int(* cb_ft )(const void *param1,...)

Functions

void parse_options (int argc, const char **argv)

Detailed Description

Common header to specify options structure

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

Define Documentation

#define DEFAULT_AFTER_SCRIPT   "/etc/security/netns_after"
#define DEFAULT_BEFORE_SCRIPT   "/etc/security/netns_before"
#define DEFAULT_CLEANUP_SCRIPT   "/etc/security/netns_cleanup"
#define DEFAULT_HELPER   "/lib/security/pam_netns_helper"
#define DEFAULT_PREFIX   "ns"
#define DEFAULT_SESID_LEN   48
#define DEFAULT_SETUP_SCRIPT   "/etc/security/netns_setup"
#define DEFAULT_SHM_NAME   "/tmp/pam_netns_shmXXXXXX"
#define DEFAULT_TIMEOUT_SECS   4
#define MAX_NUMBER_OF_PROXIES   10
#define PAM_NETNS_H   PAM_NETNS_H

Typedef Documentation

typedef int(* cb_ft)(const void *param1,...)

Function Documentation

void parse_options ( int  argc,
const char **  argv 
)