MAY_EXEC 443 fs/afs/security.c if (mask & (MAY_EXEC | MAY_READ | MAY_CHDIR)) { MAY_EXEC 455 fs/afs/security.c if ((mask & MAY_EXEC) && !(inode->i_mode & S_IXUSR)) MAY_EXEC 457 fs/afs/security.c if (mask & (MAY_EXEC | MAY_READ)) { MAY_EXEC 917 fs/btrfs/ioctl.c error = inode_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 946 fs/btrfs/ioctl.c return inode_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 2476 fs/btrfs/ioctl.c ret = inode_permission(temp_inode, MAY_READ | MAY_EXEC); MAY_EXEC 2918 fs/btrfs/ioctl.c err = inode_permission(inode, MAY_WRITE | MAY_EXEC); MAY_EXEC 303 fs/cifs/cifsfs.c if ((mask & MAY_EXEC) && !execute_ok(inode)) MAY_EXEC 83 fs/coda/dir.c mask &= MAY_READ | MAY_WRITE | MAY_EXEC; MAY_EXEC 88 fs/coda/dir.c if ((mask & MAY_EXEC) && !execute_ok(inode)) MAY_EXEC 45 fs/coda/pioctl.c return (mask & MAY_EXEC) ? -EACCES : 0; MAY_EXEC 200 fs/configfs/symlink.c ret = inode_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 129 fs/exec.c .acc_mode = MAY_READ | MAY_EXEC, MAY_EXEC 845 fs/exec.c .acc_mode = MAY_EXEC, MAY_EXEC 1116 fs/fuse/dir.c inarg.mask = mask & (MAY_READ | MAY_WRITE | MAY_EXEC); MAY_EXEC 1165 fs/fuse/dir.c ((mask & MAY_EXEC) && S_ISREG(inode->i_mode))) { MAY_EXEC 1197 fs/fuse/dir.c } else if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode)) { MAY_EXEC 304 fs/gfs2/inode.c error = gfs2_permission(dir, MAY_EXEC); MAY_EXEC 334 fs/gfs2/inode.c error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); MAY_EXEC 927 fs/gfs2/inode.c error = gfs2_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 1043 fs/gfs2/inode.c error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); MAY_EXEC 1465 fs/gfs2/inode.c error = gfs2_permission(ndir, MAY_WRITE | MAY_EXEC); MAY_EXEC 772 fs/hostfs/hostfs_kern.c if (desired & MAY_EXEC) x = 1; MAY_EXEC 313 fs/namei.c if ((mask & ~mode & (MAY_READ | MAY_WRITE | MAY_EXEC)) == 0) MAY_EXEC 357 fs/namei.c mask &= MAY_READ | MAY_WRITE | MAY_EXEC; MAY_EXEC 366 fs/namei.c if (!(mask & MAY_EXEC) || (inode->i_mode & S_IXUGO)) MAY_EXEC 1689 fs/namei.c int err = inode_permission(nd->inode, MAY_EXEC|MAY_NOT_BLOCK); MAY_EXEC 1695 fs/namei.c return inode_permission(nd->inode, MAY_EXEC); MAY_EXEC 2478 fs/namei.c return inode_permission(base->d_inode, MAY_EXEC); MAY_EXEC 2798 fs/namei.c error = inode_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 2842 fs/namei.c return inode_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 3026 fs/namei.c error = inode_permission(dir->dentry->d_inode, MAY_WRITE | MAY_EXEC); MAY_EXEC 3436 fs/namei.c error = inode_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 2479 fs/nfs/dir.c mask |= MAY_EXEC; MAY_EXEC 2484 fs/nfs/dir.c mask |= MAY_EXEC; MAY_EXEC 2536 fs/nfs/dir.c if ((mask & ~cache_mask & (MAY_READ | MAY_WRITE | MAY_EXEC)) != 0) MAY_EXEC 2549 fs/nfs/dir.c mask = MAY_EXEC; MAY_EXEC 2590 fs/nfs/dir.c if ((mask & (MAY_READ | MAY_WRITE | MAY_EXEC)) == 0) MAY_EXEC 2626 fs/nfs/dir.c if (!res && (mask & MAY_EXEC)) MAY_EXEC 42 fs/nfsd/nfsfh.c err = inode_permission(d_inode(parent), MAY_EXEC); MAY_EXEC 2084 fs/nfsd/vfs.c err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); MAY_EXEC 2090 fs/nfsd/vfs.c err = inode_permission(inode, MAY_EXEC); MAY_EXEC 4347 fs/ocfs2/refcounttree.c return inode_permission(dir, MAY_WRITE | MAY_EXEC); MAY_EXEC 404 fs/open.c if ((mode & MAY_EXEC) && S_ISREG(inode->i_mode)) { MAY_EXEC 463 fs/open.c error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); MAY_EXEC 497 fs/open.c error = inode_permission(file_inode(f.file), MAY_EXEC | MAY_CHDIR); MAY_EXEC 516 fs/open.c error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR); MAY_EXEC 353 fs/posix_acl.c want &= MAY_READ | MAY_WRITE | MAY_EXEC | MAY_NOT_BLOCK; MAY_EXEC 3382 fs/proc/base.c if (likely(is_same_tgroup && !(mask & MAY_EXEC))) { MAY_EXEC 445 fs/proc/proc_sysctl.c if ((op & ~mode & (MAY_READ|MAY_WRITE|MAY_EXEC)) == 0) MAY_EXEC 818 fs/proc/proc_sysctl.c if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode)) MAY_EXEC 1834 kernel/sys.c err = inode_permission(inode, MAY_EXEC); MAY_EXEC 337 security/apparmor/domain.c if (!(perm & MAY_EXEC)) { MAY_EXEC 418 security/apparmor/domain.c if (perm & MAY_EXEC) { MAY_EXEC 661 security/apparmor/domain.c if (perms.allow & MAY_EXEC) { MAY_EXEC 672 security/apparmor/domain.c perms.allow &= ~MAY_EXEC; MAY_EXEC 682 security/apparmor/domain.c perms.allow &= ~MAY_EXEC; MAY_EXEC 733 security/apparmor/domain.c aa_audit_file(profile, &perms, OP_EXEC, MAY_EXEC, name, target, new, MAY_EXEC 988 security/apparmor/domain.c aa_audit_file(profile, &nullperms, OP_EXEC, MAY_EXEC, MAY_EXEC 430 security/apparmor/file.c } else if ((lperms.allow & MAY_EXEC) && MAY_EXEC 432 security/apparmor/file.c lperms.allow &= ~MAY_EXEC; MAY_EXEC 433 security/apparmor/file.c request |= MAY_EXEC; MAY_EXEC 23 security/apparmor/include/file.h #define mask_mode_t(X) (X & (MAY_EXEC | MAY_WRITE | MAY_READ | MAY_APPEND)) MAY_EXEC 25 security/apparmor/include/file.h #define AA_AUDIT_FILE_MASK (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_APPEND |\ MAY_EXEC 16 security/apparmor/include/perms.h #define AA_MAY_EXEC MAY_EXEC MAY_EXEC 407 security/apparmor/lsm.c fctx->allow = MAY_EXEC | MAY_READ | AA_EXEC_MMAP; MAY_EXEC 388 security/integrity/ima/ima_main.c 0, MAY_EXEC, MMAP_CHECK); MAY_EXEC 414 security/integrity/ima/ima_main.c MAY_EXEC, BPRM_CHECK); MAY_EXEC 420 security/integrity/ima/ima_main.c MAY_EXEC, CREDS_CHECK); MAY_EXEC 439 security/integrity/ima/ima_main.c mask & (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_EXEC 115 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC, MAY_EXEC 117 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC, MAY_EXEC 127 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC, MAY_EXEC 129 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC, MAY_EXEC 1023 security/integrity/ima/ima_policy.c entry->mask = MAY_EXEC; MAY_EXEC 1406 security/integrity/ima/ima_policy.c if (entry->mask & MAY_EXEC) MAY_EXEC 1982 security/selinux/hooks.c if (mask & MAY_EXEC) MAY_EXEC 1993 security/selinux/hooks.c if (mask & MAY_EXEC) MAY_EXEC 3056 security/selinux/hooks.c mask &= (MAY_READ|MAY_WRITE|MAY_EXEC|MAY_APPEND); MAY_EXEC 263 security/smack/smack.h #define MAY_ANYREAD (MAY_READ | MAY_EXEC) MAY_EXEC 295 security/smack/smack_access.c if (access & MAY_EXEC) MAY_EXEC 103 security/smack/smack_lsm.c if (mode & MAY_EXEC) MAY_EXEC 1175 security/smack/smack_lsm.c mask &= (MAY_READ|MAY_WRITE|MAY_EXEC|MAY_APPEND); MAY_EXEC 2877 security/smack/smack_lsm.c may |= MAY_EXEC; MAY_EXEC 279 security/smack/smackfs.c perm |= MAY_EXEC; MAY_EXEC 589 security/smack/smackfs.c if (srp->smk_access & MAY_EXEC)