aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-28 15:47:56 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-31 01:37:51 +0200
commit80522afd3069e45d96a0515767fc921b2954dedd (patch)
treece349dba7c97a7e2d288b34cdae5f4c6a88adc76 /man/man2
parent5c749ab3a12657696da8f8a35d18111a8e7ac533 (diff)
downloadman-pages-80522afd3069e45d96a0515767fc921b2954dedd.tar.gz
prctl.2, PR_GET_IO_FLUSHER.2const: Split PR_GET_IO_FLUSHER from prctl(2)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2')
-rw-r--r--man/man2/prctl.221
1 files changed, 3 insertions, 18 deletions
diff --git a/man/man2/prctl.2 b/man/man2/prctl.2
index 2c22552380..79880079ca 100644
--- a/man/man2/prctl.2
+++ b/man/man2/prctl.2
@@ -93,23 +93,8 @@ The first argument can be:
.B PR_GET_FPEXC
.TQ
.B PR_SET_IO_FLUSHER
-.\" prctl PR_GET_IO_FLUSHER
-.TP
-.B PR_GET_IO_FLUSHER (Since Linux 5.6)
-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
-.B CAP_SYS_RESOURCE
-capability.
-.IP
-.IR arg2 ,
-.IR arg3 ,
-.IR arg4 ,
-and
-.I arg5
-must be zero.
+.TQ
+.B PR_GET_IO_FLUSHER
.\" prctl PR_SET_KEEPCAPS
.TP
.BR PR_SET_KEEPCAPS " (since Linux 2.2.18)"
@@ -1661,7 +1646,6 @@ of the calling process.
for information on the protection mask bits.)
.SH RETURN VALUE
On success,
-.BR PR_GET_IO_FLUSHER ,
.BR PR_GET_KEEPCAPS ,
.BR PR_MCE_KILL_GET ,
.BR PR_GET_NO_NEW_PRIVS ,
@@ -2035,4 +2019,5 @@ glibc 2.0.6
.BR PR_SET_FPEXC (2const),
.BR PR_GET_FPEXC (2const),
.BR PR_SET_IO_FLUSHER (2const),
+.BR PR_GET_IO_FLUSHER (2const),
.BR core (5)