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

List:       linux-kernel
Subject:    Re: [RFC][PATCH] scripts with stdin replaced
From:       Jamie Lokier <lkd () tantalophile ! demon ! co ! uk>
Date:       1999-07-12 15:51:08
[Download RAW message or body]

Richard Guenther wrote:
> > I don't understand.  Do you have suid scripts in your boot process ?
> > Or do you mean that you used /proc/self/fd regardless of whether the script
> > was setuid or not ?
> 
> Yes. I made it "dumb and generic" - passing /proc/self/fd only
> if the script is setuid seems ok and would probably fix the problem.

How about checking if procfs is mounted?  This fix is done for security,
but it's really a correctness thing and as such I'd like non-setuid
scripts to be just as correct.

-- Jamie

-
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