Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

SecurityKernel.c File Reference

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <netinet/in.h>
#include "SecurityObject.h"
#include "SecurityKernel.h"
#include <glib.h>
#include "hiker/prv/lsm_cmd.h"

Data Structures

struct  KernelCommunicationContext

Defines

#define ALP_PRV_SPF_SO_BREAK_IF_NULL(object, type, err)   if( object == (type *) NULL ) { err = ALP_PRV_SPF_SO_E_NULL_PARAMETER; break; }
#define DEBUG   1
#define d(o, msg)   if( o->debug != 0 ) { fputs( msg, stderr ); }

Functions

AlpPrvSpfSoErr alp_prv_spf_get_user_group_from_pid (SecurityObject *object, unsigned int pid, unsigned int *out_user, unsigned int *out_group)
AlpPrvSpfSoErr alp_prv_spf_so_kernel_load_meta ()
AlpPrvSpfSoErr alp_prv_spf_so_kernel_dump_meta ()
AlpPrvSpfSoErr alp_prv_spf_so_kernel_lsm_enable ()
AlpPrvSpfSoErr alp_prv_spf_so_kernel_initialize (SecurityObject *object)


Define Documentation

#define ALP_PRV_SPF_SO_BREAK_IF_NULL object,
type,
err   )     if( object == (type *) NULL ) { err = ALP_PRV_SPF_SO_E_NULL_PARAMETER; break; }
 

#define d o,
msg   )     if( o->debug != 0 ) { fputs( msg, stderr ); }
 

#define DEBUG   1
 


Function Documentation

AlpPrvSpfSoErr alp_prv_spf_get_user_group_from_pid SecurityObject object,
unsigned int  pid,
unsigned int *  out_user,
unsigned int *  out_group
 

AlpPrvSpfSoErr alp_prv_spf_so_kernel_dump_meta  ) 
 

AlpPrvSpfSoErr alp_prv_spf_so_kernel_initialize SecurityObject object  ) 
 

AlpPrvSpfSoErr alp_prv_spf_so_kernel_load_meta  ) 
 

AlpPrvSpfSoErr alp_prv_spf_so_kernel_lsm_enable  ) 
 


Generated on Sat Dec 16 20:29:49 2006 for hiker-0.9 by  doxygen 1.4.4