| /xnu-12377.81.4/tests/ |
| H A D | settimeofday_29193041_entitled.c | 27 if (geteuid() != 0) { 56 if (geteuid() == 0) { 84 if (geteuid() != 0) { 114 if (geteuid() == 0) {
|
| H A D | kevent_qos.c | 153 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_intransit() 173 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_sync_send() 191 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_kernel_sync_send() 212 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_kernel_async_send() 238 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_sync_send_and_enable() 278 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_sync_send_and_enable_handoff() 330 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_send_two_sync() 366 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_two_send_and_destroy() 481 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_sync_send_reply() 503 T_ASSERT_EQ(geteuid(), 0, "kevent_qos test requires root privileges to run."); in workloop_cb_test_sync_send_deallocate() [all …]
|
| H A D | settimeofday_29193041.c | 53 if (geteuid() == 0) { 114 if (geteuid() == 0) {
|
| H A D | debug_control_port_for_pid.c | 16 if (geteuid() != 0) {
|
| H A D | ntp_adjtime_29192647.c | 23 if (geteuid() != 0) { 118 if (geteuid() != 0) { 206 if (geteuid() != 0) {
|
| H A D | text_corruption_helper.c | 33 if (geteuid() != 0) { in main()
|
| H A D | drop_priv.c | 64 return geteuid() == 0; in running_as_root()
|
| H A D | mach_continuous_time.c | 232 if (geteuid() != 0) { 259 if (geteuid() != 0) {
|
| H A D | persona_adoption.c | 157 uid_t persona_uid = (error == 0) ? info.persona_uid : geteuid(); in _run_helper_in_persona()
|
| H A D | ecc_test_helper.c | 195 if (geteuid() != 0) { in main()
|
| H A D | proc_rlimit.c | 210 if (geteuid() == 0) {
|
| H A D | vsock.c | 200 if (geteuid() == 0) { 211 if (geteuid() != 0) {
|
| /xnu-12377.81.4/tests/vfs/ |
| H A D | direntries_permissions.c | 86 if (geteuid() != 0) { 126 if (geteuid() != 0) {
|
| H A D | resolve_beneath.c | 418 …T_EXPECT_POSIX_SUCCESS(fchownat(test_fd, "inside_file.txt", geteuid(), getgid(), AT_RESOLVE_BENEAT… 421 …T_EXPECT_POSIX_FAILURE(fchownat(test_fd, "symlink", geteuid(), getgid(), AT_RESOLVE_BENEATH), ENOT… 424 …T_EXPECT_POSIX_FAILURE(fchownat(test_fd, "../outside_file.txt", geteuid(), getgid(), AT_RESOLVE_BE… 427 …T_EXPECT_POSIX_SUCCESS(fchownat(test_fd, "nested/nested_file.txt", geteuid(), getgid(), AT_RESOLVE… 430 …T_EXPECT_POSIX_SUCCESS(fchownat(test_fd, "symlink_to_nested", geteuid(), getgid(), AT_RESOLVE_BENE… 433 …T_EXPECT_POSIX_FAILURE(fchownat(test_fd, "/etc/passwd", geteuid(), getgid(), AT_RESOLVE_BENEATH), … 436 …T_EXPECT_POSIX_FAILURE(fchownat(test_fd, "parent_symlink/outside_file.txt", geteuid(), getgid(), A… 439 …T_EXPECT_POSIX_FAILURE(fchownat(test_fd, "circular_symlink", geteuid(), getgid(), AT_RESOLVE_BENEA… 442 …T_EXPECT_POSIX_FAILURE(fchownat(test_fd, "../test_dir/inside_file.txt", geteuid(), getgid(), AT_RE… 445 …T_EXPECT_POSIX_FAILURE(fchownat(test_fd, "symlink_absolute/test_dir/inside_file.txt", geteuid(), g…
|
| H A D | union_getdirentries.c | 97 if (geteuid() != 0) {
|
| H A D | devfs_fdesc.c | 66 if (geteuid() == 0) {
|
| H A D | statfs_ext.c | 203 if (geteuid() != 0) {
|
| H A D | sandbox_appledouble_write.c | 108 if (geteuid() != 0) {
|
| /xnu-12377.81.4/tools/tests/affinity/ |
| H A D | tags.c | 91 if (geteuid() != 0) { in main()
|
| /xnu-12377.81.4/bsd/man/man2/ |
| H A D | Makefile | 94 geteuid.2 \
|
| /xnu-12377.81.4/tests/vm/ |
| H A D | memorystatus_jetsam_zprint_snapshot.c | 256 if (geteuid() != 0) {
|
| H A D | test_vm_no_pager_helper.c | 483 if (geteuid() != 0) { in main()
|
| /xnu-12377.81.4/tools/tests/personas/ |
| H A D | persona_mgr.c | 200 if (geteuid() != 0) { in main()
|
| H A D | persona_spawn.c | 326 if (geteuid() != 0) { in main()
|
| /xnu-12377.81.4/tests/skywalk/ |
| H A D | skywalk_mptest_driver.c | 378 geteuid() != 0) { in skywalk_mptest_driver_run()
|