tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sh(1) exec redirection



I can understand that NetBSD's sh derives (unless set -o posix is given) from 
SUS in cases where SUS documents brain-dead historical behaviour.

However, passing fd's opened by exec to commands called later on doesn't 
appear obviously brain-dead to me.

Wouldn't it be more appropriate to have a close-everything-on-exec flag that 
/etc/rc can use instead of violating SUS on purpose?


Home | Main Index | Thread Index | Old Index