[klibc] [PATCH 2/2] Add a relatively minimal mkstemp(3) implementation.

Thorsten Glaser tg at mirbsd.de
Sun Jan 30 13:40:04 PST 2011


maximilian attems dixit:

>But indeed I'd favor a smallish one reading stuff from /dev/urandom.

AFAICT /dev/urandom wasn’t available, /proc was, especially _very_
early in the boot process.

On the other hand, we could probably skip the fake-arc4random
and just use a jrand48 making use of ASLR (the stack has been
randomised since when in Linux?) in a very compact way. I can
make a counter proposal of that if you want.

>P.S. haven't had the time to look at the signal bug, will do next days,
>     seems like a bigger project anyway.

Yeah, indeed. I tried to pick my brain about it, but it was
too much I think.

bye,
//mirabilos
-- 
22:20⎜<asarch> The crazy that persists in his craziness becomes a master
22:21⎜<asarch> And the distance between the craziness and geniality is
only measured by the success                       22:21⎜<mksh> it’s a
very thin line anyway… with some, you don’t know which side they’re on



More information about the klibc mailing list