#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) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|