Searched refs:ocontext_t (Results 1 – 10 of 10) sorted by relevance
/external/libsepol/src/ |
D | interfaces.c | 14 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()
|
D | ports.c | 43 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()
|
D | nodes.c | 16 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()
|
D | services.c | 1080 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()
|
D | policydb.c | 1187 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 …]
|
D | expand.c | 2029 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()
|
D | write.c | 1203 ocontext_t *c; in ocontext_write_xen() 1272 ocontext_t *c; in ocontext_write_selinux() 1376 ocontext_t *c; in genfs_write()
|
/external/checkpolicy/ |
D | policy_define.c | 282 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/ |
D | policydb.h | 337 } ocontext_t; typedef 538 ocontext_t *ocontexts[OCON_NUM];
|
/external/checkpolicy/test/ |
D | dismod.c | 415 ocontext_t *cur; in display_initial_sids()
|