lkml.org 
[lkml]   [2007]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: maps2-add-proc-pid-pagemap-interface.patch
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-10 09:03    [W:0.071 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site