Searched refs:map (Results 1 – 7 of 7) sorted by relevance
/security/selinux/ss/ |
D | ebitmap.c | 370 u64 map; in ebitmap_read() local 452 map = le64_to_cpu(mapbits); in ebitmap_read() 455 while (map) { in ebitmap_read() 456 n->maps[index++] = map & (-1UL); in ebitmap_read() 457 map = EBITMAP_SHIFT_UNIT_SIZE(map); in ebitmap_read() 476 u64 map; in ebitmap_write() local 498 map = 0; in ebitmap_write() 505 if (!map) { in ebitmap_write() 507 map = (u64)1 << (bit - last_startbit); in ebitmap_write() 517 buf64[0] = cpu_to_le64(map); in ebitmap_write() [all …]
|
D | services.h | 28 struct selinux_map map; member
|
D | services.c | 104 const struct security_class_mapping *map, in selinux_set_mapping() argument 112 if (!map) in selinux_set_mapping() 115 while (map[i].name) in selinux_set_mapping() 125 while (map[j].name) { in selinux_set_mapping() 126 const struct security_class_mapping *p_in = map + (j++); in selinux_set_mapping() 184 static u16 unmap_class(struct selinux_map *map, u16 tclass) in unmap_class() argument 186 if (tclass < map->size) in unmap_class() 187 return map->mapping[tclass].value; in unmap_class() 195 static u16 map_class(struct selinux_map *map, u16 pol_value) in map_class() argument 199 for (i = 1; i < map->size; i++) { in map_class() [all …]
|
/security/ |
D | security.c | 2646 int security_bpf_map(struct bpf_map *map, fmode_t fmode) in security_bpf_map() argument 2648 return call_int_hook(bpf_map, 0, map, fmode); in security_bpf_map() 2654 int security_bpf_map_alloc(struct bpf_map *map) in security_bpf_map_alloc() argument 2656 return call_int_hook(bpf_map_alloc_security, 0, map); in security_bpf_map_alloc() 2662 void security_bpf_map_free(struct bpf_map *map) in security_bpf_map_free() argument 2664 call_void_hook(bpf_map_free_security, map); in security_bpf_map_free()
|
D | Kconfig | 131 Programs which use vm86 functionality or have some need to map
|
/security/selinux/ |
D | hooks.c | 6867 struct bpf_map *map; in bpf_fd_pass() local 6871 map = file->private_data; in bpf_fd_pass() 6872 bpfsec = map->security; in bpf_fd_pass() 6890 static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) in selinux_bpf_map() argument 6895 bpfsec = map->security; in selinux_bpf_map() 6912 static int selinux_bpf_map_alloc(struct bpf_map *map) in selinux_bpf_map_alloc() argument 6921 map->security = bpfsec; in selinux_bpf_map_alloc() 6926 static void selinux_bpf_map_free(struct bpf_map *map) in selinux_bpf_map_free() argument 6928 struct bpf_security_struct *bpfsec = map->security; in selinux_bpf_map_free() 6930 map->security = NULL; in selinux_bpf_map_free()
|
/security/smack/ |
D | smackfs.c | 698 doip->map.std = NULL; in smk_cipso_doi()
|