From 9779a3479162c342e0bb6d3b253fe8cdb7b8518e Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 9 Jan 2002 13:16:26 +0000 Subject: 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 --- share/man/man5/core.5 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'share/man/man5/core.5') 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 -- cgit v1.1