All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Coredump when program run as root?
Date: Sun, 17 Apr 2005 02:45:45 +0400	[thread overview]
Message-ID: <42619599.8020008@tls.msk.ru> (raw)
In-Reply-To: <20050416181459.GB6681@charite.de>

Ralf Hildebrandt wrote:
> I found this while trying to find out why squid doesn't produce a core
> file:
> 
> http://lists.samba.org/archive/samba-technical/2002-August/023576.html
> 
> Most UNIX variants disable core dumps in programs that have changed their
> uid or euid during operation.  This includes Solaris and Linux.
> 
> Well, squid does exactly that. How can I still get a coredump? I really
> need one. Kernel 2.6.11.7

Not in stock kernel, no.
There's a patch in -ac series which implements 'suid_dumpable' attribute.
It is included with RedHat kernels I think.
The fun stuff is that I wasn't able to use the functionality anyway (i
had similar but a bit worse problem) -- regardless of how hard i tried,
it didn't produce any core dumps ;)

/mjt

P.S.  Hi, Ralf! The world is too small! ;)

  reply	other threads:[~2005-04-16 22:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-16 18:15 Coredump when program run as root? Ralf Hildebrandt
2005-04-16 22:45 ` Michael Tokarev [this message]
     [not found] <3U03M-4Jx-15@gated-at.bofh.it>
2005-04-17  1:03 ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>

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=42619599.8020008@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=Ralf.Hildebrandt@charite.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.