lkml.org 
[lkml]   [1999]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC][PATCH] scripts with stdin replaced
Date
>>>>> "Jamie" == Jamie Lokier <lkd@tantalophile.demon.co.uk> writes:
> When /proc is mounted, run all scripts using /proc/self/fd.

No, you don't want /proc/self/fd unless it's really necessary (setuid)
because it loses the path information which is going to break some scripts.
This loss is not important for setuid scripts (they didn't work before
anyway).
And using a /proc/self/<scriptname> trick is not enough either.
The whole path might be useful (to find other files in the same dir as the
scripts, ...)


Stefan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.031 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site