Hmm, if I mount an fdescfs on /dev/fd, then flick-off the close on exec flag & exec the program on /dev/fd/N, it works.... but the file descriptor is an empty file rather then the content of my temporary file.... which was written out through the open file handle.
Even worse, I can !cat /tmp/thetempfile in ed, and see the content it is supposed to have from opening /dev/fd/N lol.
__________________
My Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|