Disable creation of coredump file
Hi,
I want to disable the creation of the core dump even after set "ulimit -c XXXX"
I modifyinclude/asm-i386/resource.h
the data structure INIT_RLIMITS
the 4th elements(RLIMIT_CORE)
fromrlim_cur = 0, rlim_max = RLIMINFINITY
torlim_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
Quoted 12 lines · [email protected] 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 structureINIT_RLIMITS
the 4thelements(RLIMIT_CORE)
fromrlim_cur= 0,rlim_max= RLIMINFINITY torlim_cur= 0,rlim_max= 0
But core dump still be created.
Quoted 3 lines
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.
Signature · 2 lines
www.iosn.it * Amministratore Italian Open Source Network www.fyrebird.net * Fyrebird Hosting Provider - Technical Department