On Wednesday, 25 October 2017 15:41:48 PDT Christian Gagneraud wrote:
> Interesting "read_random site:github.com/apple/darwin-xnu" returns 6
> results. One of them points to bsd/sys/random.h, is this your missing
> include? ;P

Yes, <sys/random.h> is what we are missing. The Linux and OpenBSD getentropy() 
functions are documented to be declared in <unistd.h>, but the macOS and 
Solaris ones are in <sys/random.h>. I'm tempted to not fix this and blame Apple 
and Oracle developers for not following 3 years of precedence from OpenBSD.

> Maybe the forked repo is too new (created on the 1st of october), or
> maybe google indexes only "big orgs".

"opensource-apple" sounds official to me. It's what Google brought me to when I 
searched for the xnu source code, after opensource.apple.com of course.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to