summaryrefslogtreecommitdiff
path: root/usertests.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-01fix usertests to correctly test what happens when you callRobert Morris1-8/+20
exec() with arguments that don't fit on a single page.
2011-08-30enterpgdir -> entrypgdirRobert Morris1-4/+17
2011-08-19make dirlookup and dirlink more similarRobert Morris1-0/+53
2011-08-15avoid deadlock by calling begin_trans() before locking any inodesRobert Morris1-3/+47
2011-08-12log write() dataRobert Morris1-1/+32
usertest for big write()s push begin_trans/commit_trans down into syscalls
2011-08-08Speedup sbrk tst a bit (forking 100Mbyte processes is slow)Frans Kaashoek1-4/+10
2011-08-07Adjust sbrk test for large user address spacesFrans Kaashoek1-20/+9
All tests pass
2011-02-19xv6: formatting, cleanup, rev5 (take 2)Russ Cox1-3/+3
2011-01-11make new code like old codeRuss Cox1-50/+50
Variable declarations at top of function, separate from initialization. Use == 0 instead of ! for checking pointers. Consistent spacing around {, *, casts. Declare 0-parameter functions as (void) not (). Integer valued functions return -1 on failure, 0 on success.
2010-09-27copyout() copies data to a va in a pagetable, for exec() &cRobert Morris1-5/+5
usertest that passes too many arguments, break exec
2010-09-20map kernel instructions r/oRobert Morris1-0/+28
2010-09-19my comment is wrong, exec handles BSS fineRobert Morris1-0/+16
2010-09-01Remove the stack guard page. Processes are now contiguous from 0 to ↵Austin Clements1-19/+41
proc->sz, which means our syscall argument validation is correct. Add a pointer validation test and remove the stack test, which tested for the guard page.
2010-09-01Space policeAustin Clements1-7/+7
2010-08-31Cleanup if allocuvm fails to alloc. Add a test.Austin Clements1-0/+36
2010-08-11uptime() sys call for benchmarkingRobert Morris1-1/+23
increase PHYSTOP
2010-08-10allow sbrk(-x) to de-allocate user memoryRobert Morris1-1/+56
2010-08-06fix corner cases in exec of ELFRobert Morris1-0/+24
put an invalid page below the stack have fork() handle invalid pages
2010-08-05fix allocuvm() to handle sbrk() with non-page-granularity argumentRobert Morris1-0/+34
(maybe this never worked, but it works now)
2009-05-31group locks into structs they protect.rsc1-3/+2
few naming nits.
2007-09-27make slow bigdir last testrsc1-3/+1
2007-09-27believe it or not, this was workingrsc1-1/+3
the macro expansion of "char *cp;" turned into char *(curproc[cpu()]); which declares a dynamically sized array of char* called curproc. so then &cp == &(curproc[cpu()]) was actually a stack variable as "expected". it was one past the end of the array, but the implicit alloca allocated more than was necessary. do not tell me that making cp a #define was a bad idea. there are worse problems to fix. more on that later.
2007-09-26debugging printsrsc1-0/+3
2007-08-24test that fork fails gracefullyrsc1-0/+39
2007-08-24add missing iput() at end of _namei()rtm1-0/+95
2007-08-24oops, O_CREATE doesn't truncate, so holes can't exist, thus no bugrtm1-71/+0
2007-08-24test concurrent open/unlink of same file (ok)rtm1-3/+89
test files with holes (not ok)
2007-08-22check unlink of non-empty directoryrsc1-5/+27
2007-08-20bug in usertests!rsc1-2/+2
2007-08-10add test for rm .rsc1-0/+41
2007-08-10avoid assignments in declarationsrsc1-9/+10
2007-08-08missing voidrsc1-10/+10
2007-08-08standardize on not using unsigned keywordrsc1-1/+1
2006-09-07fix testsrsc1-3/+9
2006-09-07remove bogus testrsc1-6/+0
2006-09-07check super-long lookupsrsc1-1/+7
2006-09-07one regression test programkaashoek1-8/+890
2006-09-06standardize various * conventionsrsc1-6/+6
2006-08-29prune unneeded panics and debug outputrtm1-19/+29
2006-08-29i broke sbrk, fix itrtm1-3/+6
2006-08-25kill user process when it generates an unhandled trap (e.g., 13)kaashoek1-12/+0
fix bug in test code of malloc
2006-08-24bug in sbrkkaashoek1-3/+39
test malloc
2006-08-19chdirkaashoek1-0/+2
cd in shell nits in mkdir, ls, etc.
2006-08-15no more proc[] entry per cpu for idle looprtm1-294/+0
each cpu[] has its own gdt and tss no per-proc gdt or tss, re-write cpu's in scheduler (you win, cliff) main0() switches to cpu[0].mpstack
2006-08-13namei returns locked parent dir inode for create / unlinkrtm1-1/+1
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
2006-08-13link()rtm1-0/+61
2006-08-12LRU disk cache replacementrtm1-2/+12
2006-08-12buffer cache, fifo replacementrtm1-1/+1
2006-08-12mknod set nlink = 1rtm1-0/+114
usertests for concurrent create/delete, and read() after unlink()
2006-08-12fix getblk to actually lock the blockrtm1-9/+119
no more cons_put system calls usertests tests two processes writing files