O_NOSTD
O_NOSTD
Posted Aug 27, 2009 2:13 UTC (Thu) by BenHutchings (subscriber, #37955)In reply to: O_NOSTD by corbet
Parent article: In brief
SUS also says that exec() of a setuid executable may assign file descriptors 0, 1, and 2 to unspecified files if they are not already assigned.
O_NOSTD is utterly pointless as it would need to be added all over the place, including libraries outside the application programmer's control.