Module Name: src
Committed By: wiz
Date: Fri Feb 21 15:33:58 UTC 2025
Modified Files:
src/lib/librt: pset.3
Log Message:
Add LIBRARY section and explicitly mention that these interfaces
require super-user privileges.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/librt/pset.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librt/pset.3
diff -u src/lib/librt/pset.3:1.14 src/lib/librt/pset.3:1.15
--- src/lib/librt/pset.3:1.14 Tue May 31 08:43:14 2022
+++ src/lib/librt/pset.3 Fri Feb 21 15:33:58 2025
@@ -1,4 +1,4 @@
-.\" $NetBSD: pset.3,v 1.14 2022/05/31 08:43:14 andvar Exp $
+.\" $NetBSD: pset.3,v 1.15 2025/02/21 15:33:58 wiz Exp $
.\"
.\" Copyright (c) 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd May 6, 2010
+.Dd February 21, 2025
.Dt PSET 3
.Os
.Sh NAME
@@ -36,6 +36,8 @@
.Nm pset_bind ,
.Nm pset_destroy
.Nd processor sets
+.Sh LIBRARY
+.Lb librt
.Sh SYNOPSIS
.In sys/pset.h
.Ft int
@@ -154,6 +156,10 @@ is
the processor set ID of the caller thread will be used.
.El
.Sh IMPLEMENTATION NOTES
+Except for
+.Dv PS_QUERY
+operations, these interfaces require super-user privileges.
+.Pp
The
.Fn pset_bind
function can return the current processor set ID to which the