[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [RFC][PATCH] scripts with stdin replaced
From:       "Stefan Monnier"
Date:       1999-07-13 11:05:11
[Download RAW message or body]

>>>>> "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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic