HomeClusterLabs Projects
Diffusion LibQB 680db526f616

ipc: add qb_ipcc_auth_get() API call (#418)

Description

ipc: add qb_ipcc_auth_get() API call (#418)

  • ipc: addd qb_ipcc_auth_get() API call

We can't use SO_PEERCRED on the client fd when using socket IPC
becayse it's a DGRAM socket (pacemaker tries this). So provide
an API to get the server credentials that libqb has already
squirreled away for its own purposes.

Also, fix some unused-variable compiler warnings in unix.c
when building on systems without posix_fallocate().

Details

Provenance
chrissie-cAuthored on Sep 28 2020, 4:53 AM
GitHub <noreply@github.com>Committed on Sep 28 2020, 4:53 AM
Parents
rQ6853eeaea682: doc related fixups (#421)
Branches
Unknown
Tags
Unknown

Event Timeline