lkml.org 
[lkml]   [2005]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Disable creation of coredump file
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.245 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site