[PATCH] capabilities.7: typo: lowering niceness is special

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

 



Anyone can raise the niceness value. Only lowering requires CAP_SYS_NICE.

    $ nice -n +2 nice
    2
    $ nice -n -2 nice
    nice: cannot set niceness: Permission denied
    0
    $ sudo nice -n -2 nice
    -2

Signed-off-by: Dan Kenigsberg <danken@xxxxxxxxxx>
---
 man7/capabilities.7 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man7/capabilities.7 b/man7/capabilities.7
index 6254c0ac0..64a9f8e34 100644
--- a/man7/capabilities.7
+++ b/man7/capabilities.7
@@ -527,7 +527,7 @@ drop capabilities from the system-wide capability
bounding set.
 .PD 0
 .RS
 .IP * 2
-Raise process nice value
+Lower process nice value
 .RB ( nice (2),
 .BR setpriority (2))
 and change the nice value for arbitrary processes;
-- 
2.25.4




[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