1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Support of AIX for auth_socket plugin

This commit is contained in:
Etienne Guesnet
2020-09-11 15:58:49 +02:00
committed by Daniel Black
parent 2f5d372444
commit 77d7de8d47
2 changed files with 20 additions and 0 deletions

View File

@@ -50,6 +50,12 @@
#elif defined HAVE_GETPEERUCRED
#include <ucred.h>
#elif defined HAVE_PEERCRED_STRUCT
#define level SOL_SOCKET
#define SO_PEERCRED SO_PEERID
#define uid euid
#define ucred peercred_struct
#else
#error impossible
#endif