NetBSD-Users archive

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

Re: "Real programs dump core"

    Date:        Mon, 5 Sep 2011 17:43:11 +0200
    From:        Hauke Fath <>
    Message-ID:  <p0624080dca8a9c9840eb@[]>

  | % /root/sudo-1.7.7 /usr/bin/true
  | Bus error
  | % limit | grep file
  | filesize     unlimited
  | %

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).


Home | Main Index | Thread Index | Old Index