diff options
author | Kees Cook <keescook@chromium.org> | 2019-11-21 21:59:28 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-11-22 18:35:14 +0100 |
commit | dffd011480d727a819c537edf3b90ef063731725 (patch) | |
tree | 965ea41e24cbbeb978dc436d8cb28f70871d8f33 /Documentation/Makefile | |
parent | docs, parallelism: Fix failure path and add comment (diff) | |
download | linux-dffd011480d727a819c537edf3b90ef063731725.tar.xz linux-dffd011480d727a819c537edf3b90ef063731725.zip |
docs, parallelism: Do not leak blocking mode to other readers
Setting non-blocking via a local copy of the jobserver file descriptor
is safer than just assuming other reader processes with the same fd open
are prepared for it to be non-blocking.
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/lkml/44c01043-ab24-b4de-6544-e8efd153e27a@rasmusvillemoes.dk
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20191121205929.40371-3-keescook@chromium.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/Makefile')
0 files changed, 0 insertions, 0 deletions