fix PERMISSIONS section of taskset man page
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.
Signed-off-by Rik van Riel <[email protected]>
Reported-by Joe Mario <[email protected]>
--- schedutils/taskset.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
schedutils/taskset.1 +3 -2
@@ -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
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