• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/nfsd/

Lines Matching defs:access

281 	 * which only requires access, and "set-[ac]time-to-X" which
537 * Check server access rights to a file system object
540 u32 access;
563 /* Some clients - Solaris 2.6 at least, make an access call
564 * to the server to check for access for things like /dev/null
566 * We provide simple access checking for them, looking
579 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported)
602 query = *access;
603 for (; map->access; map++) {
604 if (map->access & query) {
607 sresult |= map->access;
612 result |= map->access;
615 /* the following error codes just mean the access was not allowed,
620 /* simply don't "or" in the access bit. */
628 *access = result;
641 * The access argument indicates the type of open (read/write/lock)
646 int access, struct file **filp)
659 err = fh_verify(rqstp, fhp, type, access | MAY_OWNER_OVERRIDE);
666 /* Disallow write access to files with the append-only bit set
667 * or any access when mandatory locking enabled
670 if (IS_APPEND(inode) && (access & MAY_WRITE))
682 host_err = break_lease(inode, O_NONBLOCK | ((access & MAY_WRITE) ? FMODE_WRITE : 0));
688 if (access & MAY_WRITE) {
689 if (access & MAY_READ)
1771 * Check for a user's access permissions to this inode.
1782 /* Normally we reject any write/sattr etc access on a read-only file
1783 * system. But if it is IRIX doing check on write-access for a
1807 * The file owner always gets access permission for accesses that
1809 * file access work even when the client has done a fchmod(fd, 0).
1826 /* Allow read access to binaries even when mode 111 */