aboutsummaryrefslogtreecommitdiff
path: root/crypto/compat/arc4random.h
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2015-02-10 23:49:31 -0600
committerBrent Cook <bcook@openbsd.org>2015-03-31 09:25:21 -0500
commitfe3f7fc6365bfaac3418a72256b8c11603e80cbf (patch)
treeac6ee47f5ecb73a5645bb4bdbe2dc97ff8aa02fd /crypto/compat/arc4random.h
parent20101fd6b33d712e45f74c5297f79ea4225c183c (diff)
downloadportable-fe3f7fc6365bfaac3418a72256b8c11603e80cbf.tar.gz
portable-fe3f7fc6365bfaac3418a72256b8c11603e80cbf.tar.bz2
portable-fe3f7fc6365bfaac3418a72256b8c11603e80cbf.zip
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.
Diffstat (limited to 'crypto/compat/arc4random.h')
-rw-r--r--crypto/compat/arc4random.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/compat/arc4random.h b/crypto/compat/arc4random.h
index ce1bbea..762aec2 100644
--- a/crypto/compat/arc4random.h
+++ b/crypto/compat/arc4random.h
@@ -3,7 +3,10 @@
3 3
4#include <sys/param.h> 4#include <sys/param.h>
5 5
6#if defined(__FreeBSD__) 6#if defined(_AIX)
7#include "arc4random_aix.h"
8
9#elif defined(__FreeBSD__)
7#include "arc4random_freebsd.h" 10#include "arc4random_freebsd.h"
8 11
9#elif defined(__hpux) 12#elif defined(__hpux)