qb_ipcs_connection_auth_set(3)

qb_ipcs_connection_auth_set3

Set the permissions on and shared memory files so that both processes can read and write to them.

Usage

#include <qb/qbipcs.h>

void qb_ipcs_connection_auth_set(
    qb_ipcs_connection_t   *conn,  /* connection instance */
    uid_t                   uid,   /* the user id to set. */
    gid_t                   gid,   /* the group id to set. */
    mode_t                  mode   /* the mode to set.*/
);

Params

conn connection instance

uid the user id to set.

gid the group id to set.

mode the mode to set.

Overview

Note

this must be called within the qb_ipcs_connection_accept_fn() callback.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.