[PATCH 3/3] tst-longjmp_chk3: new test for checking sigaltstack edge cases

Ondřej Bílka neleai@seznam.cz
Tue Jan 7 11:21:00 GMT 2014


On Sun, Dec 29, 2013 at 06:26:03PM -0500, Mike Frysinger wrote:
> Make sure the longjmp checking logic catches stacks that are slightly
> outside of a valid alternative signal stack.
> 
also looks ok except you need update

> diff --git a/debug/tst-longjmp_chk3.c b/debug/tst-longjmp_chk3.c
> new file mode 100644
> index 0000000..5b814ae
> --- /dev/null
> +++ b/debug/tst-longjmp_chk3.c
> @@ -0,0 +1,85 @@
> +/* Make sure longjmp fortification catches bad signal stacks.
> +   Copyright (C) 2013 Free Software Foundation, Inc.
> +   This file is part of the GNU C Library.
> +
2014



More information about the Libc-alpha mailing list