Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 00:45:50 +0100
From:      mph <mph@fabel.dk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   missing coredump after setuid()
Message-ID:  <3A77522E.7371FB51@fabel.dk>

next in thread | raw e-mail | index | archive | help
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
<mph@fabel.dk>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A77522E.7371FB51>