Home
last modified time | relevance | path

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

/linux-6.1.9/security/landlock/
Dsyscalls.c421 ruleset = get_ruleset_from_fd(ruleset_fd, FMODE_CAN_READ); in SYSCALL_DEFINE2()
/linux-6.1.9/fs/
Dfile_table.c242 file->f_mode |= FMODE_CAN_READ; in alloc_file()
Dread_write.c416 if (!(file->f_mode & FMODE_CAN_READ)) in __kernel_read()
456 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_read()
785 if (!(file->f_mode & FMODE_CAN_READ)) in do_iter_read()
815 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_iocb_iter_read()
Dopen.c889 f->f_mode |= FMODE_CAN_READ; in do_dentry_open()
/linux-6.1.9/drivers/usb/gadget/function/
Dstorage_common.c217 if (!(filp->f_mode & FMODE_CAN_READ)) { in fsg_lun_open()
/linux-6.1.9/kernel/bpf/
Dsyscall.c1329 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_lookup_elem()
1511 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in map_get_next_key()
1799 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ) || in map_lookup_and_delete_elem()
4491 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()
/linux-6.1.9/mm/
Dnommu.c796 if (!(file->f_mode & FMODE_CAN_READ)) in validate_mmap_request()
/linux-6.1.9/drivers/mtd/nand/raw/
Dnandsim.c545 if (!(cfile->f_mode & FMODE_CAN_READ)) { in ns_alloc_device()
/linux-6.1.9/include/linux/
Dfs.h156 #define FMODE_CAN_READ ((__force fmode_t)0x20000) macro