From: David Miller <davem@davemloft.net>
To: jlieskov@redhat.com
Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: sparc: Fix mremap VA span checking.
Date: Mon, 12 May 2008 04:24:53 -0700 (PDT) [thread overview]
Message-ID: <20080512.042453.238263459.davem@davemloft.net> (raw)
In-Reply-To: <1210590913.10883.9.camel@dhcp-lab-164.englab.brq.redhat.com>
From: Jan Lieskovsky <jlieskov@redhat.com>
Date: Mon, 12 May 2008 13:15:12 +0200
> 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.
Thanks for the report, I'll take a look at this after getting
some sleep as it's late hear.
My first impression is that it might make sense to put an
arch_mmap_check() call at the appropriate spots instead of duplicating
this check so many times.
next prev parent reply other threads:[~2008-05-12 11:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 11:15 Jan Lieskovsky
2008-05-12 11:24 ` David Miller [this message]
2008-05-12 23:12 ` Martin Habets
2008-05-12 23:24 ` David Miller
2008-05-12 23:48 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080512.042453.238263459.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jlieskov@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®