Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
conditional.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include "security.h"
#include "conditional.h"

Go to the source code of this file.

Data Structures

struct  cond_insertf_data
 

Functions

int evaluate_cond_node (struct policydb *p, struct cond_node *node)
 
int cond_policydb_init (struct policydb *p)
 
void cond_policydb_destroy (struct policydb *p)
 
int cond_init_bool_indexes (struct policydb *p)
 
int cond_destroy_bool (void *key, void *datum, void *p)
 
int cond_index_bool (void *key, void *datum, void *datap)
 
int cond_read_bool (struct policydb *p, struct hashtab *h, void *fp)
 
int cond_read_list (struct policydb *p, void *fp)
 
int cond_write_bool (void *vkey, void *datum, void *ptr)
 
int cond_write_list (struct policydb *p, struct cond_node *list, void *fp)
 
void cond_compute_av (struct avtab *ctab, struct avtab_key *key, struct av_decision *avd)
 

Function Documentation

void cond_compute_av ( struct avtab ctab,
struct avtab_key key,
struct av_decision avd 
)

Definition at line 623 of file conditional.c.

int cond_destroy_bool ( void key,
void datum,
void p 
)

Definition at line 185 of file conditional.c.

int cond_index_bool ( void key,
void datum,
void datap 
)

Definition at line 192 of file conditional.c.

int cond_init_bool_indexes ( struct policydb p)

Definition at line 175 of file conditional.c.

void cond_policydb_destroy ( struct policydb p)

Definition at line 168 of file conditional.c.

int cond_policydb_init ( struct policydb p)

Definition at line 118 of file conditional.c.

int cond_read_bool ( struct policydb p,
struct hashtab h,
void fp 
)

Definition at line 220 of file conditional.c.

int cond_read_list ( struct policydb p,
void fp 
)

Definition at line 457 of file conditional.c.

int cond_write_bool ( void vkey,
void datum,
void ptr 
)

Definition at line 497 of file conditional.c.

int cond_write_list ( struct policydb p,
struct cond_node list,
void fp 
)

Definition at line 597 of file conditional.c.

int evaluate_cond_node ( struct policydb p,
struct cond_node node 
)

Definition at line 89 of file conditional.c.