use RLIMIT_AS, after much RTFM
This commit is contained in:
parent
dbf5cdf632
commit
b725114422
7
mksh.1
7
mksh.1
@ -1,7 +1,7 @@
|
||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.72 2006/12/11 20:00:28 tg Exp $
|
||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.73 2007/01/06 18:48:26 tg Exp $
|
||||
.\" $OpenBSD: ksh.1,v 1.118 2006/11/30 08:47:58 jmc Exp $
|
||||
.\"
|
||||
.Dd December 11, 2006
|
||||
.Dd January 6, 2007
|
||||
.Dt MKSH 1
|
||||
.Os MirBSD
|
||||
.Sh NAME
|
||||
@ -3984,8 +3984,7 @@ CPU seconds spent in user mode to be used by each process.
|
||||
.It Fl v Ar n
|
||||
Impose a limit of
|
||||
.Ar n
|
||||
kibibytes on the amount of virtual memory (on some
|
||||
operating systems: total address space) used.
|
||||
kibibytes on the amount of virtual memory (address space) used.
|
||||
.It Fl w Ar n
|
||||
Impose a limit of
|
||||
.Ar n
|
||||
|
4
sh.h
4
sh.h
@ -8,7 +8,7 @@
|
||||
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
|
||||
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
|
||||
|
||||
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.90 2007/01/06 17:08:14 tg Exp $"
|
||||
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.91 2007/01/06 18:48:27 tg Exp $"
|
||||
#define MKSH_VERSION "R29 2007/01/06"
|
||||
|
||||
#if HAVE_SYS_PARAM_H
|
||||
@ -119,7 +119,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined(RLIMIT_VMEM) && defined(RLIMIT_AS)
|
||||
#warning portability warning: RLIMIT_AS support
|
||||
#define RLIMIT_VMEM RLIMIT_AS
|
||||
#endif
|
||||
|
||||
/* OS-dependent additions */
|
||||
|
Loading…
x
Reference in New Issue
Block a user