NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "Real programs dump core"



At 6:02 Uhr +0700 06.09.2011, Robert Elz wrote:
>The limit you should be looking for is the core file size, not file size,
>(that's ulimit -c - or in csh terminology, coredumpsize) - and you also need
>to remember that sudo might be deliberately setting that to 0 to prevent
>any possibility of a core dump, testing its value in the shell isn't
>definitive (you'd need a ktrace and check for setrlimit calls).

Thanks -- setrlimit helped with sudo, which indeed disables dumping core,
unless built with -DSUDO_DEVEL.

        hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index