Searched refs:file_permission (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/mm/ |
D | mincore.c | 173 file_permission(vma->vm_file, MAY_WRITE) == 0; in can_do_mincore()
|
D | madvise.c | 570 file_permission(vma->vm_file, MAY_WRITE) == 0; in can_do_pageout()
|
D | memcontrol.c | 4885 ret = file_permission(cfile.file, MAY_READ); in memcg_write_event_control()
|
/Linux-v6.1/fs/udf/ |
D | file.c | 188 if (file_permission(filp, MAY_READ) != 0) { in udf_ioctl()
|
/Linux-v6.1/fs/verity/ |
D | enable.c | 371 err = file_permission(filp, MAY_WRITE); in fsverity_ioctl_enable()
|
/Linux-v6.1/include/linux/ |
D | lsm_hook_defs.h | 162 LSM_HOOK(int, 0, file_permission, struct file *file, int mask)
|
D | fs.h | 2917 static inline int file_permission(struct file *file, int mask) in file_permission() function
|
/Linux-v6.1/fs/ |
D | open.c | 547 error = file_permission(f.file, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1()
|
/Linux-v6.1/security/apparmor/ |
D | lsm.c | 1229 LSM_HOOK_INIT(file_permission, apparmor_file_permission),
|
/Linux-v6.1/security/ |
D | security.c | 1520 ret = call_int_hook(file_permission, 0, file, mask); in security_file_permission()
|
/Linux-v6.1/kernel/ |
D | sys.c | 1891 err = file_permission(exe.file, MAY_EXEC); in prctl_set_mm_exe_file()
|
/Linux-v6.1/security/selinux/ |
D | hooks.c | 7101 LSM_HOOK_INIT(file_permission, selinux_file_permission),
|