about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-01-01 10:38:58 +0000
committerEric Wong <e@80x24.org>2020-01-01 19:11:07 +0000
commit8c21d7dc061b5e53eb096f5e7edcb1cd16c0f959 (patch)
tree21d53e5161667dd47ac2b9dcc000822ad3349061 /t
parent7dddc72dd59b8947696cf0563034fda672b67905 (diff)
downloadpublic-inbox-8c21d7dc061b5e53eb096f5e7edcb1cd16c0f959.tar.gz
We can use Perl's sysopen function to pass O_NONBLOCK to open(2)
and avoid blocking on FIFOs.  This avoids a TOCTTOU race where
somebody can change a regular to FIFO in between the stat(2) and
open(2) syscalls.
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions