[lkml]   [2005]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: short read from /dev/urandom
    Ulrich Drepper  wrote:
    >The /dev/urandom device is advertised as always returning the requested
    >number of bytes.

    True. Arguably, the solution is to fix the documentation.
    Why not make /dev/urandom like every other kind of fd in the world,
    and make no promises about whether a read() will always return as
    many bytes as requested? Is there any reason /dev/urandom fds special?
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:09    [W:0.020 / U:17.972 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site