From: linux@armlinux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] pid: Export find_task_by_vpid for use in external modules
Date: Thu, 10 May 2018 20:44:22 +0100 [thread overview]
Message-ID: <20180510194422.GX16141@n2100.armlinux.org.uk> (raw)
In-Reply-To: <CANLsYkwaNmZCUjwJXK0X1ia+RnzumfbpB8EvZJ-HDtOHj8rafQ@mail.gmail.com>
On Thu, May 10, 2018 at 01:39:18PM -0600, Mathieu Poirier wrote:
> Hi Russell,
>
> On 10 May 2018 at 02:40, Russell King - ARM Linux <linux@armlinux.org.uk> wrote:
> > This does not leak information from other namespaces because of the
> > uniqueness of the global PID. However, what it does leak is the value
> > of the global PID which is meaningless in the namespace. So, before
> > the event stream is delivered to userspace, this value needs to be
> > re-written to the namespace's PID value.
>
> Unfortunately that can't be done. The trace stream is compressed and
> needs to be decompressed using an external library. I think the only
> option is to return an error if a user is trying to use this feature
> from a namespace.
That sounds like a sensible approach, and that should get rid of the
vpid stuff too.
Eric, would this solve all your concerns?
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up
next prev parent reply other threads:[~2018-05-10 19:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-08 19:06 [PATCH 2/4] pid: Export find_task_by_vpid for use in external modules Kim Phillips
2018-05-09 1:23 ` Eric W. Biederman
2018-05-09 4:59 ` Eric W. Biederman
2018-05-09 11:17 ` Robin Murphy
2018-05-09 15:25 ` Mathieu Poirier
2018-05-10 2:35 ` Eric W. Biederman
2018-05-10 8:40 ` Russell King - ARM Linux
2018-05-10 19:39 ` Mathieu Poirier
2018-05-10 19:44 ` Russell King - ARM Linux [this message]
2018-05-17 5:39 ` Eric W. Biederman
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=20180510194422.GX16141@n2100.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).