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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <a8231a22-3610-8e44-7fdf-dfc9d047dfa2@redhat.com>
Date: Thu, 29 Aug 2024 18:36:19 +0200 (CEST)
From: Mikulas Patocka <mpatocka@...hat.com>
To: 陈玉凡 <chenyufan@...o.com>
cc: Alasdair Kergon <agk@...hat.com>, Mike Snitzer <snitzer@...nel.org>, 
    "dm-devel@...ts.linux.dev" <dm-devel@...ts.linux.dev>, 
    "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, 
    "opensource.kernel" <opensource.kernel@...o.com>
Subject: Re: [PATCH v1] Device-mapper(LVM): Convert to use time_after_eq
 macro



On Thu, 29 Aug 2024, 陈玉凡 wrote:

> When "jiffies" is 0x10 (because of wraparound) and 
> "container_of(wc->lru.prev, struct wc_entry, lru)->age" is 0x1(I'm not 
> sure if it can be such a small value), the result will change from a 
> large value to a small value.
> 
> Chen

So, the when you subtract the numbers, you get 0xf. There's nothing wrong 
with it.

Mikulas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ