On 2017-04-29 17:28:33, Sebastien Marie <sema...@online.fr> wrote:
> On Sat, Apr 29, 2017 at 11:21:25PM +0900, Bryan Linton wrote:
> > 
> > One hack I've done when I don't care about actually getting or
> > using a corefile from large programs is to do the following:
> > 
> >     # rm progname.core
> >     # touch progname.core
> >     # chflags uchg progname.core
> > 
> > Of course, I'd only recommend doing so if one is absolutely
> > certain they don't want a corefile from said program ever again,
> > and will remember to unset that flag should they ever change their
> > mind.
> > 
> 
> If you want to disable core dump for a program, you could (should ?)
> configure your RLIMIT_CORE to 0.
> 
> $ ulimit -c 0
> $ firefox
> 

Ah, yes.  That's a much better solution.  I overlooked that that
option was available.  Thank you for the pointer! :)

-- 
Bryan

Reply via email to