Skip to contentSkip to conversation

fix PERMISSIONS section of taskset man page

PATCH Applied Rik van Riel 2 participants 2 messages Dec 6, 2013 – Dec 10, 2013 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 schedutils/taskset.1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
schedutils/taskset.1 +3 -2
index ade202b..916bce7 100644
@@ -102,10 +102,11 @@ Display version information and exit.
 .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
maintainer Applied
#1 lore raw
Quoted 2 lines · Rik van Riel
 schedutils/taskset.1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com