Searched refs:file_has_perm (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/security/selinux/ |
D | hooks.c | 1692 static int file_has_perm(const struct cred *cred, in file_has_perm() function 2395 return file_has_perm(p, file, file_to_av(file)) ? fd + 1 : 0; in match_file() 3569 return file_has_perm(cred, file, in selinux_revalidate_file_permission() 3659 error = file_has_perm(cred, file, FILE__GETATTR); in selinux_file_ioctl() 3664 error = file_has_perm(cred, file, FILE__SETATTR); in selinux_file_ioctl() 3670 error = file_has_perm(cred, file, 0); in selinux_file_ioctl() 3728 return file_has_perm(cred, file, av); in file_map_prot_check() 3804 rc = file_has_perm(cred, vma->vm_file, FILE__EXECMOD); in selinux_file_mprotect() 3817 return file_has_perm(cred, file, FILE__LOCK); in selinux_file_lock() 3829 err = file_has_perm(cred, file, FILE__WRITE); in selinux_file_fcntl() [all …]
|