Lines Matching refs:MAY_EXEC
427 mask &= MAY_READ | MAY_WRITE | MAY_EXEC; in generic_permission()
437 if (!(mask & MAY_EXEC) || (inode->i_mode & S_IXUGO)) in generic_permission()
1720 int err = inode_permission(idmap, nd->inode, MAY_EXEC|MAY_NOT_BLOCK); in may_lookup()
1724 return inode_permission(idmap, nd->inode, MAY_EXEC); in may_lookup()
2690 return inode_permission(idmap, base->d_inode, MAY_EXEC); in lookup_one_common()
2970 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_delete()
3014 return inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_create()
3242 if (acc_mode & MAY_EXEC) in may_open()
3252 if (acc_mode & MAY_EXEC) in may_open()
3257 if ((acc_mode & MAY_EXEC) && path_noexec(path)) in may_open()
3320 MAY_WRITE | MAY_EXEC); in may_o_create()
3674 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in vfs_tmpfile()