diff options
author | seb <seb@pkgsrc.org> | 2002-08-28 11:06:17 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-08-28 11:06:17 +0000 |
commit | 9a2cbf0ab0c3932effb25bf18d0e0bd146744dcb (patch) | |
tree | 75efa29b414c62f586837a52fa4ffc0196db8f5b /mk/defs.Linux.mk | |
parent | 8b2d3c7f707b7cff7b9de3a7b400463844c70643 (diff) | |
download | pkgsrc-9a2cbf0ab0c3932effb25bf18d0e0bd146744dcb.tar.gz |
Allow more flexibility in the handling of UNLIMIT_RESOURCES.
Each word of UNLIMIT_RESOURCES is supposed to be a knob on
ULIMIT_CMD_<word> variable which value if defined is added to _ULIMIT_CMD.
The ULIMIT_CMD_* variables are set per $OPSYS in defs.*.mk and are overridable
by the user.
Solaris' default value of ULIMIT_CMD_memorysize adjusted as suggested in PR
pkg/18087 by Jonathan Perkin <sketch@rd.bbc.co.uk>.
Diffstat (limited to 'mk/defs.Linux.mk')
-rw-r--r-- | mk/defs.Linux.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index a290700bc0f..c12cf48f093 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.28 2002/07/15 16:24:01 schmonz Exp $ +# $NetBSD: defs.Linux.mk,v 1.29 2002/08/28 11:06:18 seb Exp $ # # Variable definitions for the Linux operating system. @@ -71,6 +71,9 @@ ROOT_CMD?= ${SU} - root -c ROOT_GROUP?= wheel ROOT_USER?= root SERIAL_DEVICES?= /dev/null +ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` +ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` +ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` USERADD?= /usr/sbin/useradd ZOULARISBASE?= /usr/pkg |