6717ab
From ab0e0fa7a45bccf8304edcb2a904f30a4f3a48b1 Mon Sep 17 00:00:00 2001
6717ab
From: Rik van Riel <riel@redhat.com>
6717ab
Date: Fri, 6 Dec 2013 16:07:54 -0500
6717ab
Subject: [PATCH] taskset: fix PERMISSIONS section of taskset man page
6717ab
6717ab
A user is always allowed to change the CPU affinity of his or her
6717ab
own processes. CAP_SYS_NICE is only required to change the affinity
6717ab
of another user's process.
6717ab
6717ab
Signed-off-by: Rik van Riel <riel@redhat.com>
6717ab
Reported-by: Joe Mario <jmario@redhat.com>
6717ab
---
6717ab
 schedutils/taskset.1 | 5 +++--
6717ab
 1 file changed, 3 insertions(+), 2 deletions(-)
6717ab
6717ab
diff --git a/schedutils/taskset.1 b/schedutils/taskset.1
6717ab
index ade202b..fb5738c 100644
6717ab
--- a/schedutils/taskset.1
6717ab
+++ b/schedutils/taskset.1
6717ab
@@ -102,10 +102,11 @@ Or set it:
6717ab
 .B taskset \-p
6717ab
 .I mask pid
6717ab
 .SH PERMISSIONS
6717ab
+A user can change the CPU affinity of a process belonging to the same user.
6717ab
 A user must possess
6717ab
 .B CAP_SYS_NICE
6717ab
-to change the CPU affinity of a process.  Any user can retrieve the affinity
6717ab
-mask.
6717ab
+to change the CPU affinity of a process belonging to another user.
6717ab
+A user can retrieve the affinity mask of any process.
6717ab
 .SH AUTHOR
6717ab
 Written by Robert M. Love.
6717ab
 .SH COPYRIGHT
6717ab
-- 
6717ab
1.8.4.2
6717ab