[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48E65964.5020809@redhat.com>
Date: Fri, 03 Oct 2008 10:41:56 -0700
From: Ulrich Drepper <drepper@...hat.com>
To: Kees Cook <kees.cook@...onical.com>
CC: Jakub Jelinek <jakub@...hat.com>,
Arjan van de Ven <arjan@...radead.org>,
Roland McGrath <roland@...hat.com>,
linux-kernel@...r.kernel.org, libc-alpha@...rceware.org
Subject: Re: [PATCH] ELF: implement AT_RANDOM for glibc PRNG seeding
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kees Cook wrote:
> +#ifndef ELF_AUXV_RANDOM_SIZE
> +/*
> + * AT_RANDOM provides 16 random bytes which can be used to seed
> + * userspace PRNGs at program load time.
> + */
> +#define ELF_AUXV_RANDOM_SIZE 16
> +#endif
No, this cannot be changeable because there is no way for userland to
find out the size. And no, don't reintroduce the the extra aux vector
entry. Just define it to 16 and that's it.
- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjmWWQACgkQ2ijCOnn/RHTbUACfU7i4DImOYXiFNxPa7m7HWiMX
4iQAoLk+7r0bVPGSrjAUcwW701oeDKlJ
=y+Ci
-----END PGP SIGNATURE-----
--
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