inode addrs[NDIRECT] -> NADDRS

fix race in mknod / creat
use last component in dirent in mknod, not path
This commit is contained in:
rtm 2006-08-25 01:11:30 +00:00
parent 74493bf446
commit 5051da6de3
7 changed files with 208 additions and 31 deletions

5
Notes
View file

@ -120,6 +120,11 @@ test: dup() shared fd->off
test: indirect blocks. files and directories.
test: sbrk
test: does echo foo > x truncate x?
test: does create/mkdir/link extract last component correctly?
does namei insist that all the intermediate directories exist?
test: creat/link/mkdir w/ / in name
test: try to create dir ents when intermediate dir doesn't exist
or is a file, not a dir
make proc[0] runnable
cpu early tss and gdt