/external/selinux/libsepol/src/ |
D | mls.h | 32 const char *str, context_struct_t * mls); 36 const context_struct_t * mls, char **str); 40 const context_struct_t * context); 44 const context_struct_t * context, 50 char **scontext, context_struct_t * context); 53 const context_struct_t * c); 56 policydb_t * newp, context_struct_t * context); 59 context_struct_t * scontext, 60 context_struct_t * tcontext, 62 uint32_t specified, context_struct_t * newcontext); [all …]
|
D | context.h | 13 context_struct_t ** cptr, 18 const context_struct_t * context, 24 context_struct_t ** cptr, 29 const context_struct_t * context); 34 const context_struct_t * context,
|
D | mls.c | 44 const context_struct_t * mls, char **str) in mls_to_string() 80 const char *str, context_struct_t * mls) in mls_from_string() 110 const context_struct_t * context) in mls_compute_context_len() 168 const context_struct_t * context, char **scontext) in mls_sid_to_context() 258 int mls_context_isvalid(const policydb_t * p, const context_struct_t * c) in mls_context_isvalid() 332 char oldc, char **scontext, context_struct_t * context) in mls_context_to_sid() 455 static inline int mls_copy_context(context_struct_t * dst, in mls_copy_context() 456 context_struct_t * src) in mls_copy_context() 475 static inline int mls_scopy_context(context_struct_t * dst, in mls_scopy_context() 476 context_struct_t * src) in mls_scopy_context() [all …]
|
D | context.c | 16 int policydb_context_isvalid(const policydb_t * p, const context_struct_t * c) in policydb_context_isvalid() 35 int context_is_valid(const policydb_t * p, const context_struct_t * c) in context_is_valid() 90 const context_struct_t * context, in context_to_string() 146 context_struct_t ** cptr, in context_from_record() 150 context_struct_t *scontext = NULL; in context_from_record() 161 scontext = (context_struct_t *) malloc(sizeof(context_struct_t)); in context_from_record() 245 const context_struct_t * context, in context_to_record() 294 context_struct_t ** cptr, in context_from_string() 339 context_struct_t *con = NULL; in sepol_context_check()
|
D | services.c | 291 context_struct_t *xcontext) in get_class_info() 385 static int constraint_expr_eval_reason(context_struct_t *scontext, in constraint_expr_eval_reason() 386 context_struct_t *tcontext, in constraint_expr_eval_reason() 387 context_struct_t *xcontext, in constraint_expr_eval_reason() 394 context_struct_t *c; in constraint_expr_eval_reason() 828 static int context_struct_compute_av(context_struct_t * scontext, 829 context_struct_t * tcontext, 837 static void type_attribute_bounds_av(context_struct_t *scontext, in type_attribute_bounds_av() 838 context_struct_t *tcontext, in type_attribute_bounds_av() 844 context_struct_t lo_scontext; in type_attribute_bounds_av() [all …]
|
D | sidtab.c | 43 context_struct_t * context) in sepol_sidtab_insert() 118 context_struct_t *sepol_sidtab_search(sidtab_t * s, sepol_security_id_t sid) in sepol_sidtab_search() 147 context_struct_t * context, in sepol_sidtab_map() 170 context_struct_t * context, in sepol_sidtab_map_remove_on_error() 207 context_struct_t * in sepol_sidtab_search_context() 225 context_struct_t * context, in sepol_sidtab_context_to_sid()
|
D | interfaces.c | 18 context_struct_t *tmp_con = NULL; in iface_from_record() 72 context_struct_t *ifcon = &iface->context[0]; in iface_to_record() 73 context_struct_t *msgcon = &iface->context[1]; in iface_to_record()
|
D | ports.c | 54 context_struct_t *tmp_con = NULL; in port_from_record() 115 context_struct_t *con = &port->context[0]; in port_to_record()
|
D | users.c | 50 context_struct_t context; in user_to_record() 125 context_struct_t context; in sepol_user_modify()
|
D | nodes.c | 20 context_struct_t *tmp_con = NULL; in node_from_record() 88 context_struct_t *con = &node->context[0]; in node_to_record()
|
D | genusers.c | 187 context_struct_t context;
|
D | expand.c | 2103 static int context_copy(context_struct_t * dst, context_struct_t * src, in context_copy()
|
D | write.c | 825 static int context_write(struct policydb *p, context_struct_t * c, in context_write()
|
D | policydb.c | 1960 static int context_read_and_validate(context_struct_t * c, in context_read_and_validate()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | context.h | 38 } context_struct_t; typedef 40 static inline void mls_context_init(context_struct_t * c) in mls_context_init() 45 static inline int mls_context_cpy(context_struct_t * dst, in mls_context_cpy() 46 context_struct_t * src) in mls_context_cpy() 58 static inline int mls_context_cpy_low(context_struct_t *dst, context_struct_t *src) in mls_context_cpy_low() 78 static inline int mls_context_cpy_high(context_struct_t *dst, context_struct_t *src) in mls_context_cpy_high() 95 static inline int mls_context_cmp(context_struct_t * c1, context_struct_t * c2) in mls_context_cmp() 102 static inline void mls_context_destroy(context_struct_t * c) in mls_context_destroy() 111 static inline void context_init(context_struct_t * c) in context_init() 116 static inline int context_cpy(context_struct_t * dst, context_struct_t * src) in context_cpy() [all …]
|
D | sidtab.h | 21 context_struct_t context; /* security context structure */ 44 context_struct_t * context); 46 extern context_struct_t *sepol_sidtab_search(sidtab_t * s, 51 context_struct_t * context, 57 context_struct_t * 62 context_struct_t * context, /* IN */
|
D | policydb.h | 366 context_struct_t context[2]; /* security context(s) */ 632 const context_struct_t * c);
|
/external/selinux/checkpolicy/ |
D | checkpolicy.c | 124 context_struct_t * context in print_sid()
|
D | policy_define.c | 78 static int parse_security_context(context_struct_t *c); 4405 static int parse_security_context(context_struct_t * c) in parse_security_context()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 3049 …_to_sepol_context(policydb_t *pdb, struct cil_context *cil_context, context_struct_t *sepol_contex… in __cil_context_to_sepol_context()
|