uid 111 attrd/attrd_common.c attrd_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid) uid 120 attrd/attrd_common.c if (crm_client_new(c, uid, gid) == NULL) { uid 109 cib/callbacks.c cib_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 117 cib/callbacks.c if (crm_client_new(c, uid, gid) == NULL) { uid 692 crmd/control.c crmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 695 crmd/control.c if (crm_client_new(c, uid, gid) == NULL) { uid 74 fencing/main.c st_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 81 fencing/main.c if (crm_client_new(c, uid, gid) == NULL) { uid 36 include/crm/common/internal.h int crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid); uid 71 include/crm/common/ipcs.h uid_t uid; uid 112 include/crm/common/ipcs.h crm_client_t *crm_client_new(qb_ipcs_connection_t * c, uid_t uid, gid_t gid); uid 178 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); uid 42 include/crm_internal.h char *uid2username(uid_t uid); uid 139 lib/ais/utils.c uid_t uid = 0; uid 174 lib/ais/utils.c if (child->uid) { uid 175 lib/ais/utils.c if (pcmk_user_lookup(child->uid, &uid, &gid) < 0) { uid 176 lib/ais/utils.c ais_err("Invalid uid (%s) specified for %s", child->uid, child->name); uid 179 lib/ais/utils.c ais_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); uid 208 lib/ais/utils.c if (uid && initgroups(child->uid, gid) < 0) { uid 209 lib/ais/utils.c ais_perror("Cannot initialize groups for %s", child->uid); uid 212 lib/ais/utils.c if (uid && setuid(uid) < 0) { uid 213 lib/ais/utils.c ais_perror("Could not set user to %d (%s)", uid, child->uid); uid 755 lib/ais/utils.c pcmk_user_lookup(const char *name, uid_t * uid, gid_t * gid) uid 766 lib/ais/utils.c if (uid) { uid 767 lib/ais/utils.c *uid = pwentry->pw_uid; uid 75 lib/ais/utils.h const char *uid; uid 240 lib/ais/utils.h extern int pcmk_user_lookup(const char *name, uid_t * uid, gid_t * gid); uid 227 lib/cib/cib_client.c uid_t uid = geteuid(); uid 228 lib/cib/cib_client.c struct passwd *pwent = getpwuid(uid); uid 234 lib/cib/cib_client.c crm_perror(LOG_ERR, "Cannot get password entry for uid: %d", uid); uid 599 lib/cib/cib_file.c uid_t uid = geteuid(); uid 617 lib/cib/cib_file.c if ((uid != 0) && (uid != daemon_pwent->pw_uid)) { uid 640 lib/cib/cib_file.c if (uid == 0) { uid 653 lib/cib/cib_file.c if (uid == 0) { uid 251 lib/common/io.c crm_chown_last_sequence(const char *directory, const char *series, uid_t uid, gid_t gid) uid 261 lib/common/io.c rc = chown(series_file, uid, gid); uid 433 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) uid 443 lib/common/utils.c if (uid) { uid 444 lib/common/utils.c *uid = pwentry->pw_uid; uid 1259 lib/common/utils.c uid2username(uid_t uid) uid 1261 lib/common/utils.c struct passwd *pwent = getpwuid(uid); uid 1264 lib/common/utils.c crm_perror(LOG_ERR, "Cannot get password entry of uid: %d", uid); uid 98 lib/common/watchdog.c uid_t uid = geteuid(); uid 101 lib/common/watchdog.c if(uid != 0 && ppid > 1) { uid 111 lib/common/watchdog.c } else if (uid != 0) { uid 438 lib/services/services.c return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid)); uid 429 lib/services/services_linux.c if (op->opaque->uid && (geteuid() == 0)) { uid 434 lib/services/services_linux.c if (setuid(op->opaque->uid) < 0) { uid 435 lib/services/services_linux.c crm_perror(LOG_ERR, "setting user to %d", op->opaque->uid); uid 34 lib/services/services_private.h uid_t uid; uid 76 lrmd/ipc_proxy.c ipc_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid, const char *ipc_channel) uid 85 lrmd/ipc_proxy.c crm_err("No ipc providers available for uid %d gid %d", uid, gid); uid 91 lrmd/ipc_proxy.c client = crm_client_new(c, uid, gid); uid 114 lrmd/ipc_proxy.c crmd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 116 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, CRM_SYSTEM_CRMD); uid 120 lrmd/ipc_proxy.c attrd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 122 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, T_ATTRD); uid 126 lrmd/ipc_proxy.c stonith_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 128 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, "stonith-ng"); uid 132 lrmd/ipc_proxy.c cib_proxy_accept_rw(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 134 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, cib_channel_rw); uid 138 lrmd/ipc_proxy.c cib_proxy_accept_ro(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 140 lrmd/ipc_proxy.c return ipc_proxy_accept(c, uid, gid, cib_channel_ro); uid 101 lrmd/main.c lrmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 104 lrmd/main.c if (crm_client_new(c, uid, gid) == NULL) { uid 57 mcp/pacemaker.c const char *uid; uid 90 mcp/pacemaker.c pcmk_children[pcmk_child_crmd].uid = NULL; uid 92 mcp/pacemaker.c pcmk_children[pcmk_child_crmd].uid = CRM_DAEMON_USER; uid 235 mcp/pacemaker.c uid_t uid = 0; uid 273 mcp/pacemaker.c if (child->uid) { uid 274 mcp/pacemaker.c if (crm_user_lookup(child->uid, &uid, &gid) < 0) { uid 275 mcp/pacemaker.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); uid 278 mcp/pacemaker.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); uid 325 mcp/pacemaker.c } else if (initgroups(child->uid, gid) < 0) { uid 326 mcp/pacemaker.c crm_err("Cannot initialize groups for %s: %s (%d)", child->uid, pcmk_strerror(errno), errno); uid 330 mcp/pacemaker.c if (uid && setuid(uid) < 0) { uid 331 mcp/pacemaker.c crm_perror(LOG_ERR, "Could not set user to %d (%s)", uid, child->uid); uid 465 mcp/pacemaker.c pcmk_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 468 mcp/pacemaker.c if (crm_client_new(c, uid, gid) == NULL) { uid 679 mcp/pacemaker.c mcp_chown(const char *path, uid_t uid, gid_t gid) uid 681 mcp/pacemaker.c int rc = chown(path, uid, gid); uid 47 pengine/main.c pe_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 50 pengine/main.c if (crm_client_new(c, uid, gid) == NULL) {