lkml.org 
[lkml]   [2009]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] allow execve'ing "/proc/self/exe" even if /proc is not mounted
From
Date
* Denys Vlasenko:

> Some people want to unset CONFIG_PROC_FS, and still have
> working POSIX compatible shell.

Nowadays, the dynamic linker requires a mounted /proc with
/proc/self/exe for some features (notably $ORIGIN handling). So it's
not self-exec only that doesn't work if /proc isn't there. I guess
the kernel must make sure that /proc is always there (unlikely), or we
need a different mechanism to get this data.

--
Florian Weimer <fweimer@bfk.de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99
--
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: 2009-06-26 10:21    [W:0.251 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site