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:
parent
a9183883b8
commit
4655d42e3b
6 changed files with 91 additions and 41 deletions
|
|
@ -344,7 +344,7 @@ sys_chdir(void)
|
|||
int
|
||||
sys_exec(void)
|
||||
{
|
||||
char *path, *argv[20];
|
||||
char *path, *argv[MAXARG];
|
||||
int i;
|
||||
uint uargv, uarg;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue