- Aug 21, 2007
-
-
rsc authored
Various cleanup: - Got rid of dummy proc[0]. Now proc[0] is init. - Added initcode.S to exec /init, so that /init is just a regular binary. - Moved exec out of sysfile to exec.c - Moved code dealing with fs guts (like struct inode) from sysfile.c to fs.c. Code dealing with system call arguments stays in sysfile.c - Refactored directory routines in fs.c; should be simpler. - Changed iget to return *unlocked* inode structure. This solves the lookup-then-use race in namei without introducing deadlocks. It also enabled getting rid of the dummy proc[0].
-
- Aug 20, 2007
-
-
rsc authored
-
- Sep 07, 2006
-
-
rsc authored
-
- Aug 24, 2006
-
-
rtm authored
fix race in mknod / creat use last component in dirent in mknod, not path
-
- Aug 13, 2006
-
-
rtm authored
don't hold fd table lock across idecref() (latter does block i/o) idecref calls iput() in case last ref -> freeing inode dir size is 512 * # blocks, so readi/writei &c work unlink deletes dirent even if ip->nlink > 0
-
- Aug 08, 2006
-
-
kaashoek authored
-
- Jul 21, 2006