Home
last modified time | relevance | path

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

12

/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);
Dibendport_record.h53 extern sepol_context_t *sepol_ibendport_get_con(const sepol_ibendport_t *ibendport);
57 sepol_context_t *con);
Dport_record.h58 extern sepol_context_t *sepol_port_get_con(const sepol_port_t * port);
61 sepol_port_t * port, sepol_context_t * con);
Dibpkey_record.h62 extern sepol_context_t *sepol_ibpkey_get_con(const sepol_ibpkey_t *ibpkey);
65 sepol_ibpkey_t *ibpkey, 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;
268 sepol_context_t *sepol_port_get_con(const sepol_port_t * port) in hidden_def()
277 sepol_port_t * port, sepol_context_t * con) in hidden_def()
280 sepol_context_t *newcon; in hidden_def()
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()
Dibendport_record.c20 sepol_context_t *con;
273 sepol_context_t *sepol_ibendport_get_con(const sepol_ibendport_t *ibendport) in hidden_def()
281 sepol_ibendport_t *ibendport, sepol_context_t *con) in hidden_def()
283 sepol_context_t *newcon; in hidden_def()
Dcontext.h14 const sepol_context_t * data);
19 sepol_context_t ** record);
Dibpkey_record.c20 sepol_context_t *con;
357 sepol_context_t *sepol_ibpkey_get_con(const sepol_ibpkey_t *ibpkey) in hidden_def()
365 sepol_ibpkey_t *ibpkey, sepol_context_t *con) in hidden_def()
367 sepol_context_t *newcon; in hidden_def()
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()
Dibendports.c79 sepol_context_t *tmp_con = NULL; in ibendport_to_record()
Dinterfaces.c75 sepol_context_t *tmp_con = NULL; in iface_to_record()
Dibpkeys.c73 sepol_context_t *tmp_con = NULL; in ibpkey_to_record()
/external/selinux/libsemanage/src/
Dcontext_record.c6 typedef sepol_context_t semanage_context_t;
Diface_record.c12 typedef sepol_context_t semanage_context_t;
Dfcontexts_local.c105 (sepol_context_t *) con) < 0) in validate_handler()
Dibendport_record.c12 typedef sepol_context_t semanage_context_t;
Dport_record.c12 typedef sepol_context_t semanage_context_t;
Dibpkey_record.c12 typedef sepol_context_t semanage_context_t;
Dnode_record.c13 typedef sepol_context_t semanage_context_t;

12