freebsd-skq/sys/fs/fifofs
Konstantin Belousov f26ca5ecde Do not allow O_EXEC opens for fifo, return EINVAL.
Besides not making sense, open(O_EXEC) for fifo creates fifoinfo with
zero readers and writers counts, which causes premature free of pipes.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-12-17 17:28:02 +00:00
..
fifo_vnops.c Do not allow O_EXEC opens for fifo, return EINVAL. 2013-12-17 17:28:02 +00:00