From: "Guillaume Chazarain" <guichaz@yahoo.fr>
To: "Al Viro" <viro@zeniv.linux.org.uk>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] proc: return -EPERM when preventing read of /proc/*/maps
Date: Sun, 3 Feb 2008 19:20:46 +0100 [thread overview]
Message-ID: <3d8471ca0802031020r4b735f27q83317ee8facf53cc@mail.gmail.com> (raw)
In-Reply-To: <20080104151931.GC27894@ZenIV.linux.org.uk>
On Jan 4, 2008 4:19 PM, Al Viro <viro@zeniv.linux.org.uk> wrote:
> Umm... Actually, m_next() and m_stop() both appear to be too convoluted.
>
> * m_next() never gets v == NULL
> * the only reason why we do that mmput et.al. both from ->next() and
> ->stop() is that we try to avoid having priv->mm; why bother?
> * why the _hell_ is proc_maps_private defined in include/linux/proc_fs.h,
> of all places?
> * while we are at it, why is it in any header at all? Having that sucker
> in task_mmu.c and task_nommu.c would be more than enough (and we'd avoid
> that ifdef in definition, while we are at it).
>
> How about this:
Hi Al,
Any update on this patch?
As you completely rewrote it, I thought you would take care of pushing
it forward.
Thanks.
--
Guillaume
prev parent reply other threads:[~2008-02-03 18:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-04 13:57 Guillaume Chazarain
2008-01-04 14:14 ` Al Viro
2008-01-04 14:35 ` Guillaume Chazarain
2008-01-04 15:19 ` Al Viro
2008-01-04 16:15 ` Guillaume Chazarain
2008-02-03 18:20 ` Guillaume Chazarain [this message]
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=3d8471ca0802031020r4b735f27q83317ee8facf53cc@mail.gmail.com \
--to=guichaz@yahoo.fr \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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®