X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fsc-bad-sp.c;h=56a5b8d4b8ee09a00a26875cfae44848215755d7;hb=000aa464d48cc64e885137e1a8040aca75e9344a;hp=2ae20e96d01cd63b2f421feb1786af2fcb40f9db;hpb=575dc45e34db19ee7808c116e93485b37e0df716;p=pintos-anon diff --git a/src/tests/userprog/sc-bad-sp.c b/src/tests/userprog/sc-bad-sp.c index 2ae20e9..56a5b8d 100644 --- a/src/tests/userprog/sc-bad-sp.c +++ b/src/tests/userprog/sc-bad-sp.c @@ -1,3 +1,7 @@ +/* Invokes a system call with the stack pointer (%esp) set to a + bad address. The process must be terminated with -1 exit + code. */ + #include "tests/lib.h" #include "tests/main.h"