* [PATCH] ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore
@ 2008-07-08 6:37 Nikanth Karthikesan
[not found] ` <200807081207.39693.knikanth-l3A5Bk7waGM@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Nikanth Karthikesan @ 2008-07-08 6:37 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, axboe-tSWWG44O7X1aa/9Udqfwiw
Since linux-2.6.25 CAP_SYS_ADMIN capability is not required to set
IOPRIO_CLASS_IDLE.
Signed-off-by: Nikanth Karthikesan <knikanth-l3A5Bk7waGM@public.gmane.org>
---
man2/ioprio_set.2 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: b/man2/ioprio_set.2
===================================================================
--- a/man2/ioprio_set.2
+++ b/man2/ioprio_set.2
@@ -293,11 +293,12 @@ capability can change the priority of an
.B "What is the desired priority"
Attempts to set very high priorities
.RB ( IOPRIO_CLASS_RT )
-or very low ones
-.RB ( IOPRIO_CLASS_IDLE )
require the
.B CAP_SYS_ADMIN
-capability.
+capability. Kernel versions till 2.6.24 require
+.B CAP_SYS_ADMIN
+capability even to set very low priority
+.RB ( IOPRIO_CLASS_IDLE ).
.PP
A call to
.BR ioprio_set ()
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore
[not found] ` <200807081207.39693.knikanth-l3A5Bk7waGM@public.gmane.org>
@ 2008-07-08 7:17 ` Michael Kerrisk
[not found] ` <cfd18e0f0807080017y56441677wdf8163c520e8103f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Michael Kerrisk @ 2008-07-08 7:17 UTC (permalink / raw)
To: Nikanth Karthikesan
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA, axboe-tSWWG44O7X1aa/9Udqfwiw
On Tue, Jul 8, 2008 at 8:37 AM, Nikanth Karthikesan <knikanth-l3A5Bk7waGM@public.gmane.org> wrote:
> Since linux-2.6.25 CAP_SYS_ADMIN capability is not required to set
> IOPRIO_CLASS_IDLE.
>
> Signed-off-by: Nikanth Karthikesan <knikanth-l3A5Bk7waGM@public.gmane.org>
>
> ---
> man2/ioprio_set.2 | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> Index: b/man2/ioprio_set.2
> ===================================================================
> --- a/man2/ioprio_set.2
> +++ b/man2/ioprio_set.2
> @@ -293,11 +293,12 @@ capability can change the priority of an
> .B "What is the desired priority"
> Attempts to set very high priorities
> .RB ( IOPRIO_CLASS_RT )
> -or very low ones
> -.RB ( IOPRIO_CLASS_IDLE )
> require the
> .B CAP_SYS_ADMIN
> -capability.
> +capability. Kernel versions till 2.6.24 require
> +.B CAP_SYS_ADMIN
> +capability even to set very low priority
> +.RB ( IOPRIO_CLASS_IDLE ).
Hi Nikanth,
Thanks for this!
I'll reword this as
==
Attempts to set very high priorities
.RB ( IOPRIO_CLASS_RT )
require the
.B CAP_SYS_ADMIN
capability.
Kernel versions up to 2.6.24 also required
B CAP_SYS_ADMIN
to set very low priority
.RB ( IOPRIO_CLASS_IDLE ),
but since Linux 2.6.24 this is no longer required.
==
Okay?
The change will be in man-pages-3.04.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore
[not found] ` <cfd18e0f0807080017y56441677wdf8163c520e8103f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-07-08 8:55 ` Nikanth Karthikesan
2008-07-08 10:11 ` Michael Kerrisk
1 sibling, 0 replies; 4+ messages in thread
From: Nikanth Karthikesan @ 2008-07-08 8:55 UTC (permalink / raw)
To: Michael Kerrisk
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA, axboe-tSWWG44O7X1aa/9Udqfwiw
On Tuesday 08 July 2008 12:47:26 Michael Kerrisk wrote:
> On Tue, Jul 8, 2008 at 8:37 AM, Nikanth Karthikesan <knikanth-l3A5Bk7waGM@public.gmane.org>
wrote:
> > Since linux-2.6.25 CAP_SYS_ADMIN capability is not required to set
> > IOPRIO_CLASS_IDLE.
> >
> > Signed-off-by: Nikanth Karthikesan <knikanth-l3A5Bk7waGM@public.gmane.org>
> >
> > ---
> > man2/ioprio_set.2 | 7 ++++---
> > 1 file changed, 4 insertions(+), 3 deletions(-)
> >
> > Index: b/man2/ioprio_set.2
> > ===================================================================
> > --- a/man2/ioprio_set.2
> > +++ b/man2/ioprio_set.2
> > @@ -293,11 +293,12 @@ capability can change the priority of an
> > .B "What is the desired priority"
> > Attempts to set very high priorities
> > .RB ( IOPRIO_CLASS_RT )
> > -or very low ones
> > -.RB ( IOPRIO_CLASS_IDLE )
> > require the
> > .B CAP_SYS_ADMIN
> > -capability.
> > +capability. Kernel versions till 2.6.24 require
> > +.B CAP_SYS_ADMIN
> > +capability even to set very low priority
> > +.RB ( IOPRIO_CLASS_IDLE ).
>
> Hi Nikanth,
>
> Thanks for this!
>
> I'll reword this as
>
> ==
> Attempts to set very high priorities
> .RB ( IOPRIO_CLASS_RT )
> require the
> .B CAP_SYS_ADMIN
> capability.
> Kernel versions up to 2.6.24 also required
> B CAP_SYS_ADMIN
> to set very low priority
> .RB ( IOPRIO_CLASS_IDLE ),
> but since Linux 2.6.24 this is no longer required.
> ==
>
> Okay?
>
Thanks, Michael.
> The change will be in man-pages-3.04.
>
Thanks
Nikanth Karthikesan
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore
[not found] ` <cfd18e0f0807080017y56441677wdf8163c520e8103f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-08 8:55 ` Nikanth Karthikesan
@ 2008-07-08 10:11 ` Michael Kerrisk
1 sibling, 0 replies; 4+ messages in thread
From: Michael Kerrisk @ 2008-07-08 10:11 UTC (permalink / raw)
To: Nikanth Karthikesan
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA, axboe-tSWWG44O7X1aa/9Udqfwiw
On Tue, Jul 8, 2008 at 9:17 AM, Michael Kerrisk
<mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:
> On Tue, Jul 8, 2008 at 8:37 AM, Nikanth Karthikesan <knikanth-l3A5Bk7waGM@public.gmane.org> wrote:
>> Since linux-2.6.25 CAP_SYS_ADMIN capability is not required to set
>> IOPRIO_CLASS_IDLE.
>>
>> Signed-off-by: Nikanth Karthikesan <knikanth-l3A5Bk7waGM@public.gmane.org>
>>
>> ---
>> man2/ioprio_set.2 | 7 ++++---
>> 1 file changed, 4 insertions(+), 3 deletions(-)
>>
>> Index: b/man2/ioprio_set.2
>> ===================================================================
>> --- a/man2/ioprio_set.2
>> +++ b/man2/ioprio_set.2
>> @@ -293,11 +293,12 @@ capability can change the priority of an
>> .B "What is the desired priority"
>> Attempts to set very high priorities
>> .RB ( IOPRIO_CLASS_RT )
>> -or very low ones
>> -.RB ( IOPRIO_CLASS_IDLE )
>> require the
>> .B CAP_SYS_ADMIN
>> -capability.
>> +capability. Kernel versions till 2.6.24 require
>> +.B CAP_SYS_ADMIN
>> +capability even to set very low priority
>> +.RB ( IOPRIO_CLASS_IDLE ).
>
> Hi Nikanth,
>
> Thanks for this!
>
> I'll reword this as
>
> ==
> Attempts to set very high priorities
> .RB ( IOPRIO_CLASS_RT )
> require the
> .B CAP_SYS_ADMIN
> capability.
> Kernel versions up to 2.6.24 also required
> B CAP_SYS_ADMIN
> to set very low priority
> .RB ( IOPRIO_CLASS_IDLE ),
> but since Linux 2.6.24 this is no longer required.
And I fixed my typo there: "since Linux 2.6.25..."
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-08 10:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 6:37 [PATCH] ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore Nikanth Karthikesan
[not found] ` <200807081207.39693.knikanth-l3A5Bk7waGM@public.gmane.org>
2008-07-08 7:17 ` Michael Kerrisk
[not found] ` <cfd18e0f0807080017y56441677wdf8163c520e8103f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-08 8:55 ` Nikanth Karthikesan
2008-07-08 10:11 ` Michael Kerrisk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox