Home
last modified time | relevance | path

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

/linux-6.1.9/scripts/selinux/mdp/
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()
/linux-6.1.9/scripts/selinux/genheaders/
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()
/linux-6.1.9/security/selinux/include/
Dclassmap.h41 const struct security_class_mapping secclass_map[] = { variable
263 #error New address family defined, please update secclass_map.
Davc_ss.h21 extern const struct security_class_mapping secclass_map[];
/linux-6.1.9/security/selinux/
Davc.c681 perms = secclass_map[sad->tclass-1].perms; in avc_audit_pre_callback()
732 tclass = secclass_map[sad->tclass-1].name; in avc_audit_post_callback()
777 if (WARN_ON(!tclass || tclass >= ARRAY_SIZE(secclass_map))) in slow_avc_audit()
Dhooks.c5936 secclass_map[sclass - 1].name, in selinux_netlink_send()
/linux-6.1.9/security/selinux/ss/
Dservices.c2308 rc = selinux_set_mapping(&newpolicy->policydb, secclass_map, in security_load_policy()