>> [...O_EXEC...] It sounds to me as though O_EXEC would be more honestly spelled something more like O_NOACCESS.
It would also be useful to obtain a descriptor on a search-only directory for fchdir() purposes, which was the motivation that led me to add O_NOACCESS to my own systems. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML mo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B