From: <ro...@us...> - 2003-07-22 01:59:43
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/munlock In directory sc8-pr-cvs1:/tmp/cvs-serv22346 Modified Files: munlock02.c Log Message: I decided it's easier to munlock from outside the address space by using &addr-100, instead of trying to pick a big enough length to go past the memory assigned to the process Index: munlock02.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/munlock/munlock02.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- munlock02.c 23 Jun 2003 15:28:06 -0000 1.5 +++ munlock02.c 22 Jul 2003 01:59:40 -0000 1.6 @@ -92,7 +92,7 @@ int error; char *edesc; } TC[] = { - {&addr1, LEN * 1024, ENOMEM, "address range out of address space" }, + {&addr1-100, LEN, ENOMEM, "address range out of address space" }, }; int main(int ac, char **av) |