copyout() copies data to a va in a pagetable, for exec() &c

usertest that passes too many arguments, break exec
This commit is contained in:
Robert Morris 2010-09-27 16:14:33 -04:00
parent a9183883b8
commit 4655d42e3b
6 changed files with 91 additions and 41 deletions

View file

@ -344,7 +344,7 @@ sys_chdir(void)
int
sys_exec(void)
{
char *path, *argv[20];
char *path, *argv[MAXARG];
int i;
uint uargv, uarg;