| To: | akpm@osdl.org, torvalds@osdl.org |
|---|---|
| Subject: | [PATCH] mips default mlock limit fix |
| From: | Chris Wright <chrisw@osdl.org> |
| Date: | Wed, 19 Jan 2005 17:59:45 -0800 |
| Cc: | linux-kernel@vger.kernel.org, linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5i |
Mips RLIMIT_MEMLOCK incorrectly defaults to unlimited, it was confused
with RLIMIT_NPROC. Found while consolidating resource.h headers.
Signed-off-by: Chris Wright <chrisw@osdl.org>
===== include/asm-mips/resource.h 1.6 vs edited =====
--- 1.6/include/asm-mips/resource.h 2004-08-23 01:15:26 -07:00
+++ edited/include/asm-mips/resource.h 2005-01-19 17:34:25 -08:00
@@ -53,8 +53,8 @@
{ INR_OPEN, INR_OPEN }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
- { MLOCK_LIMIT, MLOCK_LIMIT }, \
- { RLIM_INFINITY, RLIM_INFINITY }, \
+ { 0, 0 }, \
+ { MLOCK_LIMIT, MLOCK_LIMIT }, \
{ RLIM_INFINITY, RLIM_INFINITY }, \
{ MAX_SIGPENDING, MAX_SIGPENDING }, \
{ MQ_BYTES_MAX, MQ_BYTES_MAX }, \
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Au1550 crypto engine and linux?, Clem Taylor |
|---|---|
| Next by Date: | dcache issue..., moreau francis |
| Previous by Thread: | Au1550 crypto engine and linux?, Clem Taylor |
| Next by Thread: | Re: [PATCH] mips default mlock limit fix, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |