[PATCH] posix: Add SIGSEGV on the trap list for globtest.sh

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Apr 11 19:59:00 GMT 2017



On 11/04/2017 15:22, Florian Weimer wrote:
> 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”?

It does not off course since it is not the shell that is actually generating
the segfault. I will rewrite the patch.

> 
> Thanks,
> Florian



More information about the Libc-alpha mailing list