[PATCH] ioprio_set.2: CAP_SYS_ADMIN is not reqd to set IOPRIO_CLASS_IDLE anymore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since linux-2.6.25 CAP_SYS_ADMIN capability is not required to set 
IOPRIO_CLASS_IDLE.

Signed-off-by: Nikanth Karthikesan <knikanth@xxxxxxx>

---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux