I wonder how you get those 16 random bytes. I had no idea so much info was in AUx. uid. Program name etc. TIL.
glibc nulls out its internal pointer (_dl_random) after use so you can't easily get the pointer later, but of course it'd be a bad idea to try and use it.