* [PATCH] fix PERMISSIONS section of taskset man page
@ 2013-12-06 21:07 Rik van Riel
2013-12-10 10:34 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Rik van Riel @ 2013-12-06 21:07 UTC (permalink / raw)
To: util-linux-ng; +Cc: kzak, jmario
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@redhat.com>
Reported-by: Joe Mario <jmario@redhat.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fix PERMISSIONS section of taskset man page
2013-12-06 21:07 [PATCH] fix PERMISSIONS section of taskset man page Rik van Riel
@ 2013-12-10 10:34 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-12-10 10:34 UTC (permalink / raw)
To: Rik van Riel; +Cc: util-linux-ng, jmario
On Fri, Dec 06, 2013 at 04:07:54PM -0500, Rik van Riel wrote:
> schedutils/taskset.1 | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Applied, thanks.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-10 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 21:07 [PATCH] fix PERMISSIONS section of taskset man page Rik van Riel
2013-12-10 10:34 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox