diff options
author | netchild <netchild@FreeBSD.org> | 2007-01-07 19:30:19 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2007-01-07 19:30:19 +0000 |
commit | bda4ef3aed1b84144a6cecd368d82049437b317a (patch) | |
tree | a857aa697f1fa1c8259c99f1320c1da8d9738d21 | |
parent | d49d13b83f906dcda1a96313a1ad65f8ff68bee2 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/compat/linux/linux_misc.c | 2 |
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 { |