Re: short read from /dev/urandom

From: Pavel Machek
Date: Thu Jan 20 2005 - 15:06:40 EST


Hi!
> >What do you think? Does gcc -pg calls sigaction with SA_RESTART, to
> >avoid changing the behaviour of the programs that it is profiling?
>
> Profiling certainly uses SA_RESTART. But this was just one possible
> problem case.
>
> I'm concerned that there is isgnificant code out there relying on the
> no-short-read promise. And perhaps more importantly, other
> implementations promise the same.

Well, but such code will need to be fixed, anyway; pre-2.6.10 kernels
will stay here for quite a long time.
Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/