/[hurd]/hurd/libdiskfs/dir-lookup.c
ViewVC logotype

Diff of /hurd/libdiskfs/dir-lookup.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by roland, Wed May 8 09:57:05 2002 UTC revision 1.53 by roland, Mon May 13 22:04:48 2002 UTC
# Line 430  diskfs_S_dir_lookup (struct protid *dirc Line 430  diskfs_S_dir_lookup (struct protid *dirc
430              type == S_IFIFO)              type == S_IFIFO)
431             && (flags & (O_READ|O_WRITE|O_EXEC)))             && (flags & (O_READ|O_WRITE|O_EXEC)))
432            || (type == S_IFLNK && (flags & (O_WRITE|O_EXEC))))            || (type == S_IFLNK && (flags & (O_WRITE|O_EXEC))))
433          error = EOPNOTSUPP;          error = EACCES;
434    
435        if (!error && (flags & O_READ))        if (!error && (flags & O_READ))
436          error = fshelp_access (&np->dn_stat, S_IREAD, dircred->user);          error = fshelp_access (&np->dn_stat, S_IREAD, dircred->user);

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26