X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fuserprog.texi;h=880fe46f74ffc4e26139f59f9f4428391247eca3;hb=5779c099854ef6a635613c0dc9c7ea1cff6288dc;hp=75123849b0622bcd7aa312a462cba104a36761de;hpb=47312fb57d6fe1d2c0377533a08f709840576873;p=pintos-anon diff --git a/doc/userprog.texi b/doc/userprog.texi index 7512384..880fe46 100644 --- a/doc/userprog.texi +++ b/doc/userprog.texi @@ -468,6 +468,11 @@ in @func{setup_stack}. That will work for any test program that doesn't examine its arguments, although its name will be printed as @code{(null)}. +Until you implement argument passing, you should only run programs +without passing command-line arguments. Attempting to pass arguments to +a program will include those arguments in the name of the program, which +will probably fail. + @item User memory access (@pxref{Accessing User Memory}). All system calls need to read user memory. Few system calls need to write to user