Date: Tue, 26 Oct 1999 14:24:29 +0400 (MSD) From: Grigoriy Strokin <grg@isabase.philol.msu.ru> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/14540: ulimit -c 0 and limits -c 0 no longer disable creating core dumps Message-ID: <199910261024.OAA01997@isabase.philol.msu.ru>
next in thread | raw e-mail | index | archive | help
>Number: 14540 >Category: kern >Synopsis: ulimit -c 0 and limits -c 0 no longer disable creating core dumps >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 26 03:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Grigoriy Strokin >Release: FreeBSD 3.3-STABLE i386 >Organization: Moscow University >Environment: /bin/sh or bash 2.03.0(1) as login shell >Description: In older versions of FreeBSD one might use ulimit -c 0 to disable creation of core files. Now neither ulimit -c 0 nor limits -B -c 0 don't do what is expected: the core dumps are created, though of zero size. However, man limits says: example, if you wish to disable core dumps when starting up the usenet news system, but wish to set all other resource settings as well that apply to the 'news' account, you might use: eval `limits -U news -aBec 0` >How-To-Repeat: ulimit -c 0; limits -B -c 0; cat; [press Ctrl-\] Result: the file cat.core will be created. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910261024.OAA01997>