Parent Directory | Revision Log | 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); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |