Add experimental AIX support.

This includes a WIP failsafe issetugid for now, while research continues
on the proper way to do this in a race-free fashion in AIX.
This commit is contained in:
Brent Cook
2015-02-10 23:49:31 -06:00
committed by Brent Cook
parent 20101fd6b3
commit fe3f7fc636
4 changed files with 123 additions and 1 deletions

View File

@@ -3,7 +3,10 @@
#include <sys/param.h>
#if defined(__FreeBSD__)
#if defined(_AIX)
#include "arc4random_aix.h"
#elif defined(__FreeBSD__)
#include "arc4random_freebsd.h"
#elif defined(__hpux)