gid 111 attrd/attrd_common.c attrd_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid) gid 120 attrd/attrd_common.c if (crm_client_new(c, uid, gid) == NULL) { gid 109 cib/callbacks.c cib_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 117 cib/callbacks.c if (crm_client_new(c, uid, gid) == NULL) { gid 692 crmd/control.c crmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 695 crmd/control.c if (crm_client_new(c, uid, gid) == NULL) { gid 74 fencing/main.c st_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 81 fencing/main.c if (crm_client_new(c, uid, gid) == NULL) { gid 36 include/crm/common/internal.h int crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid); gid 72 include/crm/common/ipcs.h gid_t gid; gid 112 include/crm/common/ipcs.h crm_client_t *crm_client_new(qb_ipcs_connection_t * c, uid_t uid, gid_t gid); gid 178 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); gid 140 lib/ais/utils.c gid_t gid = 0; gid 175 lib/ais/utils.c if (pcmk_user_lookup(child->uid, &uid, &gid) < 0) { gid 179 lib/ais/utils.c ais_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); gid 208 lib/ais/utils.c if (uid && initgroups(child->uid, gid) < 0) { gid 755 lib/ais/utils.c pcmk_user_lookup(const char *name, uid_t * uid, gid_t * gid) gid 769 lib/ais/utils.c if (gid) { gid 770 lib/ais/utils.c *gid = pwentry->pw_gid; gid 240 lib/ais/utils.h extern int pcmk_user_lookup(const char *name, uid_t * uid, gid_t * gid); gid 251 lib/common/io.c crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid) gid 261 lib/common/io.c rc = chown(series_file, uid, gid); gid 433 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) gid 446 lib/common/utils.c if (gid) { gid 447 lib/common/utils.c *gid = pwentry->pw_gid; gid 438 lib/services/services.c return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid)); gid 430 lib/services/services_linux.c if (op->opaque->gid && (setgid(op->opaque->gid) < 0)) { gid 431 lib/services/services_linux.c crm_perror(LOG_ERR, "setting group to %d", op->opaque->gid); gid 35 lib/services/services_private.h gid_t gid; gid 76 lrmd/ipc_proxy.c ipc_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid, const char *ipc_channel) gid 85 lrmd/ipc_proxy.c crm_err("No ipc providers available for uid %d gid %d", uid, gid); gid 91 lrmd/ipc_proxy.c client = crm_client_new(c, uid, gid); gid 114 lrmd/ipc_proxy.c crmd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 116 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, CRM_SYSTEM_CRMD); gid 120 lrmd/ipc_proxy.c attrd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 122 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, T_ATTRD); gid 126 lrmd/ipc_proxy.c stonith_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 128 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, "stonith-ng"); gid 132 lrmd/ipc_proxy.c cib_proxy_accept_rw(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 134 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, cib_channel_rw); gid 138 lrmd/ipc_proxy.c cib_proxy_accept_ro(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 140 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, cib_channel_ro); gid 101 lrmd/main.c lrmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 104 lrmd/main.c if (crm_client_new(c, uid, gid) == NULL) { gid 471 mcp/corosync.c gid_t gid = 0; gid 472 mcp/corosync.c if (crm_user_lookup(CRM_DAEMON_USER, NULL, &gid) < 0) { gid 478 mcp/corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); gid 482 mcp/corosync.c " group=%u rc=%d (%s)", gid, rc, ais_error2text(rc)); gid 236 mcp/pacemaker.c gid_t gid = 0; gid 274 mcp/pacemaker.c if (crm_user_lookup(child->uid, &uid, &gid) < 0) { gid 278 mcp/pacemaker.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); gid 312 mcp/pacemaker.c if(gid) { gid 320 mcp/pacemaker.c if (setgid(gid) < 0) { gid 321 mcp/pacemaker.c crm_perror(LOG_ERR, "Could not set group to %d", gid); gid 325 mcp/pacemaker.c } else if (initgroups(child->uid, gid) < 0) { gid 465 mcp/pacemaker.c pcmk_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 468 mcp/pacemaker.c if (crm_client_new(c, uid, gid) == NULL) { gid 679 mcp/pacemaker.c mcp_chown(const char *path, uid_t uid, gid_t gid) gid 681 mcp/pacemaker.c int rc = chown(path, uid, gid); gid 685 mcp/pacemaker.c path, CRM_DAEMON_USER, gid, pcmk_strerror(errno)); gid 47 pengine/main.c pe_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) gid 50 pengine/main.c if (crm_client_new(c, uid, gid) == NULL) {