Home
last modified time | relevance | path

Searched refs:sepol_context_t (Results 1 – 20 of 20) sorted by relevance

/external/selinux/libsepol/include/sepol/
Dcontext_record.h11 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 …]
Diface_record.h43 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);
Dport_record.h57 extern sepol_context_t *sepol_port_get_con(const sepol_port_t * port);
60 sepol_port_t * port, sepol_context_t * con);
Dnode_record.h82 extern sepol_context_t *sepol_node_get_con(const sepol_node_t * node);
85 sepol_node_t * node, sepol_context_t * con);
Dcontext.h20 const sepol_context_t * context);
/external/selinux/libsepol/src/
Dcontext_record.c26 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 …]
Diface_record.c14 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()
Dport_record.c16 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()
Dcontext.h14 const sepol_context_t * data);
19 sepol_context_t ** record);
Dcontext.c147 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()
Dnode_record.c25 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()
Dinterfaces.c75 sepol_context_t *tmp_con = NULL; in iface_to_record()
Dports.c118 sepol_context_t *tmp_con = NULL; in port_to_record()
Dnodes.c90 sepol_context_t *tmp_con = NULL; in node_to_record()
/external/selinux/libsemanage/src/
Dcontext_record.c6 typedef sepol_context_t semanage_context_t;
Dfcontexts_local.c105 (sepol_context_t *) con) < 0) in validate_handler()
Diface_record.c12 typedef sepol_context_t semanage_context_t;
Dport_record.c12 typedef sepol_context_t semanage_context_t;
Dnode_record.c13 typedef sepol_context_t semanage_context_t;
Dgenhomedircon.c564 sepol_context_t *ctx_record = NULL; in check_line()
610 sepol_context_t *context; in write_contexts()