Hi Hanish,
thanks for working on a solution. Can you squash your latest work
into one commit and add a good commit message to it. Please use
git format-patch -s to generate a Signed-Off-By Tag.
best regards
Waldemar
C Hanish Menon wrote,
Hi,
Have updated the logic further such that
a platform developer can force dnsrand_next to help achieve the current/
previous simple counter logic, if needed.
However if random dns query id is desired, then if urandom reading fails
(previously it would have fallen back to the simple counter) but in turn if
real time clock is available then clock_gettime is used to help reseed
through srandom. However if neither (ie urandom and clock) is available, then
now it still continues with the random prng, bcas anyway it is better than the
simple counter at some level.
Attached is the format-patch output between glibc master
(592574ae535c35de500f6c3e8d8400d0bb0d985a) till the latest flow from my side.
--
Keep ;-)
HanishKVC
_______________________________________________
devel mailing list -- devel(a)uclibc-ng.org
To unsubscribe send an email to devel-leave(a)uclibc-ng.org