[lkml]   [2008]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ELF: implement AT_RANDOM for future glibc use
On Mon, Oct 06, 2008 at 09:26:41PM +0200, Andi Kleen wrote:
> > We're already using get_random* for stack, heap, and brk. Also,
> > get_random* uses the nonblocking pool, so this is the same as if userspace
> > had tried to pull bytes out of /dev/urandom, which (as I understand it)
> Yes exactly that's the problem. Think about it: do you really
> need the same cryptographic strength for your mmap placement
> as you need for your SSL session keys?
> And if you need true entropy for your session keys do you
> still get it when it was all used for low security
> purposes first?

Off-list I was just shown random32(). If AT_RANDOM used that instead,
would that be acceptable?

Kees Cook
Ubuntu Security Team

 \ /
  Last update: 2008-10-07 00:11    [W:0.092 / U:7.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site