Re: [PATCH] signals causing coredumps

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Mon, 15 Nov 1999 17:19:39 +0100 (MET)


Andries.Brouwer@cwi.nl wrote:
> From zippel@fh-brandenburg.de Mon Nov 15 13:46:09 1999
>
> On Sat, 13 Nov 1999 Andries.Brouwer@cwi.nl wrote:
>
> > The Single Unix Spec v2 specifies for 10 signals that they terminate
> > the process and cause a coredump.
> > (Or, to quote more carefully: "Implementation-defined abnormal
> > termination actions, such as creation of a core file, may occur".)
>
> There is more, the standard also says that SIGURG should be ignored by
> default and currently generates a core dump.
>
> Hmm. Does it? What kernel version, what architecture?

Well, it doesn't on my system:

/home/wolff> dd if=/dev/zero of=/dev/null bs=1k &
[1] 14276
/home/wolff> kill -URG %1
/home/wolff> kill -URG %1
/home/wolff> kill -URG %1
/home/wolff> kill -URG %1
/home/wolff> kill -URG %1
/home/wolff> kill -INT %1
/home/wolff> 3960638+0 records in
3960637+0 records out

[1] Interrupt dd if=/dev/zero of=/dev/null bs=1k
/home/wolff> cat /proc/version
Linux version 2.2.14pre1 (wolff@cave) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Sat Oct 30 11:59:50 MEST 1999
/home/wolff>

Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
 "I didn't say it was your fault. I said I was going to blame it on you."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/