diff options
author | Robert Morris <[email protected]> | 2010-09-27 16:14:33 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2010-09-27 16:14:33 -0400 |
commit | 4655d42e3b65f906eae8c815fb78331790f6e423 (patch) | |
tree | de5b3e4e74c992fd3cd8fef0a2d37cb805c659ac /sysfile.c | |
parent | a9183883b88bfccd1c6a62e27621b2c892d50b67 (diff) | |
download | xv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.tar.gz xv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.tar.bz2 xv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.zip |
copyout() copies data to a va in a pagetable, for exec() &c
usertest that passes too many arguments, break exec
Diffstat (limited to 'sysfile.c')
-rw-r--r-- | sysfile.c | 2 |
1 files changed, 1 insertions, 1 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; |