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: <20081222090149.GA22123@ioremap.net>
Date:	Mon, 22 Dec 2008 12:01:49 +0300
From:	Evgeniy Polyakov <zbr@...emap.net>
To:	Eric Paris <eparis@...hat.com>
Cc:	"C. Scott Ananian" <cscott@...top.org>,
	linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
	viro@...iv.linux.org.uk, hch@...radead.org,
	akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk
Subject: Re: [RFC PATCH -v4 12/14] fsnotify: add correlations between events

On Sun, Dec 21, 2008 at 09:40:01PM -0500, Eric Paris (eparis@...hat.com) wrote:
> anyone who uses inotify think there would be a problem with cookie reuse
> coming this soon?

In my experience we only care about cookies to be the same, and not
monotinically grow up. So this may just jump up and down, and since
events are potentially distributed in time (although follow one after
another), wrapping should roughly cover number of processes running (and
potentially renaming objects), so having 20 bits for the counter and 12
for the CPU id should be enough for now.

-- 
	Evgeniy Polyakov
--
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