Home
last modified time | relevance | path

Searched refs:ocontext (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/src/
Dkernel_to_common.c446 struct ocontext *const *aa = a; in fsuse_data_cmp()
447 struct ocontext *const *bb = b; in fsuse_data_cmp()
462 struct ocontext *const *aa = a; in portcon_data_cmp()
463 struct ocontext *const *bb = b; in portcon_data_cmp()
483 struct ocontext *const *aa = a; in netif_data_cmp()
484 struct ocontext *const *bb = b; in netif_data_cmp()
491 struct ocontext *const *aa = a; in node_data_cmp()
492 struct ocontext *const *bb = b; in node_data_cmp()
507 struct ocontext *const *aa = a; in node6_data_cmp()
508 struct ocontext *const *bb = b; in node6_data_cmp()
[all …]
Dmodule_to_cil.c2510 static int ocontext_isid_to_cil(struct policydb *pdb, const char **sid_to_string, struct ocontext *… in ocontext_isid_to_cil()
2514 struct ocontext *isid; in ocontext_isid_to_cil()
2562 static int ocontext_selinux_isid_to_cil(struct policydb *pdb, struct ocontext *isids) in ocontext_selinux_isid_to_cil()
2611 static int ocontext_selinux_fs_to_cil(struct policydb *UNUSED(pdb), struct ocontext *fss) in ocontext_selinux_fs_to_cil()
2620 static int ocontext_selinux_port_to_cil(struct policydb *pdb, struct ocontext *portcons) in ocontext_selinux_port_to_cil()
2623 struct ocontext *portcon; in ocontext_selinux_port_to_cil()
2659 static int ocontext_selinux_netif_to_cil(struct policydb *pdb, struct ocontext *netifs) in ocontext_selinux_netif_to_cil()
2661 struct ocontext *netif; in ocontext_selinux_netif_to_cil()
2675 static int ocontext_selinux_node_to_cil(struct policydb *pdb, struct ocontext *nodes) in ocontext_selinux_node_to_cil()
2678 struct ocontext *node; in ocontext_selinux_node_to_cil()
[all …]
Dkernel_to_cil.c529 static int write_sids_to_cil(FILE *out, const char *const *sid_to_str, struct ocontext *isids) in write_sids_to_cil()
531 struct ocontext *isid; in write_sids_to_cil()
2481 struct ocontext *isid; in write_sid_context_rules_to_cil()
2536 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_cil()
2575 struct ocontext *ocon; in write_genfscon_rules_to_cil()
2621 struct ocontext *portcon; in write_selinux_port_rules_to_cil()
2675 struct ocontext *netif; in write_selinux_netif_rules_to_cil()
2709 struct ocontext *node; in write_selinux_node_rules_to_cil()
2749 struct ocontext *node; in write_selinux_node6_rules_to_cil()
2794 struct ocontext *pirq; in write_xen_pirq_rules_to_cil()
[all …]
Dkernel_to_conf.c428 static int write_sids_to_conf(FILE *out, const char *const *sid_to_str, struct ocontext *isids) in write_sids_to_conf()
430 struct ocontext *isid; in write_sids_to_conf()
2341 struct ocontext *isid; in write_sid_context_rules_to_conf()
2396 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_conf()
2435 struct ocontext *ocon; in write_genfscon_rules_to_conf()
2481 struct ocontext *portcon; in write_selinux_port_rules_to_conf()
2535 struct ocontext *netif; in write_selinux_netif_rules_to_conf()
2569 struct ocontext *node; in write_selinux_node_rules_to_conf()
2610 struct ocontext *node6; in write_selinux_node6_rules_to_conf()
2656 struct ocontext *pirq; in write_xen_pirq_rules_to_conf()
[all …]
Dservices.c1024 context_struct_t *ocontext; in sepol_validate_transition() local
1036 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition()
1037 if (!ocontext) { in sepol_validate_transition()
1056 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition()
1077 context_struct_t *ocontext; in sepol_validate_transition_reason_buffer() local
1089 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition_reason_buffer()
1090 if (!ocontext) { in sepol_validate_transition_reason_buffer()
1119 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition_reason_buffer()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h335 typedef struct ocontext { struct
368 struct ocontext *next; argument
373 struct ocontext *head;
/external/python/cpython2/Python/
Dpythonrun.c1905 struct sigaction context, ocontext; in PyOS_setsig() local
1909 if (sigaction(sig, &context, &ocontext) == -1) in PyOS_setsig()
1911 return ocontext.sa_handler; in PyOS_setsig()