From owner-freebsd-questions Tue Jan 30 15:46:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fepA.post.tele.dk (fepA.post.tele.dk [195.41.46.143]) by hub.freebsd.org (Postfix) with ESMTP id 09FFA37B67D for ; Tue, 30 Jan 2001 15:46:20 -0800 (PST) Received: from fabel.dk ([195.249.198.111]) by fepA.post.tele.dk (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010130234617.WBNY12154.fepA.post.tele.dk@fabel.dk> for ; Wed, 31 Jan 2001 00:46:17 +0100 Message-ID: <3A77522E.7371FB51@fabel.dk> Date: Wed, 31 Jan 2001 00:45:50 +0100 From: mph X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: missing coredump after setuid() Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, I'm writing some cgistuff I'd like to get core files when something is wrong. The kernel (I guess, the limits in login.conf are unlimited) refuses to give coredumps to programs that have called setuid() if the kern.sugid_coredump is false, at least it doesn't show "core dumped". Af I set kern.sugid_coredump to 1 to claims core to be dumped but the core file in question doesn't exist on the disk. I've verified permissions on current dirs, apache's ServerRoot and apache's CoreDumpDirectory, but it didn't work out. I'm using FreeBSD 4.1.1-RELEASE. Ideas anyone? Martin P. Hansen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message