Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/nfsd/
Dvfs.c338 { NFS3_ACCESS_READ, MAY_READ },
347 { NFS3_ACCESS_READ, MAY_READ },
363 { NFS3_ACCESS_READ, MAY_READ },
627 err = nfsd_open(rqstp, fhp, S_IFREG, MAY_READ, &file); in nfsd_read()
1423 err = nfsd_open(rqstp, fhp, S_IFDIR, MAY_READ, &file); in nfsd_readdir()
1514 (acc & MAY_READ)? " read" : "", in nfsd_permission()
1555 acc = MAY_READ | MAY_OWNER_OVERRIDE; in nfsd_permission()
1575 err = permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); in nfsd_permission()
1579 acc == (MAY_READ | MAY_OWNER_OVERRIDE)) in nfsd_permission()
/linux-2.4.37.9/fs/ncpfs/
Dioctl.c158 if ( (permission(inode, MAY_READ) != 0) in ncp_ioctl()
172 if ( (permission(inode, MAY_READ) != 0) in ncp_ioctl()
269 if ( (permission(inode, MAY_READ) != 0) in ncp_ioctl()
634 if ((permission(inode, MAY_READ) != 0) in ncp_ioctl()
/linux-2.4.37.9/include/linux/nfsd/
Dnfsd.h41 #if (MAY_SATTR | MAY_TRUNC | MAY_LOCK | MAY_OWNER_OVERRIDE | _NFSD_IRIX_BOGOSITY) & (MAY_READ | MAY…
/linux-2.4.37.9/fs/udf/
Dfile.c242 if ( permission(inode, MAY_READ) != 0 ) in udf_ioctl()
/linux-2.4.37.9/fs/
Dexec.c124 error = permission(nd.dentry->d_inode, MAY_READ | MAY_EXEC); in sys_uselib()
653 } else if (permission(bprm->file->f_dentry->d_inode, MAY_READ)) { in flush_old_exec()
Dnamei.c178 if (((mode & mask & (MAY_READ|MAY_WRITE|MAY_EXEC)) == mask)) in vfs_permission()
185 if ((mask & (MAY_READ|MAY_WRITE)) || (inode->i_mode & S_IXUGO)) in vfs_permission()
192 if (mask == MAY_READ || (S_ISDIR(inode->i_mode) && !(mask & MAY_WRITE))) in vfs_permission()
/linux-2.4.37.9/fs/nfs/
Dnfs3proc.c130 if (mode & MAY_READ) in nfs3_proc_access()
/linux-2.4.37.9/fs/jfs/
Dxattr.c825 return permission(inode, MAY_READ); in can_get_xattr()
/linux-2.4.37.9/include/linux/
Dfs.h72 #define MAY_READ 4 macro