|
Message-ID: <20111119081846.GA3419@albatros> Date: Sat, 19 Nov 2011 12:18:46 +0400 From: Vasiliy Kulikov <segoon@...nwall.com> To: Andrew Morton <akpm@...ux-foundation.org> Cc: Pavel Emelyanov <xemul@...allels.com>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Cyrill Gorcunov <gorcunov@...nvz.org>, Glauber Costa <glommer@...allels.com>, Andi Kleen <andi@...stfloor.org>, Tejun Heo <tj@...nel.org>, Matt Helsley <matthltc@...ibm.com>, Pekka Enberg <penberg@...nel.org>, Eric Dumazet <eric.dumazet@...il.com>, kernel-hardening@...ts.openwall.com Subject: Re: [PATCH v2 0/4] Checkpoint/Restore: Show in proc IDs of objects that can be shared between tasks On Sat, Nov 19, 2011 at 12:10 +0400, Vasiliy Kulikov wrote: > Also, if one should have an ability to learn IDs of specific object > types and the set of types is very limited, it's much safer to have one > increasing u64 counter for each created object of one of these types. > The exposed to userspace data will be: > > ID = hash(counter ^ cookie) Even hash(counter) without any cookie and counter is randomly generated at boot time. -- Vasiliy Kulikov http://www.openwall.com - bringing security into open computing environments
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.