Lines Matching defs:access
699 * Check server access rights to a file system object
702 u32 access;
737 /* Some clients - Solaris 2.6 at least, make an access call
738 * to the server to check for access for things like /dev/null
740 * We provide simple access checking for them, looking
753 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported)
776 query = *access;
777 for (; map->access; map++) {
778 if (map->access & query) {
781 sresult |= map->access;
786 result |= map->access;
789 /* the following error codes just mean the access was not allowed,
794 /* simply don't "or" in the access bit. */
802 *access = result;
810 int nfsd_open_break_lease(struct inode *inode, int access)
814 if (access & NFSD_MAY_NOT_BREAK_LEASE)
816 mode = (access & NFSD_MAY_WRITE) ? O_WRONLY : O_RDONLY;
2134 nfsd_statfs(struct svc_rqst *rqstp, struct svc_fh *fhp, struct kstatfs *stat, int access)
2138 err = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP | access);
2393 * Check for a user's access permissions to this inode.
2422 /* Normally we reject any write/sattr etc access on a read-only file
2423 * system. But if it is IRIX doing check on write-access for a
2448 * The file owner always gets access permission for accesses that
2450 * file access work even when the client has done a fchmod(fd, 0).
2469 /* Allow read access to binaries even when mode 111 */