Home
last modified time | relevance | path

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

/third_party/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()
485 struct ocontext *const *aa = a; in netif_data_cmp()
486 struct ocontext *const *bb = b; in netif_data_cmp()
493 struct ocontext *const *aa = a; in node_data_cmp()
494 struct ocontext *const *bb = b; in node_data_cmp()
509 struct ocontext *const *aa = a; in node6_data_cmp()
510 struct ocontext *const *bb = b; in node6_data_cmp()
[all …]
Dmodule_to_cil.c2526 unsigned num_sids, struct ocontext *isids) in ocontext_isid_to_cil()
2530 struct ocontext *isid; in ocontext_isid_to_cil()
2589 static int ocontext_selinux_isid_to_cil(struct policydb *pdb, struct ocontext *isids) in ocontext_selinux_isid_to_cil()
2604 static int ocontext_selinux_fs_to_cil(struct policydb *UNUSED(pdb), struct ocontext *fss) in ocontext_selinux_fs_to_cil()
2613 static int ocontext_selinux_port_to_cil(struct policydb *pdb, struct ocontext *portcons) in ocontext_selinux_port_to_cil()
2616 struct ocontext *portcon; in ocontext_selinux_port_to_cil()
2654 struct ocontext *ibpkeycons) in ocontext_selinux_ibpkey_to_cil()
2657 struct ocontext *ibpkeycon; in ocontext_selinux_ibpkey_to_cil()
2691 static int ocontext_selinux_netif_to_cil(struct policydb *pdb, struct ocontext *netifs) in ocontext_selinux_netif_to_cil()
2693 struct ocontext *netif; in ocontext_selinux_netif_to_cil()
[all …]
Dkernel_to_cil.c541 unsigned num_sids, struct ocontext *isids) in write_sids_to_cil()
543 struct ocontext *isid; in write_sids_to_cil()
2538 struct ocontext *isid; in write_sid_context_rules_to_cil()
2601 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_cil()
2640 struct ocontext *ocon; in write_genfscon_rules_to_cil()
2686 struct ocontext *portcon; in write_selinux_port_rules_to_cil()
2741 struct ocontext *netif; in write_selinux_netif_rules_to_cil()
2775 struct ocontext *node; in write_selinux_node_rules_to_cil()
2815 struct ocontext *node; in write_selinux_node6_rules_to_cil()
2855 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_cil()
[all …]
Dkernel_to_conf.c440 unsigned num_sids, struct ocontext *isids) in write_sids_to_conf()
442 struct ocontext *isid; in write_sids_to_conf()
2411 struct ocontext *isid; in write_sid_context_rules_to_conf()
2474 struct ocontext *fsuse; in write_selinux_fsuse_rules_to_conf()
2513 struct ocontext *ocon; in write_genfscon_rules_to_conf()
2559 struct ocontext *portcon; in write_selinux_port_rules_to_conf()
2614 struct ocontext *netif; in write_selinux_netif_rules_to_conf()
2648 struct ocontext *node; in write_selinux_node_rules_to_conf()
2689 struct ocontext *node6; in write_selinux_node6_rules_to_conf()
2729 struct ocontext *ibpkeycon; in write_selinux_ibpkey_rules_to_conf()
[all …]
Dservices.c1037 context_struct_t *ocontext; in sepol_validate_transition_reason_buffer() local
1049 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition_reason_buffer()
1050 if (!ocontext) { in sepol_validate_transition_reason_buffer()
1079 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition_reason_buffer()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h340 typedef struct ocontext { struct
382 struct ocontext *next; argument
387 struct ocontext *head;
/third_party/python/Python/
Dpylifecycle.c2949 struct sigaction context, ocontext; in PyOS_setsig() local
2956 if (sigaction(sig, &context, &ocontext) == -1) in PyOS_setsig()
2958 return ocontext.sa_handler; in PyOS_setsig()