uid 137 daemons/attrd/attrd_utils.c attrd_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid) uid 146 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 82 daemons/execd/pacemaker-execd.c lrmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 85 daemons/execd/pacemaker-execd.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 67 daemons/execd/remoted_proxy.c ipc_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid, const char *ipc_channel) uid 75 daemons/execd/remoted_proxy.c "because not connected to cluster", uid, gid, ipc_channel); uid 82 daemons/execd/remoted_proxy.c client = pcmk__new_client(c, uid, gid); uid 107 daemons/execd/remoted_proxy.c client->id, uid, gid, ipc_channel); uid 112 daemons/execd/remoted_proxy.c crmd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 114 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, CRM_SYSTEM_CRMD); uid 118 daemons/execd/remoted_proxy.c attrd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 120 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, T_ATTRD); uid 124 daemons/execd/remoted_proxy.c stonith_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 126 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, "stonith-ng"); uid 130 daemons/execd/remoted_proxy.c pacemakerd_proxy_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 136 daemons/execd/remoted_proxy.c cib_proxy_accept_rw(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 138 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RW); uid 142 daemons/execd/remoted_proxy.c cib_proxy_accept_ro(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 144 daemons/execd/remoted_proxy.c return ipc_proxy_accept(c, uid, gid, PCMK__SERVER_BASED_RO); uid 71 daemons/fenced/pacemaker-fenced.c st_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 79 daemons/fenced/pacemaker-fenced.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 67 daemons/pacemakerd/pacemakerd.c const char *uid; uid 242 daemons/pacemakerd/pacemakerd.c uid_t uid = 0; uid 277 daemons/pacemakerd/pacemakerd.c if (child->uid) { uid 278 daemons/pacemakerd/pacemakerd.c if (crm_user_lookup(child->uid, &uid, &gid) < 0) { uid 279 daemons/pacemakerd/pacemakerd.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); uid 282 daemons/pacemakerd/pacemakerd.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); uid 336 daemons/pacemakerd/pacemakerd.c if (initgroups(child->uid, gid) < 0) { uid 337 daemons/pacemakerd/pacemakerd.c crm_err("Cannot initialize groups for %s: %s (%d)", child->uid, pcmk_strerror(errno), errno); uid 341 daemons/pacemakerd/pacemakerd.c if (uid && setuid(uid) < 0) { uid 343 daemons/pacemakerd/pacemakerd.c child->uid, uid, strerror(errno)); uid 497 daemons/pacemakerd/pacemakerd.c pcmk_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 500 daemons/pacemakerd/pacemakerd.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 689 daemons/pacemakerd/pacemakerd.c mcp_chown(const char *path, uid_t uid, gid_t gid) uid 691 daemons/pacemakerd/pacemakerd.c int rc = chown(path, uid, gid); uid 780 daemons/pacemakerd/pacemakerd.c if (child->uid == NULL) { uid 239 daemons/schedulerd/pacemaker-schedulerd.c pe_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid) uid 242 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__new_client(c, uid, gid) == NULL) { uid 42 include/crm/common/internal.h char *pcmk__uid2username(uid_t uid); uid 75 include/crm/common/internal.h uid_t uid, gid_t gid); 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 126 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); uid 127 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 617 lib/cib/cib_file.c uid_t uid = geteuid(); uid 635 lib/cib/cib_file.c if ((uid != 0) && (uid != daemon_pwent->pw_uid)) { uid 658 lib/cib/cib_file.c if (uid == 0) { uid 671 lib/cib/cib_file.c if (uid == 0) { uid 686 lib/common/acl.c pcmk__uid2username(uid_t uid) uid 688 lib/common/acl.c struct passwd *pwent = getpwuid(uid); uid 691 lib/common/acl.c crm_perror(LOG_INFO, "Cannot get user details for user ID %d", uid); uid 238 lib/common/io.c uid_t uid, gid_t gid) uid 247 lib/common/io.c if (chown(series_file, uid, gid) < 0) { uid 1325 lib/common/ipc_client.c found_pid = ucred.pid; found_uid = ucred.uid; found_gid = ucred.gid; uid 1335 lib/common/ipc_client.c found_uid = sockpeercred.uid; found_gid = sockpeercred.gid; uid 129 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) uid 143 lib/common/utils.c if (uid) { uid 144 lib/common/utils.c *uid = pwentry->pw_uid; uid 169 lib/common/utils.c pcmk_daemon_user(uid_t *uid, gid_t *gid) uid 183 lib/common/utils.c if (uid) { uid 184 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 423 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 26 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);