From: Don Dugger <n0ano@valinux.com>
To: linux-kernel@vger.kernel.org
Subject: Core dumps for threads
Date: Sat, 24 Feb 2001 13:45:23 -0800 [thread overview]
Message-ID: <20010224134523.O26109@valinux.com> (raw)
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(¤t->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
next reply other threads:[~2001-02-24 21:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-24 21:45 Don Dugger [this message]
2001-02-24 21:57 ` Core dumps for threads 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010224134523.O26109@valinux.com \
--to=n0ano@valinux.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).