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