uid               489 daemons/attrd/attrd_ipc.c attrd_ipc_accept(qb_ipcs_connection_t *c, uid_t uid, gid_t gid)
uid               498 daemons/attrd/attrd_ipc.c     if (pcmk__new_client(c, uid, gid) == NULL) {
uid                69 daemons/based/based_callbacks.c cib_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
uid                77 daemons/based/based_callbacks.c     if (pcmk__new_client(c, uid, gid) == NULL) {
uid               364 daemons/controld/controld_control.c accept_controller_client(qb_ipcs_connection_t *c, uid_t uid, gid_t gid)
uid               367 daemons/controld/controld_control.c     if (pcmk__new_client(c, uid, gid) == NULL) {
uid               103 daemons/execd/pacemaker-execd.c lrmd_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
uid               106 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, PCMK__VALUE_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                72 daemons/fenced/pacemaker-fenced.c st_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
uid                80 daemons/fenced/pacemaker-fenced.c     if (pcmk__new_client(c, uid, gid) == NULL) {
uid               138 daemons/pacemakerd/pacemakerd.c pacemakerd_chown(const char *path, uid_t uid, gid_t gid)
uid               140 daemons/pacemakerd/pacemakerd.c     int rc = chown(path, uid, gid);
uid               170 daemons/pacemakerd/pcmkd_messages.c pcmk_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
uid               173 daemons/pacemakerd/pcmkd_messages.c     if (pcmk__new_client(c, uid, gid) == NULL) {
uid                42 daemons/pacemakerd/pcmkd_subdaemons.c     const char *uid;
uid               419 daemons/pacemakerd/pcmkd_subdaemons.c     uid_t uid = 0;
uid               455 daemons/pacemakerd/pcmkd_subdaemons.c     if (child->uid) {
uid               456 daemons/pacemakerd/pcmkd_subdaemons.c         if (crm_user_lookup(child->uid, &uid, &gid) < 0) {
uid               457 daemons/pacemakerd/pcmkd_subdaemons.c             crm_err("Invalid user (%s) for %s: not found", child->uid, child->name);
uid               460 daemons/pacemakerd/pcmkd_subdaemons.c         crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name);
uid               504 daemons/pacemakerd/pcmkd_subdaemons.c             if (initgroups(child->uid, gid) < 0) {
uid               506 daemons/pacemakerd/pcmkd_subdaemons.c                         child->uid, pcmk_rc_str(errno), errno);
uid               510 daemons/pacemakerd/pcmkd_subdaemons.c         if (uid && setuid(uid) < 0) {
uid               512 daemons/pacemakerd/pcmkd_subdaemons.c                      child->uid, uid, strerror(errno));
uid               571 daemons/pacemakerd/pcmkd_subdaemons.c         if (child->uid == NULL) {
uid               220 daemons/schedulerd/schedulerd_messages.c pe_ipc_accept(qb_ipcs_connection_t * c, uid_t uid, gid_t gid)
uid               223 daemons/schedulerd/schedulerd_messages.c     if (pcmk__new_client(c, uid, gid) == NULL) {
uid                20 include/crm/common/acl_internal.h char *pcmk__uid2username(uid_t uid);
uid                26 include/crm/common/io_internal.h                                 uid_t uid, gid_t gid);
uid               237 include/crm/common/ipc_internal.h pcmk__client_t *pcmk__new_client(qb_ipcs_connection_t *c, uid_t uid, gid_t gid);
uid               107 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid);
uid               108 include/crm/common/util.h int pcmk_daemon_user(uid_t *uid, gid_t *gid);
uid               506 lib/cib/cib_client.c         uid_t uid = geteuid();
uid               507 lib/cib/cib_client.c         struct passwd *pwent = getpwuid(uid);
uid               516 lib/cib/cib_client.c                        (user? user : "unprivileged user"), uid);
uid               450 lib/cib/cib_file.c     uid_t uid = geteuid();
uid               468 lib/cib/cib_file.c     if ((uid != 0) && (uid != daemon_pwent->pw_uid)) {
uid               491 lib/cib/cib_file.c     if (uid == 0) {
uid               504 lib/cib/cib_file.c     if (uid == 0) {
uid               769 lib/common/acl.c pcmk__uid2username(uid_t uid)
uid               771 lib/common/acl.c     struct passwd *pwent = getpwuid(uid);
uid               774 lib/common/acl.c         crm_perror(LOG_INFO, "Cannot get user details for user ID %d", uid);
uid               239 lib/common/io.c                             uid_t uid, gid_t gid)
uid               248 lib/common/io.c     if (chown(series_file, uid, gid) < 0) {
uid              1510 lib/common/ipc_client.c             found_uid = ucred.uid;
uid              1529 lib/common/ipc_client.c             found_uid = sockpeercred.uid;
uid                23 lib/common/tests/utils/crm_user_lookup_test.c     uid_t uid;
uid                30 lib/common/tests/utils/crm_user_lookup_test.c     assert_int_equal(crm_user_lookup("hauser", &uid, &gid), -ENOMEM);
uid                38 lib/common/tests/utils/crm_user_lookup_test.c     uid_t uid;
uid                52 lib/common/tests/utils/crm_user_lookup_test.c     assert_int_equal(crm_user_lookup("hauser", &uid, &gid), -EIO);
uid                60 lib/common/tests/utils/crm_user_lookup_test.c     uid_t uid;
uid                74 lib/common/tests/utils/crm_user_lookup_test.c     assert_int_equal(crm_user_lookup("hauser", &uid, &gid), -EINVAL);
uid                82 lib/common/tests/utils/crm_user_lookup_test.c     uid_t uid;
uid               116 lib/common/tests/utils/crm_user_lookup_test.c     assert_int_equal(crm_user_lookup("hauser", &uid, &gid), 0);
uid               117 lib/common/tests/utils/crm_user_lookup_test.c     assert_int_equal(uid, 1000);
uid                23 lib/common/tests/utils/pcmk_daemon_user_test.c     uid_t uid;
uid                37 lib/common/tests/utils/pcmk_daemon_user_test.c     assert_int_equal(pcmk_daemon_user(&uid, &gid), -ENOENT);
uid                45 lib/common/tests/utils/pcmk_daemon_user_test.c     uid_t uid;
uid                74 lib/common/tests/utils/pcmk_daemon_user_test.c     assert_int_equal(pcmk_daemon_user(&uid, &gid), 0);
uid                75 lib/common/tests/utils/pcmk_daemon_user_test.c     assert_int_equal(uid, 1000);
uid                85 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid)
uid                99 lib/common/utils.c         if (uid) {
uid               100 lib/common/utils.c             *uid = pwentry->pw_uid;
uid               125 lib/common/utils.c pcmk_daemon_user(uid_t *uid, gid_t *gid)
uid               139 lib/common/utils.c         if (uid) {
uid               140 lib/common/utils.c             *uid = daemon_uid;
uid                53 lib/common/watchdog.c     uid_t uid = geteuid();
uid                61 lib/common/watchdog.c     if(uid != 0 && ppid > 1) {
uid                72 lib/common/watchdog.c     } else if (uid != 0) {
uid               446 lib/services/services.c     return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid));
uid              1004 lib/services/services_linux.c     if (op->opaque->uid && (geteuid() == 0)) {
uid              1025 lib/services/services_linux.c         if (setuid(op->opaque->uid) < 0) {
uid              1027 lib/services/services_linux.c                     "to %d: %s", op->id, op->opaque->uid, strerror(errno));
uid                27 lib/services/services_private.h     uid_t uid;
uid               357 maint/gnulib/lib/acl-internal.c       if (ace->uid != ACL_NSUSER && ace->gid != ACL_NSGROUP)
uid                36 maint/gnulib/lib/chown.c chown (_GL_UNUSED const char *file, _GL_UNUSED uid_t uid,
uid                55 maint/gnulib/lib/chown.c rpl_chown (const char *file, uid_t uid, gid_t gid)
uid                62 maint/gnulib/lib/chown.c   if (gid != (gid_t) -1 || uid != (uid_t) -1)
uid                71 maint/gnulib/lib/chown.c   if (gid == (gid_t) -1 || uid == (uid_t) -1)
uid                78 maint/gnulib/lib/chown.c       if (uid == (uid_t) -1)
uid                79 maint/gnulib/lib/chown.c         uid = st.st_uid;
uid                99 maint/gnulib/lib/chown.c         result = fchown (fd, uid, gid);
uid               131 maint/gnulib/lib/chown.c   result = chown (file, uid, gid);
uid               135 maint/gnulib/lib/chown.c       && (uid == st.st_uid || uid == (uid_t) -1)
uid                94 maint/gnulib/lib/euidaccess.c   uid_t uid = getuid ();
uid               119 maint/gnulib/lib/euidaccess.c       if (uid != euid)
uid               120 maint/gnulib/lib/euidaccess.c         setreuid (euid, uid);
uid               128 maint/gnulib/lib/euidaccess.c       if (uid != euid)
uid               129 maint/gnulib/lib/euidaccess.c         setreuid (uid, euid);
uid               144 maint/gnulib/lib/euidaccess.c   if (uid == euid && gid == egid)
uid                30 maint/gnulib/lib/fchown-stub.c fchown (int fd, uid_t uid, gid_t gid)
uid                69 maint/gnulib/lib/idcache.c getuser (uid_t uid)
uid                76 maint/gnulib/lib/idcache.c       if (tail->id.u == uid)
uid                85 maint/gnulib/lib/idcache.c       struct passwd *pwent = getpwuid (uid);
uid                88 maint/gnulib/lib/idcache.c       match->id.u = uid;
uid                24 maint/gnulib/lib/idcache.h extern char *getuser (uid_t uid);
uid                29 maint/gnulib/lib/idpriv-drop.c   int uid = getuid ();
uid                63 maint/gnulib/lib/idpriv-drop.c   if (setresuid (uid, uid, uid) < 0)
uid                66 maint/gnulib/lib/idpriv-drop.c   if (setreuid (uid, uid) < 0)
uid                69 maint/gnulib/lib/idpriv-drop.c   if (seteuid (uid) < 0)
uid                93 maint/gnulib/lib/idpriv-drop.c         || real != uid
uid                94 maint/gnulib/lib/idpriv-drop.c         || effective != uid
uid                95 maint/gnulib/lib/idpriv-drop.c         || saved != uid)
uid               100 maint/gnulib/lib/idpriv-drop.c   if (geteuid () != uid)
uid               104 maint/gnulib/lib/idpriv-drop.c   if (getuid () != uid)
uid                38 maint/gnulib/lib/idpriv-droptemp.c   int uid = getuid ();
uid                65 maint/gnulib/lib/idpriv-droptemp.c   if (setresuid (-1, uid, saved_uid) < 0)
uid                68 maint/gnulib/lib/idpriv-droptemp.c   if (setreuid (-1, uid) < 0)
uid                83 maint/gnulib/lib/idpriv-droptemp.c         || real != uid
uid                84 maint/gnulib/lib/idpriv-droptemp.c         || effective != uid
uid                90 maint/gnulib/lib/idpriv-droptemp.c   if (geteuid () != uid)
uid                93 maint/gnulib/lib/idpriv-droptemp.c   if (getuid () != uid)
uid               127 maint/gnulib/lib/idpriv-droptemp.c   int uid = getuid ();
uid               170 maint/gnulib/lib/idpriv-droptemp.c         || real != uid
uid               180 maint/gnulib/lib/idpriv-droptemp.c   if (getuid () != uid)
uid                44 maint/gnulib/lib/lchown.c lchown (const char *file, uid_t uid, gid_t gid)
uid                57 maint/gnulib/lib/lchown.c   return chown (file, uid, gid);
uid                71 maint/gnulib/lib/lchown.c rpl_lchown (const char *file, uid_t uid, gid_t gid)
uid                79 maint/gnulib/lib/lchown.c   if (gid != (gid_t) -1 || uid != (uid_t) -1)
uid                85 maint/gnulib/lib/lchown.c         return chown (file, uid, gid);
uid                94 maint/gnulib/lib/lchown.c         return chown (file, uid, gid);
uid                98 maint/gnulib/lib/lchown.c   result = lchown (file, uid, gid);
uid               102 maint/gnulib/lib/lchown.c       && (uid == st.st_uid || uid == (uid_t) -1)
uid               290 maint/gnulib/lib/set-permissions.c   ctx->entries[0].uid = statbuf.st_uid;
uid               293 maint/gnulib/lib/set-permissions.c   ctx->entries[1].uid = ACL_NSUSER;
uid               296 maint/gnulib/lib/set-permissions.c   ctx->entries[2].uid = ACL_NSUSER;
uid               352 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
uid               354 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
uid               357 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
uid               360 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
uid               103 maint/gnulib/lib/userspec.c                       uid_t *uid, gid_t *gid,
uid               116 maint/gnulib/lib/userspec.c   uid_t unum = *uid;
uid               220 maint/gnulib/lib/userspec.c       *uid = unum;
uid               259 maint/gnulib/lib/userspec.c parse_user_spec (char const *spec, uid_t *uid, gid_t *gid,
uid               264 maint/gnulib/lib/userspec.c     parse_with_separator (spec, colon, uid, gid, username, groupname);
uid               276 maint/gnulib/lib/userspec.c           && ! parse_with_separator (spec, dot, uid, gid, username, groupname))
uid               296 maint/gnulib/lib/userspec.c       uid_t uid;
uid               301 maint/gnulib/lib/userspec.c       e = parse_user_spec (tmp, &uid, &gid, &username, &groupname);
uid               305 maint/gnulib/lib/userspec.c               (unsigned long int) uid,
uid                25 maint/gnulib/lib/userspec.h parse_user_spec (const char *spec_arg, uid_t *uid, gid_t *gid,
uid                84 maint/gnulib/tests/test-idpriv-drop.c   int uid = getuid ();
uid               115 maint/gnulib/tests/test-idpriv-drop.c         || real != uid
uid               116 maint/gnulib/tests/test-idpriv-drop.c         || effective != uid
uid               117 maint/gnulib/tests/test-idpriv-drop.c         || saved != uid)
uid               122 maint/gnulib/tests/test-idpriv-drop.c   if (geteuid () != uid)
uid               126 maint/gnulib/tests/test-idpriv-drop.c   if (getuid () != uid)
uid                84 maint/gnulib/tests/test-idpriv-droptemp.c   int uid = getuid ();
uid               118 maint/gnulib/tests/test-idpriv-droptemp.c       if (geteuid () != uid)
uid               122 maint/gnulib/tests/test-idpriv-droptemp.c       if (getuid () != uid)
uid               145 maint/gnulib/tests/test-idpriv-droptemp.c       if (getuid () != uid)
uid               435 maint/gnulib/tests/test-sameacls.c           if (entries1[i].uid != entries2[i].uid)
uid               438 maint/gnulib/tests/test-sameacls.c                        file1, file2, i, (int)entries1[i].uid, (int)entries2[i].uid);
uid                39 maint/gnulib/tests/test-userspec.c   uid_t uid;
uid               108 maint/gnulib/tests/test-userspec.c     uid_t uid;
uid               109 maint/gnulib/tests/test-userspec.c     for (uid = 1200; 0 < uid; uid--)
uid               112 maint/gnulib/tests/test-userspec.c         struct passwd *pw = getpwuid (uid);
uid               131 maint/gnulib/tests/test-userspec.c         T[j].uid = uid;
uid               142 maint/gnulib/tests/test-userspec.c       uid_t uid = (uid_t) -1;
uid               146 maint/gnulib/tests/test-userspec.c       char const *diag = parse_user_spec (T[i].in, &uid, &gid,
uid               161 maint/gnulib/tests/test-userspec.c       if (uid != T[i].uid || gid != T[i].gid)
uid               166 maint/gnulib/tests/test-userspec.c                   (unsigned long int) T[i].uid,
uid               168 maint/gnulib/tests/test-userspec.c                   (unsigned long int) uid,
uid               185 maint/gnulib/tests/test-userspec.c     uid_t uid = (uid_t) -1;
uid               186 maint/gnulib/tests/test-userspec.c     char const *diag = parse_user_spec ("", &uid, NULL, NULL, NULL);