Home
last modified time | relevance | path

Searched refs:ocontext_t (Results 1 – 10 of 10) sorted by relevance

/external/libsepol/src/
Dinterfaces.c14 ocontext_t ** iface, const sepol_iface_t * record) in iface_from_record()
17 ocontext_t *tmp_iface = NULL; in iface_from_record()
20 tmp_iface = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in iface_from_record()
68 ocontext_t * iface, sepol_iface_t ** record) in iface_to_record()
115 ocontext_t *c, *head; in sepol_iface_exists()
140 ocontext_t *c, *head; in sepol_iface_query()
172 ocontext_t *head, *prev, *c, *iface = NULL; in sepol_iface_modify()
224 ocontext_t *c, *head; in sepol_iface_count()
244 ocontext_t *c, *head; in sepol_iface_iterate()
Dports.c43 ocontext_t ** port, const sepol_port_t * data) in port_from_record()
46 ocontext_t *tmp_port = NULL; in port_from_record()
54 tmp_port = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in port_from_record()
102 ocontext_t * port, sepol_port_t ** record) in port_to_record()
148 ocontext_t *c, *head; in sepol_port_count()
168 ocontext_t *c, *head; in sepol_port_exists()
206 ocontext_t *c, *head; in sepol_port_query()
246 ocontext_t *port = NULL; in sepol_port_modify()
283 ocontext_t *c, *head; in sepol_port_iterate()
Dnodes.c16 ocontext_t ** node, const sepol_node_t * data) in node_from_record()
19 ocontext_t *tmp_node = NULL; in node_from_record()
23 tmp_node = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in node_from_record()
85 ocontext_t * node, int proto, sepol_node_t ** record) in node_to_record()
152 ocontext_t *c, *head; in sepol_node_count()
176 ocontext_t *c, *head; in sepol_node_exists()
236 ocontext_t *c, *head; in sepol_node_query()
302 ocontext_t *node = NULL; in sepol_node_modify()
352 ocontext_t *c, *head; in sepol_node_iterate()
Dservices.c1080 ocontext_t *c; in sepol_fs_sid()
1122 ocontext_t *c; in sepol_port_sid()
1162 ocontext_t *c; in sepol_netif_sid()
1220 ocontext_t *c; in sepol_node_sid()
1394 ocontext_t *c; in sepol_genfs_sid()
1438 ocontext_t *c; in sepol_fs_use()
Dpolicydb.c1187 void ocontext_selinux_free(ocontext_t **ocontexts) in ocontext_selinux_free()
1189 ocontext_t *c, *ctmp; in ocontext_selinux_free()
1207 void ocontext_xen_free(ocontext_t **ocontexts) in ocontext_xen_free()
1209 ocontext_t *c, *ctmp; in ocontext_xen_free()
1231 ocontext_t *c, *ctmp; in policydb_destroy()
1385 ocontext_t *head, *c; in policydb_load_isids()
2410 ocontext_t *l, *c; in ocontext_read_xen()
2421 c = calloc(1, sizeof(ocontext_t)); in ocontext_read_xen()
2491 ocontext_t *l, *c; in ocontext_read_selinux()
2502 c = calloc(1, sizeof(ocontext_t)); in ocontext_read_selinux()
[all …]
Dexpand.c2029 ocontext_t *c, *n, *l; in ocontext_copy_xen()
2034 n = malloc(sizeof(ocontext_t)); in ocontext_copy_xen()
2039 memset(n, 0, sizeof(ocontext_t)); in ocontext_copy_xen()
2088 ocontext_t *c, *n, *l; in ocontext_copy_selinux()
2093 n = malloc(sizeof(ocontext_t)); in ocontext_copy_selinux()
2098 memset(n, 0, sizeof(ocontext_t)); in ocontext_copy_selinux()
2183 ocontext_t *c, *newc, *l; in genfs_copy()
2203 newc = malloc(sizeof(ocontext_t)); in genfs_copy()
2210 memset(newc, 0, sizeof(ocontext_t)); in genfs_copy()
Dwrite.c1203 ocontext_t *c; in ocontext_write_xen()
1272 ocontext_t *c; in ocontext_write_selinux()
1376 ocontext_t *c; in genfs_write()
/external/checkpolicy/
Dpolicy_define.c282 ocontext_t *newc = 0, *c, *head; in define_initial_sid()
295 newc = (ocontext_t *) malloc(sizeof(ocontext_t)); in define_initial_sid()
300 memset(newc, 0, sizeof(ocontext_t)); in define_initial_sid()
3734 ocontext_t *c, *head; in define_initial_sid_context()
3775 ocontext_t *newc, *c, *head; in define_fs_context()
3788 newc = (ocontext_t *) malloc(sizeof(ocontext_t)); in define_fs_context()
3793 memset(newc, 0, sizeof(ocontext_t)); in define_fs_context()
3836 ocontext_t *newc, *c, *l, *head; in define_pirq_context()
3851 newc = malloc(sizeof(ocontext_t)); in define_pirq_context()
3856 memset(newc, 0, sizeof(ocontext_t)); in define_pirq_context()
[all …]
/external/libsepol/include/sepol/policydb/
Dpolicydb.h337 } ocontext_t; typedef
538 ocontext_t *ocontexts[OCON_NUM];
/external/checkpolicy/test/
Ddismod.c415 ocontext_t *cur; in display_initial_sids()