gid               137 daemons/attrd/attrd_utils.c attrd_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid)
gid               146 daemons/attrd/attrd_utils.c     if (pcmk__new_client(c, uid, gid) == NULL) {
gid                70 daemons/based/based_callbacks.c cib_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid                78 daemons/based/based_callbacks.c     if (pcmk__new_client(c, uid, gid) == NULL) {
gid               362 daemons/controld/controld_control.c accept_controller_client(qb_ipcs_connection_t *c, uid_t uid, gid_t gid)
gid               365 daemons/controld/controld_control.c     if (pcmk__new_client(c, uid, gid) == NULL) {
gid                82 daemons/execd/pacemaker-execd.c lrmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid                85 daemons/execd/pacemaker-execd.c     if (pcmk__new_client(c, uid, gid) == NULL) {
gid                67 daemons/execd/remoted_proxy.c ipc_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid, const char *ipc_channel)
gid                75 daemons/execd/remoted_proxy.c                  "because not connected to cluster", uid, gid, ipc_channel);
gid                82 daemons/execd/remoted_proxy.c     client = pcmk__new_client(c, uid, gid);
gid               107 daemons/execd/remoted_proxy.c               client->id, uid, gid, ipc_channel);
gid               112 daemons/execd/remoted_proxy.c crmd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               114 daemons/execd/remoted_proxy.c     return ipc_proxy_accept(c, uid, gid, CRM_SYSTEM_CRMD);
gid               118 daemons/execd/remoted_proxy.c attrd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               120 daemons/execd/remoted_proxy.c     return ipc_proxy_accept(c, uid, gid, T_ATTRD);
gid               124 daemons/execd/remoted_proxy.c stonith_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               126 daemons/execd/remoted_proxy.c     return ipc_proxy_accept(c, uid, gid, "stonith-ng");
gid               130 daemons/execd/remoted_proxy.c pacemakerd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               136 daemons/execd/remoted_proxy.c cib_proxy_accept_rw(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               138 daemons/execd/remoted_proxy.c     return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RW);
gid               142 daemons/execd/remoted_proxy.c cib_proxy_accept_ro(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               144 daemons/execd/remoted_proxy.c     return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RO);
gid                71 daemons/fenced/pacemaker-fenced.c st_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid                79 daemons/fenced/pacemaker-fenced.c     if (pcmk__new_client(c, uid, gid) == NULL) {
gid               243 daemons/pacemakerd/pacemakerd.c     gid_t gid = 0;
gid               278 daemons/pacemakerd/pacemakerd.c         if (crm_user_lookup(child->uid, &uid, &gid) < 0) {
gid               282 daemons/pacemakerd/pacemakerd.c         crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name);
gid               316 daemons/pacemakerd/pacemakerd.c         if(gid) {
gid               329 daemons/pacemakerd/pacemakerd.c             if (!need_root_group && (setgid(gid) < 0)) {
gid               330 daemons/pacemakerd/pacemakerd.c                 crm_warn("Could not set group to %d: %s", gid, strerror(errno));
gid               336 daemons/pacemakerd/pacemakerd.c             if (initgroups(child->uid, gid) < 0) {
gid               497 daemons/pacemakerd/pacemakerd.c pcmk_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               500 daemons/pacemakerd/pacemakerd.c     if (pcmk__new_client(c, uid, gid) == NULL) {
gid               689 daemons/pacemakerd/pacemakerd.c mcp_chown(const char *path, uid_t uid, gid_t gid)
gid               691 daemons/pacemakerd/pacemakerd.c     int rc = chown(path, uid, gid);
gid               695 daemons/pacemakerd/pacemakerd.c                  path, CRM_DAEMON_USER, gid, pcmk_strerror(errno));
gid               334 daemons/pacemakerd/pcmkd_corosync.c         gid_t gid = 0;
gid               335 daemons/pacemakerd/pcmkd_corosync.c         if (pcmk_daemon_user(NULL, &gid) < 0) {
gid               341 daemons/pacemakerd/pcmkd_corosync.c             snprintf(key, PATH_MAX, "uidgid.gid.%u", gid);
gid               345 daemons/pacemakerd/pcmkd_corosync.c                          " group=%u rc=%d", pcmk__cs_err_str(rc), gid, rc);
gid               239 daemons/schedulerd/pacemaker-schedulerd.c pe_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
gid               242 daemons/schedulerd/pacemaker-schedulerd.c     if (pcmk__new_client(c, uid, gid) == NULL) {
gid                75 include/crm/common/internal.h                                 uid_t uid, gid_t gid);
gid               201 include/crm/common/ipc_internal.h pcmk__client_t *pcmk__new_client(qb_ipcs_connection_t *c, uid_t uid, gid_t gid);
gid               126 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid);
gid               127 include/crm/common/util.h int pcmk_daemon_user(uid_t *uid, gid_t *gid);
gid               238 lib/common/io.c                             uid_t uid, gid_t gid)
gid               247 lib/common/io.c     if (chown(series_file, uid, gid) < 0) {
gid              1325 lib/common/ipc_client.c         found_pid = ucred.pid; found_uid = ucred.uid; found_gid = ucred.gid;
gid              1335 lib/common/ipc_client.c         found_uid = sockpeercred.uid; found_gid = sockpeercred.gid;
gid               129 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid)
gid               146 lib/common/utils.c         if (gid) {
gid               147 lib/common/utils.c             *gid = pwentry->pw_gid;
gid               169 lib/common/utils.c pcmk_daemon_user(uid_t *uid, gid_t *gid)
gid               186 lib/common/utils.c         if (gid) {
gid               187 lib/common/utils.c             *gid = daemon_gid;
gid               423 lib/services/services.c     return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid));
gid               735 lib/services/services_linux.c         if (op->opaque->gid && (setgid(op->opaque->gid) < 0)) {
gid               736 lib/services/services_linux.c             crm_perror(LOG_ERR, "Could not set child group to %d", op->opaque->gid);
gid                27 lib/services/services_private.h     gid_t gid;
gid                44 maint/mocked/based.c mock_based_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid)
gid                50 maint/mocked/based.c     cib_client = pcmk__new_client(c, uid, gid);