lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190724065651.GJ4832@uranus.lan>
Date:   Wed, 24 Jul 2019 09:56:51 +0300
From:   Cyrill Gorcunov <gorcunov@...il.com>
To:     Yang Xu <xuyang2018.jy@...fujitsu.com>
Cc:     akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] sys_prctl(): remove unsigned comparision with less
 than zero

On Wed, Jul 24, 2019 at 10:11:48AM +0800, Yang Xu wrote:
> Currently, when calling prctl(PR_SET_TIMERSLACK, arg2), arg2 is an
> unsigned long value, arg2 will never < 0. Negative judgment is
> meaningless, so remove it.
> 
> Fixes: 6976675d9404 ("hrtimer: create a "timer_slack" field in the task struct")
> Signed-off-by: Yang Xu <xuyang2018.jy@...fujitsu.com>
> Cc: Cyrill Gorcunov <gorcunov@...il.com>
Acked-by: Cyrill Gorcunov <gorcunov@...il.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ