From f3c29937e678c3baf89b138d822e6edd46af7009 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 6 Apr 2020 07:50:41 +0200 Subject: [PATCH] prctl.2: Note semantics of IO_FLUSHER state with respect to fork(2) and execve(2) Reported-by: Mike Christie Signed-off-by: Michael Kerrisk --- man2/prctl.2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man2/prctl.2 b/man2/prctl.2 index a6c7f0435..e321d8457 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -1401,6 +1401,11 @@ and .IR arg5 must be zero. .IP +The IO_FLUSHER state is inherited by a child process created via +.BR fork (2) +and is preserved across +.BR execve (2). +.IP Examples of IO_FLUSHER applications are FUSE daemons, SCSI device emulation daemons, and daemons that perform error handling like multipath path recovery applications.