[PATCH]: MAX_MAP_COUNT -> /proc

From: Mike Perry (mikepery@is.so.fscked.org)
Date: Mon Oct 02 2000 - 00:07:12 EST


Well, Mark Hahn mailed me and brought up the point that there might be some
security issue for having the MAX_MAP_COUNT set lower than the full address
space (Although I don't see how you can do anything with more mappings if
RLIMIT_AS is set tight). He suggested something like this might be better
suited to /proc, like vm.overcommit_memory. So I went ahead and moved it to
/proc. I've attached a patch against 2.2.17 and 2.4.0test8. The default is
back to 65536.

-- 
Mike Perry
http://so.fscked.org



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:09 EST