Home
last modified time | relevance | path

Searched refs:semanage_context_t (Results 1 – 25 of 30) sorted by relevance

12

/external/selinux/libsemanage/include/semanage/
Dcontext_record.h10 typedef struct semanage_context semanage_context_t; typedef
15 extern const char *semanage_context_get_user(const semanage_context_t * con);
18 semanage_context_t * con,
22 extern const char *semanage_context_get_role(const semanage_context_t * con);
25 semanage_context_t * con,
29 extern const char *semanage_context_get_type(const semanage_context_t * con);
32 semanage_context_t * con,
36 extern const char *semanage_context_get_mls(const semanage_context_t * con);
39 semanage_context_t * con,
44 semanage_context_t ** con_ptr);
[all …]
Diface_record.h41 extern semanage_context_t *semanage_iface_get_ifcon(const semanage_iface_t *
46 semanage_context_t * con);
48 extern semanage_context_t *semanage_iface_get_msgcon(const semanage_iface_t *
53 semanage_context_t * con);
Dibendport_record.h47 extern semanage_context_t *semanage_ibendport_get_con(const semanage_ibendport_t *ibendport);
51 semanage_context_t *con);
Dport_record.h56 extern semanage_context_t *semanage_port_get_con(const semanage_port_t * port);
60 semanage_context_t * con);
Dfcontext_record.h61 extern semanage_context_t *semanage_fcontext_get_con(const semanage_fcontext_t *
66 semanage_context_t * con);
Dibpkey_record.h57 extern semanage_context_t *semanage_ibpkey_get_con(const semanage_ibpkey_t *ibpkey);
61 semanage_context_t *con);
Dnode_record.h79 extern semanage_context_t *semanage_node_get_con(const semanage_node_t * node);
83 semanage_context_t * con);
/external/selinux/libsemanage/src/
Dcontext_record.c6 typedef sepol_context_t semanage_context_t; typedef
12 const char *semanage_context_get_user(const semanage_context_t * con) in semanage_context_get_user()
19 semanage_context_t * con, const char *user) in semanage_context_set_user()
26 const char *semanage_context_get_role(const semanage_context_t * con) in semanage_context_get_role()
33 semanage_context_t * con, const char *role) in semanage_context_set_role()
40 const char *semanage_context_get_type(const semanage_context_t * con) in semanage_context_get_type()
47 semanage_context_t * con, const char *type) in semanage_context_set_type()
54 const char *semanage_context_get_mls(const semanage_context_t * con) in semanage_context_get_mls()
61 semanage_context_t * con, const char *mls_range) in semanage_context_set_mls()
69 semanage_context_t ** con_ptr) in semanage_context_create()
[all …]
Diface_record.c12 typedef sepol_context_t semanage_context_t; typedef
96 semanage_context_t *semanage_iface_get_ifcon(const semanage_iface_t * iface) in hidden_def()
105 semanage_iface_t * iface, semanage_context_t * con) in hidden_def()
113 semanage_context_t *semanage_iface_get_msgcon(const semanage_iface_t * iface) in hidden_def()
123 semanage_context_t * con) in hidden_def()
Dfcontext_record.c22 semanage_context_t *con;
233 semanage_context_t *semanage_fcontext_get_con(const semanage_fcontext_t * in hidden_def()
244 semanage_context_t * con) in hidden_def()
247 semanage_context_t *newcon; in hidden_def()
Dibendport_record.c12 typedef sepol_context_t semanage_context_t; typedef
104 semanage_context_t *semanage_ibendport_get_con(const semanage_ibendport_t *ibendport) in hidden_def()
113 semanage_context_t *con) in hidden_def()
Dport_record.c12 typedef sepol_context_t semanage_context_t; typedef
137 semanage_context_t *semanage_port_get_con(const semanage_port_t * port) in hidden_def()
146 semanage_port_t * port, semanage_context_t * con) in hidden_def()
Dibpkey_record.c12 typedef sepol_context_t semanage_context_t; typedef
133 semanage_context_t *semanage_ibpkey_get_con(const semanage_ibpkey_t *ibpkey) in hidden_def()
141 semanage_ibpkey_t *ibpkey, semanage_context_t *con) in hidden_def()
Dinterfaces_file.c29 semanage_context_t *ifcon = semanage_iface_get_ifcon(iface); in iface_print()
30 semanage_context_t *msgcon = semanage_iface_get_msgcon(iface); in iface_print()
62 semanage_context_t *con = NULL; in iface_parse()
Dnode_record.c13 typedef sepol_context_t semanage_context_t; typedef
185 semanage_context_t *semanage_node_get_con(const semanage_node_t * node) in hidden_def()
194 semanage_node_t * node, semanage_context_t * con) in hidden_def()
Dsemanageswig_ruby.i48 %typemap(in, numinputs=0) semanage_context_t **(semanage_context_t *temp=NULL) {
52 %typemap(argout) semanage_context_t** {
Dibendports_file.c34 semanage_context_t *con = semanage_ibendport_get_con(ibendport); in ibendport_print()
65 semanage_context_t *con = NULL; in ibendport_parse()
Dibpkeys_file.c35 semanage_context_t *con = semanage_ibpkey_get_con(ibpkey); in ibpkey_print()
70 semanage_context_t *con = NULL; in ibpkey_parse()
Dfcontexts_file.c56 semanage_context_t *con = semanage_fcontext_get_con(fcontext); in fcontext_print()
86 semanage_context_t *con = NULL; in fcontext_parse()
Dports_file.c33 semanage_context_t *con = semanage_port_get_con(port); in port_print()
67 semanage_context_t *con = NULL; in port_parse()
/external/selinux/libsemanage/tests/
Dtest_iface.c297 semanage_context_t *con1 = NULL; in test_iface_get_set_ifcon()
298 semanage_context_t *con2 = NULL; in test_iface_get_set_ifcon()
320 semanage_context_t *con1 = NULL; in test_iface_get_set_msgcon()
321 semanage_context_t *con2 = NULL; in test_iface_get_set_msgcon()
343 semanage_context_t *ifcon = NULL; in test_iface_create()
344 semanage_context_t *msgcon = NULL; in test_iface_create()
369 semanage_context_t *ifcon = NULL; in test_iface_clone()
370 semanage_context_t *ifcon2 = NULL; in test_iface_clone()
371 semanage_context_t *msgcon = NULL; in test_iface_clone()
372 semanage_context_t *msgcon2 = NULL; in test_iface_clone()
[all …]
Dtest_port.c384 semanage_context_t *con1 = NULL; in test_port_get_set_con()
385 semanage_context_t *con2 = NULL; in test_port_get_set_con()
429 semanage_context_t *con = NULL; in test_port_clone()
430 semanage_context_t *con2 = NULL; in test_port_clone()
461 semanage_context_t *con = NULL; in test_port_query()
462 semanage_context_t *con_exp = NULL; in test_port_query()
579 semanage_context_t *con = NULL; in test_port_modify_del_local()
580 semanage_context_t *con_local = NULL; in test_port_modify_del_local()
612 semanage_context_t *con = NULL; in test_port_query_local()
613 semanage_context_t *con_exp = NULL; in test_port_query_local()
[all …]
Dtest_other.c60 semanage_context_t *con = NULL; in test_semanage_context()
61 semanage_context_t *con_clone = NULL; in test_semanage_context()
Dtest_node.c424 semanage_context_t *con1 = NULL; in test_node_get_set_con()
425 semanage_context_t *con2 = NULL; in test_node_get_set_con()
447 semanage_context_t *con = NULL; in test_node_create()
473 semanage_context_t *con = NULL; in test_node_clone()
474 semanage_context_t *con2 = NULL; in test_node_clone()
524 semanage_context_t *con = NULL; in test_node_query()
525 semanage_context_t *con_exp = NULL; in test_node_query()
Dtest_ibendport.c166 semanage_context_t *con = NULL; in test_ibendport_query()
167 semanage_context_t *con_exp = NULL; in test_ibendport_query()
305 semanage_context_t *con = NULL; in test_ibendport_list()
493 semanage_context_t *con = NULL; in test_ibendport_list_local()

12