Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dkernel_to_common.c450 struct ocontext *const *aa = a; in fsuse_data_cmp()
451 struct ocontext *const *bb = b; in fsuse_data_cmp()
466 struct ocontext *const *aa = a; in portcon_data_cmp()
467 struct ocontext *const *bb = b; in portcon_data_cmp()
487 struct ocontext *const *aa = a; in netif_data_cmp()
488 struct ocontext *const *bb = b; in netif_data_cmp()
495 struct ocontext *const *aa = a; in node_data_cmp()
496 struct ocontext *const *bb = b; in node_data_cmp()
511 struct ocontext *const *aa = a; in node6_data_cmp()
512 struct ocontext *const *bb = b; in node6_data_cmp()
[all …]
Dmodule_to_cil.c2515 unsigned num_sids, struct ocontext *isids) in ocontext_isid_to_cil()
2519 struct ocontext *isid; in ocontext_isid_to_cil()
2578 static int ocontext_selinux_isid_to_cil(struct policydb *pdb, struct ocontext *isids) in ocontext_selinux_isid_to_cil()
2593 static int ocontext_selinux_fs_to_cil(struct policydb *UNUSED(pdb), struct ocontext *fss) in ocontext_selinux_fs_to_cil()
2602 static int ocontext_selinux_port_to_cil(struct policydb *pdb, struct ocontext *portcons) in ocontext_selinux_port_to_cil()
2605 struct ocontext *portcon; in ocontext_selinux_port_to_cil()
2643 struct ocontext *ibpkeycons) in ocontext_selinux_ibpkey_to_cil()
2646 struct ocontext *ibpkeycon; in ocontext_selinux_ibpkey_to_cil()
2681 static int ocontext_selinux_netif_to_cil(struct policydb *pdb, struct ocontext *netifs) in ocontext_selinux_netif_to_cil()
2683 struct ocontext *netif; in ocontext_selinux_netif_to_cil()
[all …]
Dkernel_to_conf.c436 unsigned num_sids, struct ocontext *isids) in write_sids_to_conf()
438 struct ocontext *isid; in write_sids_to_conf()
2368 struct ocontext *isid; in write_sid_context_rules_to_conf()
2431 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_conf()
2470 struct ocontext *ocon; in write_genfscon_rules_to_conf()
2516 struct ocontext *portcon; in write_selinux_port_rules_to_conf()
2571 struct ocontext *netif; in write_selinux_netif_rules_to_conf()
2605 struct ocontext *node; in write_selinux_node_rules_to_conf()
2646 struct ocontext *node6; in write_selinux_node6_rules_to_conf()
2686 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_conf()
[all …]
Dkernel_to_cil.c537 unsigned num_sids, struct ocontext *isids) in write_sids_to_cil()
539 struct ocontext *isid; in write_sids_to_cil()
2496 struct ocontext *isid; in write_sid_context_rules_to_cil()
2559 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_cil()
2598 struct ocontext *ocon; in write_genfscon_rules_to_cil()
2644 struct ocontext *portcon; in write_selinux_port_rules_to_cil()
2699 struct ocontext *netif; in write_selinux_netif_rules_to_cil()
2733 struct ocontext *node; in write_selinux_node_rules_to_cil()
2773 struct ocontext *node; in write_selinux_node6_rules_to_cil()
2813 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_cil()
[all …]
Dservices.c1021 context_struct_t *ocontext; in sepol_validate_transition() local
1033 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition()
1034 if (!ocontext) { in sepol_validate_transition()
1053 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition()
1074 context_struct_t *ocontext; in sepol_validate_transition_reason_buffer() local
1086 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition_reason_buffer()
1087 if (!ocontext) { in sepol_validate_transition_reason_buffer()
1116 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition_reason_buffer()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h339 typedef struct ocontext { struct
381 struct ocontext *next; argument
386 struct ocontext *head;
/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()
/external/python/cpython3/Python/
Dpylifecycle.c2532 struct sigaction context, ocontext; in PyOS_setsig() local
2536 if (sigaction(sig, &context, &ocontext) == -1) in PyOS_setsig()
2538 return ocontext.sa_handler; in PyOS_setsig()