Searched refs:sepol_context_t (Results 1 – 20 of 20) sorted by relevance
/external/selinux/libsepol/include/sepol/ |
D | context_record.h | 11 typedef struct sepol_context sepol_context_t; typedef 17 extern const char *sepol_context_get_user(const sepol_context_t * con); 20 sepol_context_t * con, const char *user); 23 extern const char *sepol_context_get_role(const sepol_context_t * con); 26 sepol_context_t * con, const char *role); 29 extern const char *sepol_context_get_type(const sepol_context_t * con); 32 sepol_context_t * con, const char *type); 35 extern const char *sepol_context_get_mls(const sepol_context_t * con); 38 sepol_context_t * con, const char *mls_range); 42 sepol_context_t ** con_ptr); [all …]
|
D | iface_record.h | 43 extern sepol_context_t *sepol_iface_get_ifcon(const sepol_iface_t * iface); 46 sepol_iface_t * iface, sepol_context_t * con); 48 extern sepol_context_t *sepol_iface_get_msgcon(const sepol_iface_t * iface); 51 sepol_iface_t * iface, sepol_context_t * con);
|
D | port_record.h | 57 extern sepol_context_t *sepol_port_get_con(const sepol_port_t * port); 60 sepol_port_t * port, sepol_context_t * con);
|
D | node_record.h | 82 extern sepol_context_t *sepol_node_get_con(const sepol_node_t * node); 85 sepol_node_t * node, sepol_context_t * con);
|
D | context.h | 20 const sepol_context_t * context);
|
/external/selinux/libsepol/src/ |
D | context_record.c | 26 const char *sepol_context_get_user(const sepol_context_t * con) in sepol_context_get_user() 35 sepol_context_t * con, const char *user) in hidden_def() 53 const char *sepol_context_get_role(const sepol_context_t * con) in hidden_def() 62 sepol_context_t * con, const char *role) in hidden_def() 79 const char *sepol_context_get_type(const sepol_context_t * con) in hidden_def() 88 sepol_context_t * con, const char *type) in hidden_def() 105 const char *sepol_context_get_mls(const sepol_context_t * con) in hidden_def() 114 sepol_context_t * con, const char *mls) in hidden_def() 131 int sepol_context_create(sepol_handle_t * handle, sepol_context_t ** con_ptr) in hidden_def() 134 sepol_context_t *con = in hidden_def() [all …]
|
D | iface_record.c | 14 sepol_context_t *netif_con; 17 sepol_context_t *netmsg_con; 145 sepol_context_t *sepol_iface_get_ifcon(const sepol_iface_t * iface) in hidden_def() 154 sepol_iface_t * iface, sepol_context_t * con) in hidden_def() 157 sepol_context_t *newcon; in hidden_def() 172 sepol_context_t *sepol_iface_get_msgcon(const sepol_iface_t * iface) in hidden_def() 181 sepol_iface_t * iface, sepol_context_t * con) in hidden_def() 184 sepol_context_t *newcon; in hidden_def()
|
D | port_record.c | 16 sepol_context_t *con; 266 sepol_context_t *sepol_port_get_con(const sepol_port_t * port) in hidden_def() 275 sepol_port_t * port, sepol_context_t * con) in hidden_def() 278 sepol_context_t *newcon; in hidden_def()
|
D | context.h | 14 const sepol_context_t * data); 19 sepol_context_t ** record);
|
D | context.c | 147 const sepol_context_t * record) in context_from_record() 246 sepol_context_t ** record) in context_to_record() 249 sepol_context_t *tmp_record = NULL; in context_to_record() 299 sepol_context_t *ctx_record = NULL; in context_from_string() 336 const sepol_context_t * context) in sepol_context_check()
|
D | node_record.c | 25 sepol_context_t *con; 643 sepol_context_t *sepol_node_get_con(const sepol_node_t * node) in hidden_def() 652 sepol_node_t * node, sepol_context_t * con) in hidden_def() 655 sepol_context_t *newcon; in hidden_def()
|
D | interfaces.c | 75 sepol_context_t *tmp_con = NULL; in iface_to_record()
|
D | ports.c | 118 sepol_context_t *tmp_con = NULL; in port_to_record()
|
D | nodes.c | 90 sepol_context_t *tmp_con = NULL; in node_to_record()
|
/external/selinux/libsemanage/src/ |
D | context_record.c | 6 typedef sepol_context_t semanage_context_t;
|
D | fcontexts_local.c | 105 (sepol_context_t *) con) < 0) in validate_handler()
|
D | iface_record.c | 12 typedef sepol_context_t semanage_context_t;
|
D | port_record.c | 12 typedef sepol_context_t semanage_context_t;
|
D | node_record.c | 13 typedef sepol_context_t semanage_context_t;
|
D | genhomedircon.c | 564 sepol_context_t *ctx_record = NULL; in check_line() 610 sepol_context_t *context; in write_contexts()
|