All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lethalman <lethalman@fyrebird.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Disable creation of coredump file
Date: Sun, 02 Jan 2005 15:25:10 +0100	[thread overview]
Message-ID: <41D80446.50206@fyrebird.net> (raw)
In-Reply-To: <20050102142735.58501.qmail@web53904.mail.yahoo.com>

gan_xiao_jun@yahoo.com wrote:
> Hi,
> 
> I want to disable the creation of the core dump even
> after set "ulimit -c XXXX"
> 
> I modify 
> include/asm-i386/resource.h
> the data structure INIT_RLIMITS
> the 4th elements(RLIMIT_CORE)
> from 
> rlim_cur = 0, rlim_max = RLIMINFINITY
> to 
> rlim_cur = 0, rlim_max = 0
> But core dump still be created.
> 
> Thanks in advance.
> gan
> 

Undefining USE_ELF_CORE_DUMP from asm headers (like 
include/asm-i386/elf.h and asm/elf.h) should disable core dumping.

-- 
www.iosn.it * Amministratore Italian Open Source Network
www.fyrebird.net * Fyrebird Hosting Provider - Technical Department

      reply	other threads:[~2005-01-02 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-02 14:27 Disable creation of coredump file gan_xiao_jun
2005-01-02 14:25 ` Lethalman [this message]

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=41D80446.50206@fyrebird.net \
    --to=lethalman@fyrebird.net \
    --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.