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=42a67e9ac6854ec56c35c82e1ad9c4e2c8662139;hp=2ae20e96d01cd63b2f421feb1786af2fcb40f9db;hpb=ff8effb2f514ca54a594074e1cc33b22a1978050;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"