lkml.org 
[lkml]   [2009]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] allow execve'ing "/proc/self/exe" even if /proc is not mounted
> With this patch, it is possible to execute /proc/self/exe
> even if /proc is not mounted. In the below example,
> ./sh is a static shell binary:

What if the user has procfs mounted somewherelse, what if they are in a
chroot where you don't want them to patch the binary and re-exec it ?

It would be far far cleaner for NOMMU to have a NOMMU private "reexec()"
call that didn't rely on procfs or hacking names into the kernel.

So NAK

Alan


\
 
 \ /
  Last update: 2009-06-25 10:13    [W:0.138 / U:1.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site