diff options
author | Eric Wong <e@80x24.org> | 2020-01-01 10:38:58 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-01-01 19:11:07 +0000 |
commit | 8c21d7dc061b5e53eb096f5e7edcb1cd16c0f959 (patch) | |
tree | 21d53e5161667dd47ac2b9dcc000822ad3349061 /Documentation/mknews.perl | |
parent | 7dddc72dd59b8947696cf0563034fda672b67905 (diff) | |
download | public-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 'Documentation/mknews.perl')
0 files changed, 0 insertions, 0 deletions