OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CIL_LIST
(Results
1 - 11
of
11
) sorted by null
/external/selinux/libsepol/cil/src/
cil_flavor.h
45
CIL_LIST
,
cil_list.c
47
void cil_list_init(struct
cil_list
**list, enum cil_flavor flavor)
49
struct
cil_list
*new_list = cil_malloc(sizeof(*new_list));
56
void cil_list_destroy(struct
cil_list
**list, unsigned destroy_data)
67
if (item->flavor ==
CIL_LIST
) {
68
cil_list_destroy((struct
cil_list
**)&(item->data), destroy_data);
98
void cil_list_append(struct
cil_list
*list, enum cil_flavor flavor, void *data)
120
void cil_list_prepend(struct
cil_list
*list, enum cil_flavor flavor, void *data)
142
struct cil_list_item *cil_list_insert(struct
cil_list
*list, struct cil_list_item *curr, enum cil_flavor flavor, void *data)
171
void cil_list_append_item(struct
cil_list
*list, struct cil_list_item *item)
198
void cil_list_prepend_item(struct
cil_list
*list, struct cil_list_item *item
[
all
...]
cil_verify.c
45
#include "
cil_list
.h"
213
if (r_flavor == CIL_STRING || r_flavor ==
CIL_LIST
) {
318
int cil_verify_no_self_reference(struct cil_symtab_datum *datum, struct
cil_list
*datum_list)
329
} else if (i->flavor ==
CIL_LIST
) {
340
int __cil_verify_ranges(struct
cil_list
*list)
352
if (curr->flavor ==
CIL_LIST
) {
353
range = ((struct
cil_list
*)curr->data)->head;
419
int __cil_verify_initsids(struct
cil_list
*sids)
736
struct
cil_list
*sensitivityorder = db->sensitivityorder;
1233
struct
cil_list
*classes = NULL
[
all
...]
cil_copy_ast.c
38
#include "
cil_list
.h"
49
void cil_copy_list(struct
cil_list
*data, struct
cil_list
**copy)
51
struct
cil_list
*new;
61
case
CIL_LIST
: {
62
struct
cil_list
*new_sub = NULL;
63
cil_copy_list((struct
cil_list
*)orig_item->data, &new_sub);
64
cil_list_append(new,
CIL_LIST
, new_sub);
194
void cil_copy_classperms_list(struct
cil_list
*orig, struct
cil_list
**new
[
all
...]
cil_resolve_ast.c
41
#include "
cil_list
.h"
59
struct
cil_list
*sidorder_lists;
60
struct
cil_list
*classorder_lists;
61
struct
cil_list
*unordered_classorder_lists;
62
struct
cil_list
*catorder_lists;
63
struct
cil_list
*sensitivityorder_lists;
64
struct
cil_list
*in_list;
109
static int __cil_resolve_perms(symtab_t *class_symtab, symtab_t *common_symtab, struct
cil_list
*perm_strs, struct
cil_list
**perm_datums)
117
if (curr->flavor ==
CIL_LIST
) {
[
all
...]
cil_policy.c
45
#include "
cil_list
.h"
73
struct
cil_list
*users;
74
struct
cil_list
*sens;
75
struct
cil_list
*cats;
85
int cil_expr_to_policy(FILE **file_arr, uint32_t file_index, struct
cil_list
*expr);
299
int cil_multimap_insert(struct
cil_list
*list, struct cil_symtab_datum *key, struct cil_symtab_datum *value, uint32_t key_flavor, uint32_t val_flavor)
337
int cil_userrole_to_policy(FILE **file_arr, struct
cil_list
*userroles)
365
int cil_cat_to_policy(FILE **file_arr, struct
cil_list
*cats)
391
int cil_sens_to_policy(FILE **file_arr, struct
cil_list
*sens)
454
void cil_perms_to_policy(FILE **file_arr, uint32_t file_index, struct
cil_list
*list
[
all
...]
cil_tree.c
40
#include "
cil_list
.h"
248
static int cil_expr_to_string(struct
cil_list
*expr, char **out)
261
case
CIL_LIST
:
417
void cil_tree_print_expr(struct
cil_list
*datum_expr, struct
cil_list
*str_expr)
453
void cil_tree_print_perm_strs(struct
cil_list
*perm_strs)
491
void cil_tree_print_classperms_list(struct
cil_list
*cp_list)
1219
if (sens->flavor ==
CIL_LIST
) {
1222
cil_list_for_each(sub, (struct
cil_list
*)sens->data) {
[
all
...]
cil_build_ast.c
42
#include "
cil_list
.h"
58
int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct
cil_list
**list)
121
struct
cil_list
*param_list = ((struct cil_macro*)ast_node->parent->data)->params;
554
int cil_fill_perms(struct cil_tree_node *start_perm, struct
cil_list
**perms)
640
int cil_fill_classperms_list(struct cil_tree_node *parse_current, struct
cil_list
**cp_list)
689
void cil_destroy_classperms_list(struct
cil_list
**cp_list)
1285
/* we don't want to destroy the expression stacks (
cil_list
) inside
[
all
...]
cil.c
41
#include "
cil_list
.h"
478
case
CIL_LIST
:
875
case
CIL_LIST
:
[
all
...]
cil_post.c
44
#include "
cil_list
.h"
50
static int __cil_expr_to_bitmap(struct
cil_list
*expr, ebitmap_t *out, int max, struct cil_db *db);
51
static int __cil_expr_list_to_bitmap(struct
cil_list
*expr_list, ebitmap_t *out, int max, struct cil_db *db);
53
static int cil_verify_is_list(struct
cil_list
*list, enum cil_flavor flavor)
59
case
CIL_LIST
:
835
struct
cil_list
*new;
1023
} else if (curr->flavor ==
CIL_LIST
) {
1024
struct
cil_list
*l = curr->data;
1039
static int __cil_expr_to_bitmap(struct
cil_list
*expr, ebitmap_t *out, int max, struct cil_db *db)
1158
static int __cil_expr_list_to_bitmap(struct
cil_list
*expr_list, ebitmap_t *out, int max, struct cil_db *db
[
all
...]
cil_binary.c
64
struct
cil_list
*neverallows;
1062
struct
cil_list
*class_list;
1122
struct
cil_list
*class_list;
[
all
...]
Completed in 78 milliseconds