#include "common.h"
#include <security/pam_ext.h>
#include <linux/sched.h>
#include "util.h"
#include "pexec.h"
Go to the source code of this file.
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 |  | 
        
          |  | ) |  |  |  |