This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] posix: Add SIGSEGV on the trap list for globtest.sh
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 11 Apr 2017 20:22:56 +0200
- Subject: Re: [PATCH] posix: Add SIGSEGV on the trap list for globtest.sh
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com D1C9BC0567B3
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D1C9BC0567B3
- References: <1491934157-30940-1-git-send-email-adhemerval.zanella@linaro.org>
On 04/11/2017 08:09 PM, Adhemerval Zanella wrote:
-trap 'chmod 777 $testdir/noread; rm -fr $testdir $testout' 1 2 3 15
+trap 'chmod 777 $testdir/noread; rm -fr $testdir $testout' HUP INT QUIT SEGV TERM
Does the shell really receive the signal? Why not use “0”?
Thanks,
Florian