Searched refs:map (Results 1 – 8 of 8) sorted by relevance
| /security/selinux/ss/ |
| A D | ebitmap.c | 368 u64 map; in ebitmap_read() local 451 map = le64_to_cpu(mapbits); in ebitmap_read() 452 if (!map) { in ebitmap_read() 458 while (map) { in ebitmap_read() 460 map = EBITMAP_SHIFT_UNIT_SIZE(map); in ebitmap_read() 486 u64 map; in ebitmap_write() local 510 map = 0; in ebitmap_write() 519 if (!map) { in ebitmap_write() 537 map = 0; in ebitmap_write() 543 if (map) { in ebitmap_write() [all …]
|
| A D | services.h | 29 struct selinux_map map; member
|
| A D | services.c | 104 if (!map) in selinux_set_mapping() 107 while (map[i].name) in selinux_set_mapping() 117 while (map[j].name) { in selinux_set_mapping() 179 if (tclass < map->size) in unmap_class() 180 return map->mapping[tclass].value; in unmap_class() 192 for (i = 1; i < map->size; i++) { in map_class() 193 if (map->mapping[i].value == pol_value) in map_class() 204 if (tclass < map->size) { in map_decision() 2203 kfree(policy->map.mapping); in selinux_policy_free() 2331 &newpolicy->map); in security_load_policy() [all …]
|
| /security/selinux/ |
| A D | genheaders.c | 124 const struct security_class_mapping *map = &secclass_map[i]; in main() local 126 char *name = stoupperx(map->name); in main() 129 for (j = 0; map->perms[j]; j++) { in main() 134 map->name, map->perms[j]); in main() 137 permname = stoupperx(map->perms[j]); in main()
|
| A D | hooks.c | 7060 struct bpf_map *map; in bpf_fd_pass() local 7064 map = file->private_data; in bpf_fd_pass() 7065 bpfsec = map->security; in bpf_fd_pass() 7081 static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) in selinux_bpf_map() argument 7086 bpfsec = map->security; in selinux_bpf_map() 7101 static int selinux_bpf_map_create(struct bpf_map *map, union bpf_attr *attr, in selinux_bpf_map_create() argument 7111 map->security = bpfsec; in selinux_bpf_map_create() 7116 static void selinux_bpf_map_free(struct bpf_map *map) in selinux_bpf_map_free() argument 7118 struct bpf_security_struct *bpfsec = map->security; in selinux_bpf_map_free() 7120 map->security = NULL; in selinux_bpf_map_free()
|
| /security/ |
| A D | security.c | 5683 int security_bpf_map(struct bpf_map *map, fmode_t fmode) in security_bpf_map() argument 5685 return call_int_hook(bpf_map, map, fmode); in security_bpf_map() 5714 int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr, in security_bpf_map_create() argument 5717 return call_int_hook(bpf_map_create, map, attr, token, kernel); in security_bpf_map_create() 5794 void security_bpf_map_free(struct bpf_map *map) in security_bpf_map_free() argument 5796 call_void_hook(bpf_map_free, map); in security_bpf_map_free()
|
| A D | Kconfig | 184 Programs which use vm86 functionality or have some need to map
|
| /security/smack/ |
| A D | smackfs.c | 682 doip->map.std = NULL; in smk_cipso_doi()
|
Completed in 44 milliseconds