geteuid 199 daemons/pacemakerd/pacemakerd.c if (geteuid() != 0) { // Yes, and there's nothing we can do about it geteuid 425 lib/cib/cib_client.c uid_t uid = geteuid(); geteuid 325 lib/cib/cib_file.c uid_t uid = geteuid(); geteuid 801 lib/common/acl.c effective_user = pcmk__uid2username(geteuid()); geteuid 260 lib/common/logging.c if (geteuid() == 0) { geteuid 351 lib/common/logging.c filename, strerror(rc), geteuid(), getegid()); geteuid 57 lib/common/watchdog.c uid_t uid = geteuid(); geteuid 974 lib/services/services_linux.c if (op->opaque->uid && (geteuid() == 0)) { geteuid 96 maint/gnulib/lib/euidaccess.c uid_t euid = geteuid (); geteuid 100 maint/gnulib/lib/idpriv-drop.c if (geteuid () != uid) geteuid 43 maint/gnulib/lib/idpriv-droptemp.c saved_uid = geteuid (); geteuid 90 maint/gnulib/lib/idpriv-droptemp.c if (geteuid () != uid) geteuid 177 maint/gnulib/lib/idpriv-droptemp.c if (geteuid () != saved_uid) geteuid 78 maint/gnulib/lib/pt_chown.c uid_t euid = geteuid (); geteuid 38 maint/gnulib/lib/secure_getenv.c if (geteuid () != getuid () || getegid () != getgid ()) geteuid 47 maint/gnulib/lib/unlinkdir.c cannot = (geteuid () != ROOT_UID); geteuid 44 maint/gnulib/lib/write-any-file.c can = (geteuid () == ROOT_UID); geteuid 72 maint/gnulib/tests/test-access.c if (geteuid () != ROOT_UID) geteuid 41 maint/gnulib/tests/test-idpriv-drop.c (int) getuid (), (int) geteuid ()); geteuid 122 maint/gnulib/tests/test-idpriv-drop.c if (geteuid () != uid) geteuid 41 maint/gnulib/tests/test-idpriv-droptemp.c (int) getuid (), (int) geteuid ()); geteuid 87 maint/gnulib/tests/test-idpriv-droptemp.c int privileged_uid = geteuid (); geteuid 118 maint/gnulib/tests/test-idpriv-droptemp.c if (geteuid () != uid) geteuid 141 maint/gnulib/tests/test-idpriv-droptemp.c if (geteuid () != privileged_uid) geteuid 55 maint/gnulib/tests/test-sethostname2.c if (geteuid () != ROOT_UID) geteuid 675 tools/cibadmin.c char *username = pcmk__uid2username(geteuid());