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:
committed by
Daniel Black
parent
2f5d372444
commit
77d7de8d47
@@ -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
|
||||
|
Reference in New Issue
Block a user