Re: [PATCH v2] prctl.2: correct the wrong message about PR_SET_TIMERSLACK

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

 



On Wed, Jul 24, 2019 at 02:52:23PM +0800, Yang Xu wrote:
> In kernel/sys.c, arg2 is an unsigned long value and it will never
> less than 0. Also, since kernel commit id da8b44d5a9f8, timer_slack_ns 
> and default timer_slack_ns have been converted into u64, the return 
> value of PR_GET_TIMERSLACK has been limited under ULONG_MAX.
> 
> The timer slack value also can be inherited by a child created via
> fork(2).
> 
> Signed-off-by: Yang Xu <xuyang2018.jy@xxxxxxxxxxxxxx>
Reviewed-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>



[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