Hi there,
Some time ago I ported Expat over to a new platform: CloudABI. CloudABI is a UNIX-like runtime environment that uses capability-based security. All of Expat seems to build, except for a single call to getpid(). There is no support for accessing process tables in CloudABI.
it seems that Expat is only calling getpid() to obtain 'random' numbers. Attached is a patch to make this use arc4random_buf() instead, which provides high-quality random numbers. It would be nice if this patch could be integrated.
Thanks,
Ed Schouten
Hello Ed,
thanks for you patch, I pushed it a minute ago.
I like that arc4random_buf doesn't need initialization. I still want something like that for all supported platforms, so if that's interesing to you, more patches and collaboration are welcome.
Best, Sebastian