Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dkernel_to_common.c452 struct ocontext *const *aa = a; in fsuse_data_cmp()
453 struct ocontext *const *bb = b; in fsuse_data_cmp()
468 struct ocontext *const *aa = a; in portcon_data_cmp()
469 struct ocontext *const *bb = b; in portcon_data_cmp()
489 struct ocontext *const *aa = a; in netif_data_cmp()
490 struct ocontext *const *bb = b; in netif_data_cmp()
497 struct ocontext *const *aa = a; in node_data_cmp()
498 struct ocontext *const *bb = b; in node_data_cmp()
513 struct ocontext *const *aa = a; in node6_data_cmp()
514 struct ocontext *const *bb = b; in node6_data_cmp()
[all …]
Dmodule_to_cil.c2551 unsigned num_sids, struct ocontext *isids) in ocontext_isid_to_cil()
2555 struct ocontext *isid; in ocontext_isid_to_cil()
2614 static int ocontext_selinux_isid_to_cil(struct policydb *pdb, struct ocontext *isids) in ocontext_selinux_isid_to_cil()
2629 static int ocontext_selinux_fs_to_cil(struct policydb *UNUSED(pdb), struct ocontext *fss) in ocontext_selinux_fs_to_cil()
2638 static int ocontext_selinux_port_to_cil(struct policydb *pdb, struct ocontext *portcons) in ocontext_selinux_port_to_cil()
2641 struct ocontext *portcon; in ocontext_selinux_port_to_cil()
2679 struct ocontext *ibpkeycons) in ocontext_selinux_ibpkey_to_cil()
2682 struct ocontext *ibpkeycon; in ocontext_selinux_ibpkey_to_cil()
2717 static int ocontext_selinux_netif_to_cil(struct policydb *pdb, struct ocontext *netifs) in ocontext_selinux_netif_to_cil()
2719 struct ocontext *netif; in ocontext_selinux_netif_to_cil()
[all …]
Dkernel_to_cil.c533 unsigned num_sids, struct ocontext *isids) in write_sids_to_cil()
535 struct ocontext *isid; in write_sids_to_cil()
2498 struct ocontext *isid; in write_sid_context_rules_to_cil()
2561 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_cil()
2600 struct ocontext *ocon; in write_genfscon_rules_to_cil()
2646 struct ocontext *portcon; in write_selinux_port_rules_to_cil()
2701 struct ocontext *netif; in write_selinux_netif_rules_to_cil()
2735 struct ocontext *node; in write_selinux_node_rules_to_cil()
2775 struct ocontext *node; in write_selinux_node6_rules_to_cil()
2815 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_cil()
[all …]
Dkernel_to_conf.c432 unsigned num_sids, struct ocontext *isids) in write_sids_to_conf()
434 struct ocontext *isid; in write_sids_to_conf()
2358 struct ocontext *isid; in write_sid_context_rules_to_conf()
2421 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_conf()
2460 struct ocontext *ocon; in write_genfscon_rules_to_conf()
2506 struct ocontext *portcon; in write_selinux_port_rules_to_conf()
2561 struct ocontext *netif; in write_selinux_netif_rules_to_conf()
2595 struct ocontext *node; in write_selinux_node_rules_to_conf()
2636 struct ocontext *node6; in write_selinux_node6_rules_to_conf()
2676 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_conf()
[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.c2394 struct sigaction context, ocontext; in PyOS_setsig() local
2398 if (sigaction(sig, &context, &ocontext) == -1) in PyOS_setsig()
2400 return ocontext.sa_handler; in PyOS_setsig()
/external/python/cpython2/Python/
Dpythonrun.c1917 struct sigaction context, ocontext; in PyOS_setsig() local
1921 if (sigaction(sig, &context, &ocontext) == -1) in PyOS_setsig()
1923 return ocontext.sa_handler; in PyOS_setsig()