lkml.org 
[lkml]   [2008]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-10-03 19:45    [W:3.555 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site