MAY_READ 443 fs/afs/security.c if (mask & (MAY_EXEC | MAY_READ | MAY_CHDIR)) { MAY_READ 457 fs/afs/security.c if (mask & (MAY_EXEC | MAY_READ)) { MAY_READ 1541 fs/block_dev.c perm |= MAY_READ; MAY_READ 2476 fs/btrfs/ioctl.c ret = inode_permission(temp_inode, MAY_READ | MAY_EXEC); MAY_READ 83 fs/coda/dir.c mask &= MAY_READ | MAY_WRITE | MAY_EXEC; MAY_READ 129 fs/exec.c .acc_mode = MAY_READ | MAY_EXEC, MAY_READ 1318 fs/exec.c if (inode_permission(inode, MAY_READ) < 0) { MAY_READ 1116 fs/fuse/dir.c inarg.mask = mask & (MAY_READ | MAY_WRITE | MAY_EXEC); MAY_READ 770 fs/hostfs/hostfs_kern.c if (desired & MAY_READ) r = 1; MAY_READ 313 fs/namei.c if ((mask & ~mode & (MAY_READ | MAY_WRITE | MAY_EXEC)) == 0) MAY_READ 357 fs/namei.c mask &= MAY_READ | MAY_WRITE | MAY_EXEC; MAY_READ 358 fs/namei.c if (mask == MAY_READ) MAY_READ 961 fs/namei.c if (inode_permission(inode, MAY_READ | MAY_WRITE)) MAY_READ 2474 fs/nfs/dir.c mask |= MAY_READ; MAY_READ 2536 fs/nfs/dir.c if ((mask & ~cache_mask & (MAY_READ | MAY_WRITE | MAY_EXEC)) != 0) MAY_READ 2552 fs/nfs/dir.c mask |= MAY_READ; MAY_READ 2590 fs/nfs/dir.c if ((mask & (MAY_READ | MAY_WRITE | MAY_EXEC)) == 0) MAY_READ 2609 fs/nfs/dir.c if ((mask & MAY_WRITE) && !(mask & MAY_READ)) MAY_READ 2084 fs/nfsd/vfs.c err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); MAY_READ 570 fs/notify/fanotify/fanotify_user.c ret = inode_permission(path->dentry->d_inode, MAY_READ); MAY_READ 344 fs/notify/inotify/inotify_user.c error = inode_permission(path->dentry->d_inode, MAY_READ); MAY_READ 4401 fs/ocfs2/refcounttree.c error = inode_permission(inode, MAY_READ); MAY_READ 297 fs/overlayfs/inode.c mask |= MAY_READ; MAY_READ 353 fs/posix_acl.c want &= MAY_READ | MAY_WRITE | MAY_EXEC | MAY_NOT_BLOCK; MAY_READ 445 fs/proc/proc_sysctl.c if ((op & ~mode & (MAY_READ|MAY_WRITE|MAY_EXEC)) == 0) MAY_READ 592 fs/proc/proc_sysctl.c if (sysctl_perm(head, table, write ? MAY_WRITE : MAY_READ)) MAY_READ 400 fs/read_write.c read_write == READ ? MAY_READ : MAY_WRITE); MAY_READ 1773 fs/read_write.c return security_file_permission(file, write ? MAY_WRITE : MAY_READ); MAY_READ 50 fs/readdir.c res = security_file_permission(file, MAY_READ); MAY_READ 187 fs/udf/file.c if (inode_permission(inode, MAY_READ) != 0) { MAY_READ 275 fs/xattr.c error = xattr_permission(inode, name, MAY_READ); MAY_READ 321 fs/xattr.c error = xattr_permission(inode, name, MAY_READ); MAY_READ 51 include/linux/device_cgroup.h if (mask & MAY_READ) MAY_READ 67 include/linux/fsnotify.h if (!(mask & (MAY_READ | MAY_OPEN))) MAY_READ 78 include/linux/fsnotify.h } else if (mask & MAY_READ) { MAY_READ 792 ipc/mqueue.c static const int oflag2acc[O_ACCMODE] = { MAY_READ, MAY_WRITE, MAY_READ 793 ipc/mqueue.c MAY_READ | MAY_WRITE }; MAY_READ 518 kernel/bpf/inode.c int ret = inode_permission(inode, MAY_READ); MAY_READ 4751 mm/memcontrol.c ret = inode_permission(file_inode(cfile.file), MAY_READ); MAY_READ 30 security/apparmor/file.c m |= MAY_READ; MAY_READ 195 security/apparmor/file.c if (old & MAY_READ) MAY_READ 658 security/apparmor/file.c if (aa_file_perm(OP_INHERIT, label, file, MAY_READ | MAY_WRITE)) MAY_READ 23 security/apparmor/include/file.h #define mask_mode_t(X) (X & (MAY_EXEC | MAY_WRITE | MAY_READ | MAY_APPEND)) MAY_READ 25 security/apparmor/include/file.h #define AA_AUDIT_FILE_MASK (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_APPEND |\ MAY_READ 224 security/apparmor/include/file.h perms |= MAY_READ; MAY_READ 19 security/apparmor/include/ipc.h #define AA_PTRACE_READ MAY_READ MAY_READ 26 security/apparmor/include/ipc.h #define AA_SIGNAL_PERM_MASK (MAY_READ | MAY_WRITE) MAY_READ 18 security/apparmor/include/perms.h #define AA_MAY_READ MAY_READ MAY_READ 52 security/apparmor/include/perms.h #define PERMS_CHRS_MASK (MAY_READ | MAY_WRITE | AA_MAY_CREATE | \ MAY_READ 29 security/apparmor/ipc.c case MAY_READ: MAY_READ 151 security/apparmor/ipc.c if (mask & MAY_READ) MAY_READ 217 security/apparmor/ipc.c profile_signal_perm(profile, sender, MAY_READ, &sa)); MAY_READ 363 security/apparmor/lsm.c MAY_READ | AA_MAY_GETATTR | MAY_WRITE | MAY_READ 407 security/apparmor/lsm.c fctx->allow = MAY_EXEC | MAY_READ | AA_EXEC_MMAP; MAY_READ 490 security/apparmor/lsm.c mask |= MAY_READ; MAY_READ 439 security/integrity/ima/ima_main.c mask & (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_READ 571 security/integrity/ima/ima_main.c MAY_READ, func); MAY_READ 119 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ, MAY_READ 131 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ, MAY_READ 134 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ, MAY_READ 1027 security/integrity/ima/ima_policy.c entry->mask = MAY_READ; MAY_READ 1410 security/integrity/ima/ima_policy.c if (entry->mask & MAY_READ) MAY_READ 1984 security/selinux/hooks.c if (mask & MAY_READ) MAY_READ 1997 security/selinux/hooks.c if (mask & MAY_READ) MAY_READ 3056 security/selinux/hooks.c mask &= (MAY_READ|MAY_WRITE|MAY_EXEC|MAY_APPEND); MAY_READ 263 security/smack/smack.h #define MAY_ANYREAD (MAY_READ | MAY_EXEC) MAY_READ 264 security/smack/smack.h #define MAY_READWRITE (MAY_READ | MAY_WRITE) MAY_READ 291 security/smack/smack_access.c if (access & MAY_READ) MAY_READ 99 security/smack/smack_lsm.c if (mode & MAY_READ) MAY_READ 403 security/smack/smack_lsm.c return MAY_READ; MAY_READ 888 security/smack/smack_lsm.c rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); MAY_READ 889 security/smack/smack_lsm.c rc = smk_bu_current("statfs", sbp->smk_floor, MAY_READ, rc); MAY_READ 1175 security/smack/smack_lsm.c mask &= (MAY_READ|MAY_WRITE|MAY_EXEC|MAY_APPEND); MAY_READ 1236 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_READ, &ad); MAY_READ 1237 security/smack/smack_lsm.c rc = smk_bu_inode(inode, MAY_READ, rc); MAY_READ 1361 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_READ, &ad); MAY_READ 1362 security/smack/smack_lsm.c rc = smk_bu_inode(d_backing_inode(dentry), MAY_READ, rc); MAY_READ 1570 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(inode), MAY_READ, &ad); MAY_READ 1571 security/smack/smack_lsm.c rc = smk_bu_file(file, MAY_READ, rc); MAY_READ 1859 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 1888 security/smack/smack_lsm.c rc = smk_tskacc(tsp, smk_of_inode(inode), MAY_READ, &ad); MAY_READ 1889 security/smack/smack_lsm.c rc = smk_bu_credfile(file->f_cred, file, MAY_READ, rc); MAY_READ 2074 security/smack/smack_lsm.c return smk_curacc_on_task(p, MAY_READ, __func__); MAY_READ 2085 security/smack/smack_lsm.c return smk_curacc_on_task(p, MAY_READ, __func__); MAY_READ 2134 security/smack/smack_lsm.c return smk_curacc_on_task(p, MAY_READ, __func__); MAY_READ 2156 security/smack/smack_lsm.c return smk_curacc_on_task(p, MAY_READ, __func__); MAY_READ 2873 security/smack/smack_lsm.c may |= MAY_READ; MAY_READ 2975 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 3069 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 3159 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 4274 security/smack/smack_lsm.c request |= MAY_READ; MAY_READ 271 security/smack/smackfs.c perm |= MAY_READ; MAY_READ 585 security/smack/smackfs.c if (srp->smk_access & MAY_READ) MAY_READ 776 security/tomoyo/file.c if (acc_mode & MAY_READ)