diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-05-31 15:48:48 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-05-31 17:09:35 +0200 |
| commit | 6cb4a1f5f444d66b015f5939f3ea3e9a0768dac5 (patch) | |
| tree | f9c904e28e8ff7daf8654d55be4d63787e45cb21 | |
| parent | 3d97d81447555ad1aca5ca0a5a64449303c45f01 (diff) | |
| download | man-pages-6cb4a1f5f444.tar.gz | |
PR_SET_TSC.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man2const/PR_SET_TSC.2const | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/man/man2const/PR_SET_TSC.2const b/man/man2const/PR_SET_TSC.2const index 9b091fea60..29c596a25f 100644 --- a/man/man2const/PR_SET_TSC.2const +++ b/man/man2const/PR_SET_TSC.2const @@ -1,11 +1,9 @@ .\" Copyright 2008, Erik Bosman <ejbosman@cs.vu.nl> .\" 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 .\" -.\" 2008-06-13 Erik Bosman, <ejbosman@cs.vu.nl> -.\" Document PR_SET_TSC. -.\" .TH PR_SET_TSC 2const (date) "Linux man-pages (unreleased)" .SH NAME PR_SET_TSC @@ -18,17 +16,15 @@ Standard C library .nf .B #include <sys/prctl.h> .P -.BI "int prctl(int " op ", ...);" +.BI "int prctl(PR_SET_TSC, long " flag ", 0L, 0L, 0L);" .fi .SH DESCRIPTION -.TP -.BR PR_SET_TSC " (since Linux 2.6.26, x86 only)" Set the state of the flag determining whether the timestamp counter can be read by the process. Pass .B PR_TSC_ENABLE to -.I arg2 +.I flag to allow it to be read, or .B PR_TSC_SIGSEGV to generate a @@ -44,11 +40,12 @@ is set to indicate the error. .TP .B EINVAL .I arg2 -is not a valid value for this -.IR op . +is not a valid value. .SH STANDARDS Linux. +x86 only. .SH HISTORY +Linux 2.6.26 (x86). .SH SEE ALSO .BR prctl (2), .BR PR_GET_TSC (2const) |
