Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | cond_expr |
struct | cond_av_list |
struct | cond_node |
Macros | |
#define | COND_EXPR_MAXDEPTH 10 |
#define | COND_BOOL 1 /* plain bool */ |
#define | COND_NOT 2 /* !bool */ |
#define | COND_OR 3 /* bool || bool */ |
#define | COND_AND 4 /* bool && bool */ |
#define | COND_XOR 5 /* bool ^ bool */ |
#define | COND_EQ 6 /* bool == bool */ |
#define | COND_NEQ 7 /* bool != bool */ |
#define | COND_LAST COND_NEQ |
Functions | |
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 *key, 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) |
int | evaluate_cond_node (struct policydb *p, struct cond_node *node) |
Definition at line 28 of file conditional.h.
#define COND_BOOL 1 /* plain bool */ |
Definition at line 25 of file conditional.h.
Definition at line 30 of file conditional.h.
#define COND_EXPR_MAXDEPTH 10 |
Definition at line 18 of file conditional.h.
#define COND_LAST COND_NEQ |
Definition at line 32 of file conditional.h.
Definition at line 31 of file conditional.h.
#define COND_NOT 2 /* !bool */ |
Definition at line 26 of file conditional.h.
Definition at line 27 of file conditional.h.
Definition at line 29 of file conditional.h.
Definition at line 623 of file conditional.c.
Definition at line 185 of file conditional.c.
Definition at line 192 of file conditional.c.
Definition at line 175 of file conditional.c.
Definition at line 168 of file conditional.c.
Definition at line 118 of file conditional.c.
Definition at line 220 of file conditional.c.
Definition at line 497 of file conditional.c.
Definition at line 597 of file conditional.c.