ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore
PATCH 1/1 ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore
Since linux-2.6.25 CAP_SYS_ADMIN capability is not required to set IOPRIO_CLASS_IDLE.
--- man2/ioprio_set.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
man2/ioprio_set.2 +4 -3
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 16 lines · Nikanth Karthikesan
Since linux-2.6.25
CAP_SYS_ADMINcapability is not required to setIOPRIO_CLASS_IDLE.Signed-off-by Nikanth Karthikesan <[email protected]>--- man2/ioprio_set.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)Index: b/man2/ioprio_set.2
===================================================================man2/ioprio_set.2 +0
-0@@ -293,11 +293,12 @@ capability can change the priority of an .B "What is the desired priority" Attempts to set very high priorities
man2/ioprio_set.2 capability can change the priority of an · line 301
Quoted 10 lines
man2/ioprio_set.2 +4
-3.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
Signature · 8 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): cfd18e0f0807080017y56441677wdf8163c520e8103f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 1 line · On Tuesday 08 July 2008 12:47:26 Michael Kerrisk wrote:
On Tue, Jul 8, 2008 at 8:37 AM, Nikanth Karthikesan <[email protected]>
Quoted 46 lines · wrote:
Quoted 16 lines
Since linux-2.6.25
CAP_SYS_ADMINcapability is not required to setIOPRIO_CLASS_IDLE.Signed-off-by Nikanth Karthikesan <[email protected]>--- man2/ioprio_set.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)Index: b/man2/ioprio_set.2
===================================================================man2/ioprio_set.2 +0
-0@@ -293,11 +293,12 @@ capability can change the priority of an .B "What is the desired priority" Attempts to set very high prioritiesman2/ioprio_set.2 capability can change the priority of an · line 301
Quoted 10 lines
man2/ioprio_set.2 +4
-3.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
.BCAP_SYS_ADMIN
capability.
Kernel versions up to 2.6.24 also required BCAP_SYS_ADMIN
to set very low priority
.RB (IOPRIO_CLASS_IDLE),
but since Linux 2.6.24 this is no longer required. ==
Quoted 2 lines
Okay?
Thanks, Michael.
Quoted 2 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 34 lines · Michael Kerrisk
Quoted 16 lines · Nikanth Karthikesan
Since linux-2.6.25
CAP_SYS_ADMINcapability is not required to setIOPRIO_CLASS_IDLE.Signed-off-by Nikanth Karthikesan <[email protected]>--- man2/ioprio_set.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)Index: b/man2/ioprio_set.2
===================================================================man2/ioprio_set.2 +0
-0@@ -293,11 +293,12 @@ capability can change the priority of an .B "What is the desired priority" Attempts to set very high prioritiesman2/ioprio_set.2 capability can change the priority of an · line 301
Quoted 10 lines
man2/ioprio_set.2 +4
-3.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
Quoted 11 lines
==
Attempts to set very high priorities
.RB (IOPRIO_CLASS_RT)
require the
.BCAP_SYS_ADMIN
capability.
Kernel versions up to 2.6.24 also required BCAP_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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html