Date: Tue, 16 Nov 1999 14:45:26 +0200 From: Graham Wheeler <gram@cequrux.com> To: hackers@freebsd.org Subject: Missing core dumps Message-ID: <9911161453040F.23105@cequrux.com>
next in thread | raw e-mail | index | archive | help
Howdy all I have a program that occasionally catches a SEGV signal, but it doesn't dump core. And I really could use that core file, as I can't replicate the problem under controlled conditions. The program is invoked from inetd. It is owned by user nobody and has group mail. When it starts up, it calls setuid and setgid to set the user and group to be nobody and mail respectively. It then chroots to a directory which is owned by bin and has group mail. This directory has owner and group read, write and execute permissions on. The program can create and destroy temporary files in this directory without any problem. It doesn't catch SEGV signals in its own handler, and it has no obvious file size limits. From my reading of Stevens APITUE, there are no reasons why the core file shouldn't be created. Am I missing something? (This is on 2.2.7 and 2.2.8 systems, although I suspect the behaviour will be unchanged under 3.x) TIA gram -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9911161453040F.23105>