summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
authorRik van Riel2013-12-06 22:07:54 +0100
committerKarel Zak2013-12-10 11:33:54 +0100
commitab0e0fa7a45bccf8304edcb2a904f30a4f3a48b1 (patch)
tree662bff4b10bd7a55a3b9bc3c78c811684358d919 /schedutils
parentcal: use month contents structure for --year printing (diff)
downloadkernel-qcow2-util-linux-ab0e0fa7a45bccf8304edcb2a904f30a4f3a48b1.tar.gz
kernel-qcow2-util-linux-ab0e0fa7a45bccf8304edcb2a904f30a4f3a48b1.tar.xz
kernel-qcow2-util-linux-ab0e0fa7a45bccf8304edcb2a904f30a4f3a48b1.zip
taskset: fix PERMISSIONS section of taskset man page
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>
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/taskset.15
1 files changed, 3 insertions, 2 deletions
diff --git a/schedutils/taskset.1 b/schedutils/taskset.1
index ade202b39..fb5738c35 100644
--- a/schedutils/taskset.1
+++ b/schedutils/taskset.1
@@ -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