Lines Matching defs:access
611 * Check server access rights to a file system object
614 u32 access;
649 /* Some clients - Solaris 2.6 at least, make an access call
650 * to the server to check for access for things like /dev/null
652 * We provide simple access checking for them, looking
665 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported)
688 query = *access;
689 for (; map->access; map++) {
690 if (map->access & query) {
693 sresult |= map->access;
698 result |= map->access;
701 /* the following error codes just mean the access was not allowed,
706 /* simply don't "or" in the access bit. */
714 *access = result;
723 int nfsd_open_break_lease(struct inode *inode, int access)
727 if (access & NFSD_MAY_NOT_BREAK_LEASE)
729 mode = (access & NFSD_MAY_WRITE) ? O_WRONLY : O_RDONLY;
754 /* Disallow write access to files with the append-only bit set
755 * or any access when mandatory locking enabled
2074 nfsd_statfs(struct svc_rqst *rqstp, struct svc_fh *fhp, struct kstatfs *stat, int access)
2078 err = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP | access);
2325 * Check for a user's access permissions to this inode.
2354 /* Normally we reject any write/sattr etc access on a read-only file
2355 * system. But if it is IRIX doing check on write-access for a
2380 * The file owner always gets access permission for accesses that
2382 * file access work even when the client has done a fchmod(fd, 0).
2400 /* Allow read access to binaries even when mode 111 */