From: Rusty Russell <rusty@rustcorp.com.au>
To: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
David Rientjes <rientjes@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: maps2-add-proc-pid-pagemap-interface.patch
Date: Tue, 10 Jul 2007 17:00:35 +1000 [thread overview]
Message-ID: <1184050835.6005.532.camel@localhost.localdomain> (raw)
In-Reply-To: <20070710062736.GF11115@waste.org>
On Tue, 2007-07-10 at 01:27 -0500, Matt Mackall wrote:
> On Tue, Jul 10, 2007 at 02:28:50PM +1000, Rusty Russell wrote:
> > I don't think normal ptraces get cut on exec, so I'm not sure why this
> > should be different.
>
> They absolutely do, if UID changes. Consider ptracing a shell
> launching a setuid binary.
No, ptraced processes don't change uid on execing a setuid binary.
Which works, but isn't what you want 8(
> For something more closely analogous, consider opening /proc/pid/mem
> on the same shell...
Ah, now I see where you got this from. OK, but can I have a comment
please?
Thanks!
Rusty.
prev parent reply other threads:[~2007-07-10 7:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-08 11:33 maps2-add-proc-pid-pagemap-interface.patch Rusty Russell
2007-07-09 22:31 ` maps2-add-proc-pid-pagemap-interface.patch Matt Mackall
2007-07-10 4:28 ` maps2-add-proc-pid-pagemap-interface.patch Rusty Russell
2007-07-10 6:27 ` maps2-add-proc-pid-pagemap-interface.patch Matt Mackall
2007-07-10 7:00 ` Rusty Russell [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=1184050835.6005.532.camel@localhost.localdomain \
--to=rusty@rustcorp.com.au \
--cc=akpm@linux-foundation.org \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=rientjes@google.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.