]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
taskset: fix PERMISSIONS section of taskset man page
authorRik van Riel <riel@redhat.com>
Fri, 6 Dec 2013 21:07:54 +0000 (16:07 -0500)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Dec 2013 10:33:54 +0000 (11:33 +0100)
A user is always allowed to change the CPU affinity of his or her
own processes. CAP_SYS_NICE is only required to change the affinity
of another user's process.

Signed-off-by: Rik van Riel <riel@redhat.com>
Reported-by: Joe Mario <jmario@redhat.com>
schedutils/taskset.1

index ade202b391e45770562b23dda03cc4c24ce1212b..fb5738c3528eb88eadbc28834ae733df1d157534 100644 (file)
@@ -102,10 +102,11 @@ Or set it:
 .B taskset \-p
 .I mask pid
 .SH PERMISSIONS
+A user can change the CPU affinity of a process belonging to the same user.
 A user must possess
 .B CAP_SYS_NICE
-to change the CPU affinity of a process.  Any user can retrieve the affinity
-mask.
+to change the CPU affinity of a process belonging to another user.
+A user can retrieve the affinity mask of any process.
 .SH AUTHOR
 Written by Robert M. Love.
 .SH COPYRIGHT