gid 104 daemons/attrd/attrd_utils.c attrd_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid) gid 113 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 86 daemons/execd/pacemaker-execd.c lrmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 89 daemons/execd/pacemaker-execd.c if (pcmk__new_client(c, uid, gid) == NULL) { gid 66 daemons/execd/remoted_proxy.c ipc_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid, const char *ipc_channel) gid 74 daemons/execd/remoted_proxy.c "because not connected to cluster", uid, gid, ipc_channel); gid 81 daemons/execd/remoted_proxy.c client = pcmk__new_client(c, uid, gid); gid 106 daemons/execd/remoted_proxy.c client->id, uid, gid, ipc_channel); gid 111 daemons/execd/remoted_proxy.c crmd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 113 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, CRM_SYSTEM_CRMD); gid 117 daemons/execd/remoted_proxy.c attrd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 119 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, T_ATTRD); gid 123 daemons/execd/remoted_proxy.c stonith_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 125 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, "stonith-ng"); gid 129 daemons/execd/remoted_proxy.c cib_proxy_accept_rw(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 131 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RW); gid 135 daemons/execd/remoted_proxy.c cib_proxy_accept_ro(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 137 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RO); gid 63 daemons/fenced/pacemaker-fenced.c st_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 71 daemons/fenced/pacemaker-fenced.c if (pcmk__new_client(c, uid, gid) == NULL) { gid 252 daemons/pacemakerd/pacemakerd.c gid_t gid = 0; gid 287 daemons/pacemakerd/pacemakerd.c if (crm_user_lookup(child->uid, &uid, &gid) < 0) { gid 291 daemons/pacemakerd/pacemakerd.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); gid 325 daemons/pacemakerd/pacemakerd.c if(gid) { gid 338 daemons/pacemakerd/pacemakerd.c if (!need_root_group && (setgid(gid) < 0)) { gid 339 daemons/pacemakerd/pacemakerd.c crm_warn("Could not set group to %d: %s", gid, strerror(errno)); gid 345 daemons/pacemakerd/pacemakerd.c if (initgroups(child->uid, gid) < 0) { gid 506 daemons/pacemakerd/pacemakerd.c pcmk_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 509 daemons/pacemakerd/pacemakerd.c if (pcmk__new_client(c, uid, gid) == NULL) { gid 701 daemons/pacemakerd/pacemakerd.c mcp_chown(const char *path, uid_t uid, gid_t gid) gid 703 daemons/pacemakerd/pacemakerd.c int rc = chown(path, uid, gid); gid 707 daemons/pacemakerd/pacemakerd.c path, CRM_DAEMON_USER, gid, pcmk_strerror(errno)); gid 288 daemons/pacemakerd/pcmkd_corosync.c gid_t gid = 0; gid 289 daemons/pacemakerd/pcmkd_corosync.c if (pcmk_daemon_user(NULL, &gid) < 0) { gid 295 daemons/pacemakerd/pcmkd_corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); gid 299 daemons/pacemakerd/pcmkd_corosync.c " group=%u rc=%d", ais_error2text(rc), gid, rc); gid 209 daemons/schedulerd/pacemaker-schedulerd.c pe_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 212 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__new_client(c, uid, gid) == NULL) { gid 67 include/crm/common/internal.h uid_t uid, gid_t gid); gid 137 include/crm/common/ipc_internal.h 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 217 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); gid 218 include/crm/common/util.h int pcmk_daemon_user(uid_t *uid, gid_t *gid); gid 257 lib/common/io.c uid_t uid, gid_t gid) gid 266 lib/common/io.c if (chown(series_file, uid, gid) < 0) { gid 1305 lib/common/ipc_client.c found_pid = ucred.pid; found_uid = ucred.uid; found_gid = ucred.gid; gid 1315 lib/common/ipc_client.c found_uid = sockpeercred.uid; found_gid = sockpeercred.gid; gid 122 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) gid 139 lib/common/utils.c if (gid) { gid 140 lib/common/utils.c *gid = pwentry->pw_gid; gid 162 lib/common/utils.c pcmk_daemon_user(uid_t *uid, gid_t *gid) gid 179 lib/common/utils.c if (gid) { gid 180 lib/common/utils.c *gid = daemon_gid; gid 382 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 24 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);