Date: Mon, 2 Oct 2000 18:50:57 -0400 (EDT) From: pjp@click2net.com To: FreeBSD-gnats-submit@freebsd.org Subject: docs/21712: core(5) manpage fails to mention kern.sugid_coredump Message-ID: <200010022250.SAA08440@november.jaded.net>
next in thread | raw e-mail | index | archive | help
>Number: 21712 >Category: docs >Synopsis: core(5) manpage fails to mention kern.sugid_coredump >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 02 15:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Peter Philipp >Release: >Organization: Click2Net Inc. >Environment: >Description: It takes too long for someone not familiar with coredump operations to figure out how to make a process dump core when that file is setugid or a process changes credentials with setuid(), seteuid(), setgid() ... A mention in the manpage would be helpful, patch below. >How-To-Repeat: >Fix: unified patch below for /usr/src/share/man/man5/core.5 --- core.5.orig Mon Oct 2 18:20:20 2000 +++ core.5 Mon Oct 2 18:30:23 2000 @@ -76,6 +76,14 @@ .Em \&%N.core , yielding the traditional FreeBSD behaviour. .Pp +By default, a user or group process that changes its real or effective id +credential will not create a corefile. This behaviour can be changed by +setting the +.Xr sysctl 8 +variable +.Va kern.sugid_coredump +to a true value. +.Pp The core file consists of the .Fa u . area, whose size (in pages) is >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010022250.SAA08440>