summaryrefslogtreecommitdiffstats
path: root/share/man/man5/core.5
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>2002-01-09 13:16:26 +0000
committernik <nik@FreeBSD.org>2002-01-09 13:16:26 +0000
commit9779a3479162c342e0bb6d3b253fe8cdb7b8518e (patch)
tree8faa0b047e4b5fbb801327ac65dd2e34e301528b /share/man/man5/core.5
parent3c28c6904f49f80ea5aecabe99bd3c14c654aeb3 (diff)
downloadFreeBSD-src-9779a3479162c342e0bb6d3b253fe8cdb7b8518e.zip
FreeBSD-src-9779a3479162c342e0bb6d3b253fe8cdb7b8518e.tar.gz
Note that kern.sugid_coredump must be 1 to generate a core from processes
that change their credentials. PR: docs/21712 Submitted by: Peter Philipp <pjp@click2net.com>
Diffstat (limited to 'share/man/man5/core.5')
-rw-r--r--share/man/man5/core.58
1 files changed, 8 insertions, 0 deletions
diff --git a/share/man/man5/core.5 b/share/man/man5/core.5
index a3ff558..2b6f00f 100644
--- a/share/man/man5/core.5
+++ b/share/man/man5/core.5
@@ -78,6 +78,14 @@ yielding the traditional
.Fx
behaviour.
.Pp
+By default, a process that changes user or group credentials whether
+real or effective will not create a corefile. This behaviour can be
+changed to generate a core dump by setting the
+.Xr sysctl 8
+variable
+.Va kern.sugid_coredump
+to 1.
+.Pp
The core file consists of the
.Fa u .
area, whose size (in pages) is
OpenPOWER on IntegriCloud