[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1210590913.10883.9.camel@dhcp-lab-164.englab.brq.redhat.com>
Date: Mon, 12 May 2008 13:15:12 +0200
From: Jan Lieskovsky <jlieskov@...hat.com>
To: sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: David Miller <davem@...emloft.net>
Subject: sparc: Fix mremap VA span checking.
Hello guys,
sorry for bothering you if wrong, but based on DaveM's
patch: <cite>
sparc: Fix mmap VA span checking.
David S. Miller [Wed, 7 May 2008 09:24:28 +0000 (02:24 -0700)]
[ Upstream commit: 5816339310b2d9623cf413d33e538b45e815da5d ]
We should not conditionalize VA range checks on MAP_FIXED.
Signed-off-by: David S. Miller <davem@...emloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
</cite>
I have investigated the code for MREMAP_FIXED in
sparc_mremap in arch/sparc/kernel/sys_sparc.c, for sys64_mremap
in arch/sparc64/kernel/sys_sparc.c and
for sys32_mremap in arch/sparc64/kernel/sys_sparc32.c
and there are similar conditional range checks ->
attaching the patches against 2.6.25.3.
Kind regards
Jan iankko Lieskovsky
View attachment "sparc_sys_sparc.diff" of type "text/x-patch" (911 bytes)
View attachment "sparc64_sys_sparc.diff" of type "text/x-patch" (587 bytes)
View attachment "sparc64_sys_sparc32.diff" of type "text/x-patch" (588 bytes)
Powered by blists - more mailing lists