MAY_READ 325 fs/afs/security.c } else if (mask & MAY_READ) { MAY_READ 339 fs/afs/security.c if (mask & (MAY_EXEC | MAY_READ)) { MAY_READ 1454 fs/aio.c ret = security_file_permission(file, MAY_READ); MAY_READ 1486 fs/aio.c ret = security_file_permission(file, MAY_READ); MAY_READ 698 fs/binfmt_elf.c if (file_permission(interpreter, MAY_READ) < 0) MAY_READ 246 fs/binfmt_elf_fdpic.c if (file_permission(interpreter, MAY_READ) < 0) MAY_READ 152 fs/binfmt_misc.c if (file_permission(bprm->file, MAY_READ)) MAY_READ 998 fs/block_dev.c perm |= MAY_READ; MAY_READ 144 fs/coda/dir.c mask &= MAY_READ | MAY_WRITE | MAY_EXEC; MAY_READ 132 fs/exec.c error = vfs_permission(&nd, MAY_READ | MAY_EXEC | MAY_OPEN); MAY_READ 1019 fs/exec.c } else if (file_permission(bprm->file, MAY_READ) || MAY_READ 901 fs/fuse/dir.c inarg.mask = mask & (MAY_READ | MAY_WRITE | MAY_EXEC); MAY_READ 830 fs/hostfs/hostfs_kern.c if (desired & MAY_READ) r = 1; MAY_READ 375 fs/inotify_user.c error = inode_permission(path->dentry->d_inode, MAY_READ); MAY_READ 187 fs/namei.c mask &= MAY_READ | MAY_WRITE | MAY_EXEC; MAY_READ 223 fs/namei.c if (mask == MAY_READ || (S_ISDIR(inode->i_mode) && !(mask & MAY_WRITE))) MAY_READ 277 fs/namei.c mask & (MAY_READ|MAY_WRITE|MAY_EXEC|MAY_APPEND)); MAY_READ 359 fs/ncpfs/ioctl.c if ((file_permission(filp, MAY_READ) != 0) MAY_READ 383 fs/ncpfs/ioctl.c if ((file_permission(filp, MAY_READ) != 0) MAY_READ 481 fs/ncpfs/ioctl.c if ((file_permission(filp, MAY_READ) != 0) MAY_READ 1879 fs/nfs/dir.c cache.mask = MAY_EXEC | MAY_WRITE | MAY_READ; MAY_READ 1887 fs/nfs/dir.c if ((mask & ~cache.mask & (MAY_READ | MAY_WRITE | MAY_EXEC)) == 0) MAY_READ 1897 fs/nfs/dir.c mask |= MAY_READ; MAY_READ 1917 fs/nfs/dir.c if ((mask & (MAY_READ | MAY_WRITE | MAY_EXEC)) == 0) MAY_READ 1937 fs/nfs/dir.c if ((mask & MAY_WRITE) && !(mask & MAY_READ)) MAY_READ 199 fs/nfs/nfs3proc.c if (mode & MAY_READ) MAY_READ 218 fs/nfs/nfs3proc.c entry->mask |= MAY_READ; MAY_READ 1768 fs/nfs/nfs4proc.c if (mode & MAY_READ) MAY_READ 1786 fs/nfs/nfs4proc.c entry->mask |= MAY_READ; MAY_READ 39 fs/nfsctl.c error = may_open(&nd,MAY_READ|MAY_WRITE,FMODE_READ|FMODE_WRITE); MAY_READ 1955 fs/nfsd/vfs.c err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); MAY_READ 146 fs/proc/proc_sysctl.c if (sysctl_perm(head->root, table, write ? MAY_WRITE : MAY_READ)) MAY_READ 201 fs/read_write.c read_write == READ ? MAY_READ : MAY_WRITE); MAY_READ 29 fs/readdir.c res = security_file_permission(file, MAY_READ); MAY_READ 420 fs/smbfs/file.c if (mask & ~mode & (MAY_READ | MAY_WRITE | MAY_EXEC)) MAY_READ 152 fs/udf/file.c if (file_permission(filp, MAY_READ) != 0) { MAY_READ 139 fs/xattr.c error = xattr_permission(inode, name, MAY_READ); MAY_READ 632 ipc/mqueue.c static int oflag2acc[O_ACCMODE] = { MAY_READ, MAY_WRITE, MAY_READ 633 ipc/mqueue.c MAY_READ | MAY_WRITE }; MAY_READ 1511 kernel/sysctl.c op |= MAY_READ; MAY_READ 1630 kernel/sysctl.c if ((op & ~mode & (MAY_READ|MAY_WRITE|MAY_EXEC)) == 0) MAY_READ 1640 kernel/sysctl.c error = security_sysctl(table, op & (MAY_READ | MAY_WRITE | MAY_EXEC)); MAY_READ 530 security/device_cgroup.c if ((mask & MAY_READ) && !(wh->access & ACC_READ)) MAY_READ 1669 security/selinux/hooks.c if (mask & MAY_READ) MAY_READ 1682 security/selinux/hooks.c if (mask & MAY_READ) MAY_READ 152 security/smack/smack.h #define MAY_ANY (MAY_READ | MAY_WRITE | MAY_APPEND | MAY_EXEC) MAY_READ 153 security/smack/smack.h #define MAY_ANYREAD (MAY_READ | MAY_EXEC) MAY_READ 155 security/smack/smack.h #define MAY_READWRITE (MAY_READ | MAY_WRITE) MAY_READ 325 security/smack/smack_lsm.c return smk_curacc(sbp->smk_floor, MAY_READ); MAY_READ 582 security/smack/smack_lsm.c return smk_curacc(smk_of_inode(dentry->d_inode), MAY_READ); MAY_READ 666 security/smack/smack_lsm.c return smk_curacc(smk_of_inode(dentry->d_inode), MAY_READ); MAY_READ 856 security/smack/smack_lsm.c rc = smk_curacc(file->f_security, MAY_READ); MAY_READ 893 security/smack/smack_lsm.c rc = smk_curacc(file->f_security, MAY_READ); MAY_READ 964 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 1025 security/smack/smack_lsm.c return smk_curacc(p->security, MAY_READ); MAY_READ 1036 security/smack/smack_lsm.c return smk_curacc(p->security, MAY_READ); MAY_READ 1093 security/smack/smack_lsm.c return smk_curacc(p->security, MAY_READ); MAY_READ 1123 security/smack/smack_lsm.c return smk_curacc(p->security, MAY_READ); MAY_READ 1434 security/smack/smack_lsm.c may |= MAY_READ; MAY_READ 1535 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 1649 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 1759 security/smack/smack_lsm.c may = MAY_READ; MAY_READ 140 security/smack/smackfs.c if (srp->smk_access & MAY_READ) MAY_READ 273 security/smack/smackfs.c rule.smk_access |= MAY_READ; MAY_READ 306 security/smack/smackfs.c rule.smk_access |= MAY_READ;