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@xxxxxxxxxx> Reported-by: Joe Mario <jmario@xxxxxxxxxx> --- schedutils/taskset.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/schedutils/taskset.1 b/schedutils/taskset.1 index ade202b..916bce7 100644 --- a/schedutils/taskset.1 +++ b/schedutils/taskset.1 @@ -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 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html