prctl.2: Reword description of PR_GET_IO_FLUSHER

Reported-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-02 14:12:43 +02:00
parent 3872a3d621
commit b5b0b2882e
1 changed files with 3 additions and 2 deletions

View File

@ -1406,8 +1406,9 @@ emulation daemons, and daemons that perform error handling like multipath
path recovery applications.
.TP
.B PR_GET_IO_FLUSHER (Since Linux 5.6)
Return as the function result 1 if the caller is in the IO_FLUSHER state and
0 if not.
Return (as the function result) the IO_FLUSHER state of the caller.
A value of 1 indicates that the caller is in the IO_FLUSHER state;
0 indicates that the caller is not in the IO_FLUSHER state.
.IP
The calling process must have the
.BR CAP_SYS_RESOURCE