Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dmincore.c173 file_permission(vma->vm_file, MAY_WRITE) == 0; in can_do_mincore()
Dmadvise.c570 file_permission(vma->vm_file, MAY_WRITE) == 0; in can_do_pageout()
Dmemcontrol.c4885 ret = file_permission(cfile.file, MAY_READ); in memcg_write_event_control()
/Linux-v6.1/fs/udf/
Dfile.c188 if (file_permission(filp, MAY_READ) != 0) { in udf_ioctl()
/Linux-v6.1/fs/verity/
Denable.c371 err = file_permission(filp, MAY_WRITE); in fsverity_ioctl_enable()
/Linux-v6.1/include/linux/
Dlsm_hook_defs.h162 LSM_HOOK(int, 0, file_permission, struct file *file, int mask)
Dfs.h2917 static inline int file_permission(struct file *file, int mask) in file_permission() function
/Linux-v6.1/fs/
Dopen.c547 error = file_permission(f.file, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1()
/Linux-v6.1/security/apparmor/
Dlsm.c1229 LSM_HOOK_INIT(file_permission, apparmor_file_permission),
/Linux-v6.1/security/
Dsecurity.c1520 ret = call_int_hook(file_permission, 0, file, mask); in security_file_permission()
/Linux-v6.1/kernel/
Dsys.c1891 err = file_permission(exe.file, MAY_EXEC); in prctl_set_mm_exe_file()
/Linux-v6.1/security/selinux/
Dhooks.c7101 LSM_HOOK_INIT(file_permission, selinux_file_permission),