Searched refs:file_has_perm (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/security/selinux/ |
D | hooks.c | 1767 static int file_has_perm(const struct cred *cred, in file_has_perm() function 2469 return file_has_perm(p, file, file_to_av(file)) ? fd + 1 : 0; in match_file() 3691 return file_has_perm(cred, file, in selinux_revalidate_file_permission() 3781 error = file_has_perm(cred, file, FILE__GETATTR); in selinux_file_ioctl() 3786 error = file_has_perm(cred, file, FILE__SETATTR); in selinux_file_ioctl() 3792 error = file_has_perm(cred, file, 0); in selinux_file_ioctl() 3844 return file_has_perm(cred, file, av); in file_map_prot_check() 3920 rc = file_has_perm(cred, vma->vm_file, FILE__EXECMOD); in selinux_file_mprotect() 3933 return file_has_perm(cred, file, FILE__LOCK); in selinux_file_lock() 3945 err = file_has_perm(cred, file, FILE__WRITE); in selinux_file_fcntl() [all …]
|