linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Core dumps for threads
@ 2001-02-24 21:45 Don Dugger
  2001-02-24 21:57 ` Alan Cox
  0 siblings, 1 reply; 11+ messages in thread
From: Don Dugger @ 2001-02-24 21:45 UTC (permalink / raw)
  To: linux-kernel

Can anyone explain why this test is in routine `do_coredump'
in file `fs/exec.c' in the 2.4.0 kernel?

    if (!current->dumpable || atomic_read(&current->mm->mm_users) != 1)
	goto fail;

The only thing the test on `mm_users' seems to be doing is stopping
a thread process from dumping core.  What's the rationale for this?

-- 
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
n0ano@valinux.com
Ph: 303/938-9838

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-02-27 17:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-24 21:45 Core dumps for threads Don Dugger
2001-02-24 21:57 ` Alan Cox
2001-02-25  9:15   ` Chris Wedgwood
2001-02-25  9:40     ` Adam Fritzler
2001-02-26  0:36       ` davids
2001-02-25 10:28     ` Andi Kleen
2001-02-25 11:03       ` Chris Wedgwood
2001-02-25 13:57     ` Alan Cox
2001-02-27 17:29   ` [PATCH] " Don Dugger
2001-02-27 17:55     ` Alan Cox
2001-02-27 17:57     ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).