[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1184050835.6005.532.camel@localhost.localdomain>
Date: Tue, 10 Jul 2007 17:00:35 +1000
From: Rusty Russell <rusty@...tcorp.com.au>
To: Matt Mackall <mpm@...enic.com>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
David Rientjes <rientjes@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
lkml - Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: maps2-add-proc-pid-pagemap-interface.patch
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists