diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-05-30 13:09:07 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-05-31 01:54:54 +0200 |
| commit | 2dcad3cde34edd47acd59084a15adb5612fe6492 (patch) | |
| tree | cb370194aa38cc0c92c203ebeb35056b3c6fe024 | |
| parent | f790ec959a280cbbe2cf399868457ad81c0e2c67 (diff) | |
| download | man-pages-2dcad3cde34edd47acd59084a15adb5612fe6492.tar.gz | |
PR_SET_SECUREBITS.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man2const/PR_SET_SECUREBITS.2const | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man/man2const/PR_SET_SECUREBITS.2const b/man/man2const/PR_SET_SECUREBITS.2const index df63330432..374461b9ac 100644 --- a/man/man2const/PR_SET_SECUREBITS.2const +++ b/man/man2const/PR_SET_SECUREBITS.2const @@ -1,4 +1,5 @@ .\" Copyright 2008, 2012, 2013, 2015, Michael Kerrisk <mtk.manpages@gmail.com> +.\" Copyright 2024, Alejandro Colomar <alx@kernel.org> .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" @@ -14,13 +15,11 @@ Standard C library .nf .B #include <sys/prctl.h> .P -.BI "int prctl(int " op ", ...);" +.BI "int prctl(PR_SET_SECUREBITS, unsigned long " flags ", 0L, 0L, 0L);" .fi .SH DESCRIPTION -.TP -.BR PR_SET_SECUREBITS " (since Linux 2.6.26)" Set the "securebits" flags of the calling thread to the value supplied in -.IR arg2 . +.IR flags . See .BR capabilities (7). .SH RETURN VALUE @@ -32,7 +31,7 @@ is set to indicate the error. .SH ERRORS .TP .B EINVAL -.I arg2 +.I flags is not a valid value. .TP .B EPERM @@ -49,6 +48,7 @@ or tried to set a flag whose corresponding locked flag was set .SH STANDARDS Linux. .SH HISTORY +Linux 2.6.26. .SH SEE ALSO .BR prctl (2), .BR PR_GET_SECUREBITS (2const), |
