public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Disable creation of coredump file
  2005-01-02 14:27 Disable creation of coredump file gan_xiao_jun
@ 2005-01-02 14:25 ` Lethalman
  0 siblings, 0 replies; 2+ messages in thread
From: Lethalman @ 2005-01-02 14:25 UTC (permalink / raw)
  To: linux-kernel

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

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

* Disable creation of coredump file
@ 2005-01-02 14:27 gan_xiao_jun
  2005-01-02 14:25 ` Lethalman
  0 siblings, 1 reply; 2+ messages in thread
From: gan_xiao_jun @ 2005-01-02 14:27 UTC (permalink / raw)
  To: linux-kernel

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



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

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

end of thread, other threads:[~2005-01-02 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-02 14:27 Disable creation of coredump file gan_xiao_jun
2005-01-02 14:25 ` Lethalman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox