Home
last modified time | relevance | path

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

/openbmc/linux/scripts/selinux/mdp/
H A Dmdp.c67 for (i = 0; secclass_map[i].name; i++) in main()
68 fprintf(fout, "class %s\n", secclass_map[i].name); in main()
84 for (i = 0; secclass_map[i].name; i++) { in main()
85 const struct security_class_mapping *map = &secclass_map[i]; in main()
105 for (i = 0; secclass_map[i].name; i++) { in main()
106 const struct security_class_mapping *map = &secclass_map[i]; in main()
129 for (i = 0; secclass_map[i].name; i++) in main()
131 secclass_map[i].name); in main()
/openbmc/linux/scripts/selinux/genheaders/
H A Dgenheaders.c65 for (i = 0; secclass_map[i].name; i++) { in main()
66 char *name = stoupperx(secclass_map[i].name); in main()
89 for (i = 0; secclass_map[i].name; i++) { in main()
92 char *name = stoupperx(secclass_map[i].name); in main()
126 for (i = 0; secclass_map[i].name; i++) { in main()
127 const struct security_class_mapping *map = &secclass_map[i]; in main()
/openbmc/linux/security/selinux/include/
H A Dclassmap.h41 const struct security_class_mapping secclass_map[] = { variable
263 #error New address family defined, please update secclass_map.
H A Davc_ss.h20 extern const struct security_class_mapping secclass_map[];
/openbmc/linux/security/selinux/
H A Davc.c668 perms = secclass_map[sad->tclass-1].perms; in avc_audit_pre_callback()
719 tclass = secclass_map[sad->tclass-1].name; in avc_audit_post_callback()
763 if (WARN_ON(!tclass || tclass >= ARRAY_SIZE(secclass_map))) in slow_avc_audit()
H A Dhooks.c5948 secclass_map[sclass - 1].name, in selinux_netlink_send()
/openbmc/linux/security/selinux/ss/
H A Dservices.c2263 rc = selinux_set_mapping(&newpolicy->policydb, secclass_map, in security_load_policy()