Home
last modified time | relevance | path

Searched refs:ocontext (Results 1 – 8 of 8) 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.c2535 static int ocontext_isid_to_cil(struct policydb *pdb, const char **sid_to_string, struct ocontext *… in ocontext_isid_to_cil()
2539 struct ocontext *isid; in ocontext_isid_to_cil()
2587 static int ocontext_selinux_isid_to_cil(struct policydb *pdb, struct ocontext *isids) in ocontext_selinux_isid_to_cil()
2636 static int ocontext_selinux_fs_to_cil(struct policydb *UNUSED(pdb), struct ocontext *fss) in ocontext_selinux_fs_to_cil()
2645 static int ocontext_selinux_port_to_cil(struct policydb *pdb, struct ocontext *portcons) in ocontext_selinux_port_to_cil()
2648 struct ocontext *portcon; in ocontext_selinux_port_to_cil()
2685 struct ocontext *ibpkeycons) in ocontext_selinux_ibpkey_to_cil()
2688 struct ocontext *ibpkeycon; in ocontext_selinux_ibpkey_to_cil()
2723 static int ocontext_selinux_netif_to_cil(struct policydb *pdb, struct ocontext *netifs) in ocontext_selinux_netif_to_cil()
2725 struct ocontext *netif; in ocontext_selinux_netif_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()
2650 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_conf()
[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()
2789 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_cil()
[all …]
Dservices.c1025 context_struct_t *ocontext; in sepol_validate_transition() local
1037 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition()
1038 if (!ocontext) { in sepol_validate_transition()
1057 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition()
1078 context_struct_t *ocontext; in sepol_validate_transition_reason_buffer() local
1090 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition_reason_buffer()
1091 if (!ocontext) { in sepol_validate_transition_reason_buffer()
1120 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition_reason_buffer()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h338 typedef struct ocontext { struct
380 struct ocontext *next; argument
385 struct ocontext *head;
/external/python/cpython3/Python/
Dpylifecycle.c1652 struct sigaction context, ocontext; in PyOS_setsig() local
1656 if (sigaction(sig, &context, &ocontext) == -1) in PyOS_setsig()
1658 return ocontext.sa_handler; in PyOS_setsig()
/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()