summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2007-01-07 19:30:19 +0000
committernetchild <netchild@FreeBSD.org>2007-01-07 19:30:19 +0000
commitbda4ef3aed1b84144a6cecd368d82049437b317a (patch)
treea857aa697f1fa1c8259c99f1320c1da8d9738d21 /sys/compat
parentd49d13b83f906dcda1a96313a1ad65f8ff68bee2 (diff)
downloadFreeBSD-src-bda4ef3aed1b84144a6cecd368d82049437b317a.zip
FreeBSD-src-bda4ef3aed1b84144a6cecd368d82049437b317a.tar.gz
MFp4 (112646):
Now (ok it's been a while...) that FreeBSD has RLIMIT_AS too, we can use it in the linuxolator instead of ignoring it. This fixes a LTP test. Submitted by: rdivacky
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index a09f691..e3e837e 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -100,7 +100,7 @@ __FBSDID("$FreeBSD$");
static unsigned int linux_to_bsd_resource[LINUX_RLIM_NLIMITS] = {
RLIMIT_CPU, RLIMIT_FSIZE, RLIMIT_DATA, RLIMIT_STACK,
RLIMIT_CORE, RLIMIT_RSS, RLIMIT_NPROC, RLIMIT_NOFILE,
- RLIMIT_MEMLOCK, -1
+ RLIMIT_MEMLOCK, RLIMIT_AS
};
struct l_sysinfo {
OpenPOWER on IntegriCloud