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] [day] [month] [year] [list]
Message-ID: <20081218073824.GB2110@ucw.cz>
Date:	Thu, 18 Dec 2008 08:38:25 +0100
From:	Pavel Machek <pavel@...e.cz>
To:	"Peter T. Breuer" <ptb@....it.uc3m.es>
Cc:	linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: time_is_after_jiffies misnomer

On Tue 2008-12-16 12:31:41, Peter T. Breuer wrote:
> 
> I thought at first that
> 
>     time_is_after_jiffies(foo)
> 
> meant that the current time is later than foo jiffies. In fact, it's
> the reverse! (as far as I can tell! 2.6.26-11). 
> 
> Can we change this name or provide an alternative? Perhaps
> 
>    jiffies_is_later_than(foo)
> 
> ??

Yes, it is confusing and yes, it should be fixed. Probably by
introducing better names and switching callers to them.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ