f76d75a5ec
POSIX compliance. VFS changes: * truncate() on a file system mounted read-only no longer panics MFS. * ftruncate() and fcntl(F_FREESP) now check for write permission on the file descriptor instead of the file, write(). * utime(), chown() and fchown() now check for file system read-only status. MFS changes: * link() and rename() no longer return the internal EENTERMOUNT and ELEAVEMOUNT errors to the application as part of a check on the source path. * rename() now treats EENTERMOUNT from the destination path check as an error, preventing file system corruption from renaming a normal directory to an existing mountpoint directory. * mountpoints (mounted-on dirs) are hidden better during lookups: - if a lookup starts from a mountpoint, the first component has to be ".." (anything else being a VFS-FS protocol violation). - in that case, the permissions of the mountpoint are not checked. - in all other cases, visiting a mountpoint always results in EENTERMOUNT. * a lookup on ".." from a mount root or chroot(2) root no longer succeeds if the caller does not have search permission on that directory. * POSIX: getdents() now updates directory access times. * POSIX: readlink() now returns partial results instead of ERANGE. Miscellaneous changes: * semaphore file handling bug (leading to hangs) fixed in test 32. The VFS changes should now put the burden of checking for read-only status of file systems entirely on VFS, and limit the access permission checks that file systems have to perform, to checking search permission on directories during lookups. From this point on, any deviation from that spceification should be considered a bug. Note that for legacy reasons, the root partition is assumed to be mounted read-write. |
||
---|---|---|
.. | ||
select | ||
common.c | ||
Makefile | ||
run | ||
t10a.c | ||
t11a.c | ||
t11b.c | ||
test1.c | ||
test2.c | ||
test3.c | ||
test4.c | ||
test5.c | ||
test6.c | ||
test7.c | ||
test8.c | ||
test9.c | ||
test10.c | ||
test11.c | ||
test12.c | ||
test13.c | ||
test14.c | ||
test15.c | ||
test16.c | ||
test17.c | ||
test18.c | ||
test19.c | ||
test20.c | ||
test21.c | ||
test22.c | ||
test23.c | ||
test24.c | ||
test25.c | ||
test26.c | ||
test27.c | ||
test28.c | ||
test29.c | ||
test30.c | ||
test31.c | ||
test32.c | ||
test33.c | ||
test34.c | ||
test35.c | ||
test36.c | ||
test37.c | ||
test38.c | ||
test39.c | ||
testsh1.sh | ||
testsh2.sh |