Home
last modified time | relevance | path

Searched refs:file_has_perm (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/selinux/
H A Dhooks.c1728 static int file_has_perm(const struct cred *cred, in file_has_perm() function
3605 return file_has_perm(cred, file, in selinux_revalidate_file_permission()
3693 error = file_has_perm(cred, file, FILE__GETATTR); in selinux_file_ioctl()
3698 error = file_has_perm(cred, file, FILE__SETATTR); in selinux_file_ioctl()
3704 error = file_has_perm(cred, file, 0); in selinux_file_ioctl()
3788 return file_has_perm(cred, file, av); in file_map_prot_check()
3876 return file_has_perm(cred, file, FILE__LOCK); in selinux_file_lock()
3888 err = file_has_perm(cred, file, FILE__WRITE); in selinux_file_fcntl()
3899 err = file_has_perm(cred, file, 0); in selinux_file_fcntl()
3912 err = file_has_perm(cred, file, FILE__LOCK); in selinux_file_fcntl()
[all …]