Searched refs:file_has_perm (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/security/selinux/ |
D | hooks.c | 1744 static int file_has_perm(const struct cred *cred, in file_has_perm() function 2447 return file_has_perm(p, file, file_to_av(file)) ? fd + 1 : 0; in match_file() 3519 return file_has_perm(cred, file, in selinux_revalidate_file_permission() 3607 error = file_has_perm(cred, file, FILE__GETATTR); in selinux_file_ioctl() 3613 error = file_has_perm(cred, file, FILE__SETATTR); in selinux_file_ioctl() 3620 error = file_has_perm(cred, file, 0); in selinux_file_ioctl() 3672 return file_has_perm(cred, file, av); in file_map_prot_check() 3748 rc = file_has_perm(cred, vma->vm_file, FILE__EXECMOD); in selinux_file_mprotect() 3761 return file_has_perm(cred, file, FILE__LOCK); in selinux_file_lock() 3773 err = file_has_perm(cred, file, FILE__WRITE); in selinux_file_fcntl() [all …]
|