From: Rik van Riel <riel@redhat.com>
To: util-linux-ng@vger.kernel.org
Cc: kzak@redhat.com, jmario@redhat.com
Subject: [PATCH] fix PERMISSIONS section of taskset man page
Date: Fri, 6 Dec 2013 16:07:54 -0500 [thread overview]
Message-ID: <20131206160754.1b162955@annuminas.surriel.com> (raw)
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
next reply other threads:[~2013-12-06 21:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 21:07 Rik van Riel [this message]
2013-12-10 10:34 ` [PATCH] fix PERMISSIONS section of taskset man page Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131206160754.1b162955@annuminas.surriel.com \
--to=riel@redhat.com \
--cc=jmario@redhat.com \
--cc=kzak@redhat.com \
--cc=util-linux-ng@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox