Home
last modified time | relevance | path

Searched refs:ebitmap (Results 1 - 16 of 16) sorted by relevance

/third_party/selinux/libsepol/src/
H A Dkernel_to_common.h111 int ebitmap_to_strs(const struct ebitmap *map, struct strs *strs, char **val_to_name);
112 char *ebitmap_to_str(const struct ebitmap *map, char **val_to_name, int sort);
H A Dmodule_to_cil.c734 static int ebitmap_to_cil(struct policydb *pdb, struct ebitmap *map, int type) in ebitmap_to_cil()
819 struct ebitmap *pos, *neg; in cil_print_attr_strs()
989 static int ebitmap_to_names(struct ebitmap *map, char **vals_to_names, char ***names, unsigned int *num_names) in ebitmap_to_names()
2085 static int class_order_to_cil(int indent, struct policydb *pdb, struct ebitmap order) in class_order_to_cil()
2314 struct ebitmap roles = user->roles.roles; in user_to_cil()
2403 static int sens_order_to_cil(int indent, struct policydb *pdb, struct ebitmap order) in sens_order_to_cil()
2442 static int cat_order_to_cil(int indent, struct policydb *pdb, struct ebitmap order) in cat_order_to_cil()
2470 struct ebitmap *map; in polcaps_to_cil()
2495 struct ebitmap *map = &level->cat; in level_to_cil()
3431 struct ebitmap ma in declared_scopes_to_cil()
[all...]
H A Dkernel_to_common.c17 #include <sepol/policydb/ebitmap.h>
363 int ebitmap_to_strs(const struct ebitmap *map, struct strs *strs, char **val_to_name) in ebitmap_to_strs()
382 char *ebitmap_to_str(const struct ebitmap *map, char **val_to_name, int sort) in ebitmap_to_str()
H A Dkernel_to_cil.c1019 static size_t cats_ebitmap_len(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_len()
1054 static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_to_str()
2198 struct ebitmap *types; in write_role_decl_rules_to_cil()
2402 struct ebitmap *roles; in write_user_decl_rules_to_cil()
H A Debitmap.c12 #include <sepol/policydb/ebitmap.h>
557 ERR(NULL, "security: ebitmap: map size %d does not match my size %zu (high bit was %d)", in ebitmap_read()
566 ERR(NULL, "security: ebitmap: high bit (%d) is not a multiple of the map size (%zu)", in ebitmap_read()
578 ERR(NULL, "security: ebitmap: truncated map"); in ebitmap_read()
583 ERR(NULL, "security: ebitmap: out of memory"); in ebitmap_read()
592 ERR(NULL, "security: ebitmap start bit (%d) is not a multiple of the map size (%zu)", in ebitmap_read()
597 ERR(NULL, "security: ebitmap start bit (%d) is beyond the end of the bitmap (%zu)", in ebitmap_read()
603 ERR(NULL, "security: ebitmap: truncated map"); in ebitmap_read()
609 ERR(NULL, "security: ebitmap: null map in ebitmap (startbi in ebitmap_read()
[all...]
H A Dkernel_to_conf.c1019 static size_t cats_ebitmap_len(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_len()
1046 static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name) in cats_ebitmap_to_str()
1556 static char *attrmap_to_str(struct ebitmap *map, char **val_to_name) in attrmap_to_str()
H A Dpolicydb_validate.c3 #include <sepol/policydb/ebitmap.h>
H A Dwrite.c38 #include <sepol/policydb/ebitmap.h>
1180 * ebitmap instead. in role_write()
/third_party/selinux/libsepol/include/sepol/policydb/
H A Dconstraint.h21 #include <sepol/policydb/ebitmap.h>
H A Dcontext.h22 #include <sepol/policydb/ebitmap.h>
H A Debitmap.h37 typedef struct ebitmap { struct
H A Dmls_types.h37 #include <sepol/policydb/ebitmap.h>
/third_party/selinux/libsepol/tests/
H A Dlibsepol-tests.c22 #include "test-ebitmap.h"
69 DECLARE_SUITE(ebitmap); in do_tests()
H A Dtest-ebitmap.c1 #include "test-ebitmap.h"
7 #include <sepol/policydb/ebitmap.h>
/third_party/selinux/libsepol/cil/src/
H A Dcil_find.c30 #include <sepol/policydb/ebitmap.h>
H A Dcil.c1475 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap) in cil_cats_to_ebitmap()
1518 struct ebitmap elow; in cil_level_equals()
1519 struct ebitmap ehigh; in cil_level_equals()

Completed in 25 milliseconds