1QB_IPCS_CONNECTION_AUTH_SET(l3i)bqb Programmer's ManQuBa_lIPCS_CONNECTION_AUTH_SET(3)
2
3
4

NAME

6       qb_ipcs_connection_auth_set  - Set the permissions on and shared memory
7       files so that both processes can read and write to them.
8
9

SYNOPSIS

11       #include <qb/qbipcs.h>
12
13       void qb_ipcs_connection_auth_set(
14           qb_ipcs_connection_t   *conn,  /* connection instance */
15           uid_t                   uid,   /* the user id to set. */
16           gid_t                   gid,   /* the group id to set. */
17           mode_t                  mode   /* the mode to set.*/
18       );
19

PARAMS

21       conn connection instance
22
23       uid  the user id to set.
24
25       gid  the group id to set.
26
27       mode the mode to set.
28

DESCRIPTION

NOTE

31       this must be called within the qb_ipcs_connection_accept_fn() callback.
32

SEE ALSO

34       qb_ipcs_response_send(3), qb_ipcs_ref(3), qb_ipcs_unref(3),
35       qb_ipcs_service_context_get(3), qb_ipcs_connection_ref(3),
36       qb_ipcs_connection_next_get(3), qb_ipcs_stats_get(3),
37       qb_ipcs_connection_unref(3), qb_ipcs_context_set(3),
38       qb_ipcs_poll_handlers_set(3), qb_ipcs_request_rate_limit(3),
39       qb_ipcs_disconnect(3), qb_ipcs_connection_first_get(3),
40       qb_ipcs_enforce_buffer_size(3), qb_ipcs_destroy(3),
41       qb_ipcs_event_send(3), qb_ipcs_connection_stats_get_2(3),
42       qb_ipcs_service_context_set(3), qb_ipcs_connection_stats_get(3),
43       qb_ipcs_service_id_get(3), qb_ipcs_context_get(3),
44       qb_ipcs_connection_get_buffer_size(3), qb_ipcs_create(3),
45       qb_ipcs_run(3), qb_ipcs_event_sendv(3),
46       qb_ipcs_connection_service_context_get(3), qb_ipcs_response_sendv(3)
47
49       Copyright (C) 2010-2020 Red Hat, Inc.
50
51
52
53LIBQB                             2023-07-21    QB_IPCS_CONNECTION_AUTH_SET(3)
Impressum