summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-09-12 10:16:18 +0000
committerrwatson <rwatson@FreeBSD.org>2005-09-12 10:16:18 +0000
commit1481446aae3f57f2a3c6facaaf98f0c864b1416d (patch)
treef82a889670fb21da1ddade25b21789bf875ab183 /lib/libc/stdlib/malloc.3
parent919d519cbbf1563e57778c33e1f384f2a5e7d871 (diff)
downloadFreeBSD-src-1481446aae3f57f2a3c6facaaf98f0c864b1416d.zip
FreeBSD-src-1481446aae3f57f2a3c6facaaf98f0c864b1416d.tar.gz
Only poll the fifo for read events if the fifo is attached to a readable
file descriptor. Otherwise, the read end of a fifo might return that it is writable (which it isn't). Only poll the fifo for write events if the fifo attached to a writable file descriptor. Otherwise, the write end of a fifo might return that it is readable (which it isn't). In the event that a file is FREAD|FWRITE (which is allowed by POSIX, but has undefined behavior), we poll for both. MFC after: 3 days
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud