uid 104 daemons/attrd/attrd_utils.c attrd_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid) uid 113 daemons/attrd/attrd_utils.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 70 daemons/based/based_callbacks.c cib_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 78 daemons/based/based_callbacks.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 362 daemons/controld/controld_control.c accept_controller_client(qb_ipcs_connection_t *c, uid_t uid, gid_t gid) uid 365 daemons/controld/controld_control.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 86 daemons/execd/pacemaker-execd.c lrmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 89 daemons/execd/pacemaker-execd.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 66 daemons/execd/remoted_proxy.c ipc_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid, const char *ipc_channel) uid 74 daemons/execd/remoted_proxy.c "because not connected to cluster", uid, gid, ipc_channel); uid 81 daemons/execd/remoted_proxy.c client = pcmk__new_client(c, uid, gid); uid 106 daemons/execd/remoted_proxy.c client->id, uid, gid, ipc_channel); uid 111 daemons/execd/remoted_proxy.c crmd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 113 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, CRM_SYSTEM_CRMD); uid 117 daemons/execd/remoted_proxy.c attrd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 119 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, T_ATTRD); uid 123 daemons/execd/remoted_proxy.c stonith_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 125 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, "stonith-ng"); uid 129 daemons/execd/remoted_proxy.c cib_proxy_accept_rw(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 131 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RW); uid 135 daemons/execd/remoted_proxy.c cib_proxy_accept_ro(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 137 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RO); uid 63 daemons/fenced/pacemaker-fenced.c st_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 71 daemons/fenced/pacemaker-fenced.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 69 daemons/pacemakerd/pacemakerd.c const char *uid; uid 251 daemons/pacemakerd/pacemakerd.c uid_t uid = 0; uid 286 daemons/pacemakerd/pacemakerd.c if (child->uid) { uid 287 daemons/pacemakerd/pacemakerd.c if (crm_user_lookup(child->uid, &uid, &gid) < 0) { uid 288 daemons/pacemakerd/pacemakerd.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); uid 291 daemons/pacemakerd/pacemakerd.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); uid 345 daemons/pacemakerd/pacemakerd.c if (initgroups(child->uid, gid) < 0) { uid 346 daemons/pacemakerd/pacemakerd.c crm_err("Cannot initialize groups for %s: %s (%d)", child->uid, pcmk_strerror(errno), errno); uid 350 daemons/pacemakerd/pacemakerd.c if (uid && setuid(uid) < 0) { uid 352 daemons/pacemakerd/pacemakerd.c child->uid, uid, strerror(errno)); uid 506 daemons/pacemakerd/pacemakerd.c pcmk_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 509 daemons/pacemakerd/pacemakerd.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 701 daemons/pacemakerd/pacemakerd.c mcp_chown(const char *path, uid_t uid, gid_t gid) uid 703 daemons/pacemakerd/pacemakerd.c int rc = chown(path, uid, gid); uid 750 daemons/pacemakerd/pacemakerd.c if (child->uid == NULL) { uid 209 daemons/schedulerd/pacemaker-schedulerd.c pe_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 212 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 30 include/crm/common/internal.h char *pcmk__uid2username(uid_t uid); uid 67 include/crm/common/internal.h uid_t uid, gid_t gid); uid 136 include/crm/common/ipc_internal.h uid_t uid; uid 201 include/crm/common/ipc_internal.h pcmk__client_t *pcmk__new_client(qb_ipcs_connection_t *c, uid_t uid, gid_t gid); uid 217 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); uid 218 include/crm/common/util.h int pcmk_daemon_user(uid_t *uid, gid_t *gid); uid 218 lib/cib/cib_client.c uid_t uid = geteuid(); uid 219 lib/cib/cib_client.c struct passwd *pwent = getpwuid(uid); uid 228 lib/cib/cib_client.c (user? user : "unprivileged user"), uid); uid 615 lib/cib/cib_file.c uid_t uid = geteuid(); uid 633 lib/cib/cib_file.c if ((uid != 0) && (uid != daemon_pwent->pw_uid)) { uid 656 lib/cib/cib_file.c if (uid == 0) { uid 669 lib/cib/cib_file.c if (uid == 0) { uid 710 lib/common/acl.c pcmk__uid2username(uid_t uid) uid 712 lib/common/acl.c struct passwd *pwent = getpwuid(uid); uid 715 lib/common/acl.c crm_perror(LOG_INFO, "Cannot get user details for user ID %d", uid); uid 257 lib/common/io.c uid_t uid, gid_t gid) uid 266 lib/common/io.c if (chown(series_file, uid, gid) < 0) { uid 1305 lib/common/ipc_client.c found_pid = ucred.pid; found_uid = ucred.uid; found_gid = ucred.gid; uid 1315 lib/common/ipc_client.c found_uid = sockpeercred.uid; found_gid = sockpeercred.gid; uid 122 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) uid 136 lib/common/utils.c if (uid) { uid 137 lib/common/utils.c *uid = pwentry->pw_uid; uid 162 lib/common/utils.c pcmk_daemon_user(uid_t *uid, gid_t *gid) uid 176 lib/common/utils.c if (uid) { uid 177 lib/common/utils.c *uid = daemon_uid; uid 57 lib/common/watchdog.c uid_t uid = geteuid(); uid 60 lib/common/watchdog.c if(uid != 0 && ppid > 1) { uid 71 lib/common/watchdog.c } else if (uid != 0) { uid 382 lib/services/services.c return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid)); uid 732 lib/services/services_linux.c if (op->opaque->uid && (geteuid() == 0)) { uid 748 lib/services/services_linux.c if (setuid(op->opaque->uid) < 0) { uid 749 lib/services/services_linux.c crm_perror(LOG_ERR, "setting user to %d", op->opaque->uid); uid 23 lib/services/services_private.h uid_t uid; uid 44 maint/mocked/based.c mock_based_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid) uid 50 maint/mocked/based.c cib_client = pcmk__new_client(c, uid, gid);