From owner-freebsd-commit Sat Feb 24 06:37:46 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA07290 for freebsd-commit-outgoing; Sat, 24 Feb 1996 06:37:46 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA07280 for cvs-all-outgoing; Sat, 24 Feb 1996 06:37:38 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA07249 Sat, 24 Feb 1996 06:37:32 -0800 (PST) Date: Sat, 24 Feb 1996 06:37:32 -0800 (PST) From: Peter Wemm Message-Id: <199602241437.GAA07249@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libkvm kvm_proc.c src/lib/libutil setproctitle.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk peter 96/02/24 06:37:31 Modified: lib/libutil setproctitle.c lib/libkvm kvm_proc.c Log: If the two recently added sysctl variables exist, use those rather than the statically compiled PS_STRINGS and USRSTACK variables. This prevents programs using setproctitle from coredumping if the kernel VM is increased, and stops libkvm users (w, ps, etc) from needing to be recompiled if only the VM layout changes. Revision Changes Path 1.2 +17 -10 src/lib/libutil/setproctitle.c 1.12 +17 -2 src/lib/libkvm/kvm_proc.c