This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/3] tst-longjmp_chk3: new test for checking sigaltstack edge cases
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 7 Jan 2014 12:21:20 +0100
- Subject: Re: [PATCH 3/3] tst-longjmp_chk3: new test for checking sigaltstack edge cases
- Authentication-results: sourceware.org; auth=none
- References: <1388359563-12505-1-git-send-email-vapier at gentoo dot org> <1388359563-12505-3-git-send-email-vapier at gentoo dot org>
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