Home
last modified time | relevance | path

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

/external/libsepol/include/sepol/
Dcontext_record.h7 typedef struct sepol_context sepol_context_t; typedef
13 extern const char *sepol_context_get_user(const sepol_context_t * con);
16 sepol_context_t * con, const char *user);
19 extern const char *sepol_context_get_role(const sepol_context_t * con);
22 sepol_context_t * con, const char *role);
25 extern const char *sepol_context_get_type(const sepol_context_t * con);
28 sepol_context_t * con, const char *type);
31 extern const char *sepol_context_get_mls(const sepol_context_t * con);
34 sepol_context_t * con, const char *mls_range);
38 sepol_context_t ** con_ptr);
[all …]
Diface_record.h39 extern sepol_context_t *sepol_iface_get_ifcon(const sepol_iface_t * iface);
42 sepol_iface_t * iface, sepol_context_t * con);
44 extern sepol_context_t *sepol_iface_get_msgcon(const sepol_iface_t * iface);
47 sepol_iface_t * iface, sepol_context_t * con);
Dport_record.h52 extern sepol_context_t *sepol_port_get_con(const sepol_port_t * port);
55 sepol_port_t * port, sepol_context_t * con);
Dnode_record.h78 extern sepol_context_t *sepol_node_get_con(const sepol_node_t * node);
81 sepol_node_t * node, sepol_context_t * con);
Dcontext.h16 const sepol_context_t * context);
/external/libsepol/src/
Dcontext_record.c25 const char *sepol_context_get_user(const sepol_context_t * con) in sepol_context_get_user()
34 sepol_context_t * con, const char *user) in hidden_def()
52 const char *sepol_context_get_role(const sepol_context_t * con) in hidden_def()
61 sepol_context_t * con, const char *role) in hidden_def()
78 const char *sepol_context_get_type(const sepol_context_t * con) in hidden_def()
87 sepol_context_t * con, const char *type) in hidden_def()
104 const char *sepol_context_get_mls(const sepol_context_t * con) in hidden_def()
113 sepol_context_t * con, const char *mls) in hidden_def()
130 int sepol_context_create(sepol_handle_t * handle, sepol_context_t ** con_ptr) in hidden_def()
133 sepol_context_t *con = in hidden_def()
[all …]
Diface_record.c14 sepol_context_t *netif_con;
17 sepol_context_t *netmsg_con;
137 sepol_context_t *sepol_iface_get_ifcon(const sepol_iface_t * iface) in hidden_def()
146 sepol_iface_t * iface, sepol_context_t * con) in hidden_def()
149 sepol_context_t *newcon; in hidden_def()
164 sepol_context_t *sepol_iface_get_msgcon(const sepol_iface_t * iface) in hidden_def()
173 sepol_iface_t * iface, sepol_context_t * con) in hidden_def()
176 sepol_context_t *newcon; in hidden_def()
Dcontext.h14 const sepol_context_t * data);
19 sepol_context_t ** record);
Dport_record.c16 sepol_context_t *con;
264 sepol_context_t *sepol_port_get_con(const sepol_port_t * port) in hidden_def()
273 sepol_port_t * port, sepol_context_t * con) in hidden_def()
276 sepol_context_t *newcon; in hidden_def()
Dcontext.c146 const sepol_context_t * record) in context_from_record()
245 sepol_context_t ** record) in context_to_record()
248 sepol_context_t *tmp_record = NULL; in context_to_record()
298 sepol_context_t *ctx_record = NULL; in context_from_string()
330 const sepol_context_t * context) in sepol_context_check()
Dnode_record.c25 sepol_context_t *con;
651 sepol_context_t *sepol_node_get_con(const sepol_node_t * node) in hidden_def()
660 sepol_node_t * node, sepol_context_t * con) in hidden_def()
663 sepol_context_t *newcon; in hidden_def()
Dinterfaces.c75 sepol_context_t *tmp_con = NULL; in iface_to_record()
Dports.c111 sepol_context_t *tmp_con = NULL; in port_to_record()
Dnodes.c90 sepol_context_t *tmp_con = NULL; in node_to_record()