Home
last modified time | relevance | path

Searched refs:geteuid (Results 1 – 25 of 26) sorted by relevance

12

/xnu-11417.140.69/tests/
H A Dsettimeofday_29193041_entitled.c27 if (geteuid() != 0) {
56 if (geteuid() == 0) {
84 if (geteuid() != 0) {
114 if (geteuid() == 0) {
H A Dkevent_qos.c153 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 Dsettimeofday_29193041.c53 if (geteuid() == 0) {
114 if (geteuid() == 0) {
H A Ddebug_control_port_for_pid.c16 if (geteuid() != 0) {
H A Dntp_adjtime_29192647.c23 if (geteuid() != 0) {
118 if (geteuid() != 0) {
206 if (geteuid() != 0) {
H A Dtext_corruption_helper.c33 if (geteuid() != 0) { in main()
H A Ddrop_priv.c64 return geteuid() == 0; in running_as_root()
H A Dmach_continuous_time.c232 if (geteuid() != 0) {
259 if (geteuid() != 0) {
H A Ddisk_mount_conditioner.c225 if (0 == geteuid()) {
248 if (0 == geteuid()) {
H A Decc_test_helper.c193 if (geteuid() != 0) { in main()
H A Dpersona_adoption.c157 uid_t persona_uid = (error == 0) ? info.persona_uid : geteuid(); in _run_helper_in_persona()
H A Dproc_rlimit.c210 if (geteuid() == 0) {
H A Dvsock.c357 if (geteuid() == 0) {
368 if (geteuid() != 0) {
H A Dturnstile_multihop.c303 if (geteuid() != 0) { in workloop_cb_test_intransit()
/xnu-11417.140.69/tools/tests/affinity/
H A Dtags.c91 if (geteuid() != 0) { in main()
/xnu-11417.140.69/bsd/man/man2/
H A DMakefile94 geteuid.2 \
/xnu-11417.140.69/tests/vm/
H A Dmemorystatus_jetsam_zprint_snapshot.c256 if (geteuid() != 0) {
H A Dtest_vm_no_pager_helper.c482 if (geteuid() != 0) { in main()
/xnu-11417.140.69/tools/tests/personas/
H A Dpersona_mgr.c200 if (geteuid() != 0) { in main()
H A Dpersona_spawn.c326 if (geteuid() != 0) { in main()
/xnu-11417.140.69/tests/skywalk/
H A Dskywalk_mptest_driver.c350 geteuid() != 0) { in skywalk_mptest_driver_run()
/xnu-11417.140.69/tools/tests/superpages/
H A Dtestsp.c436 if (!geteuid()) { /* may fail as user */ in test_wire()
/xnu-11417.140.69/tests/sched/
H A Dsched_test_utils.c550 T_QUIET; T_ASSERT_EQ(geteuid(), 0, "��️ Tracing requires the test to be run as root user"); in begin_collect_trace_fmt()
/xnu-11417.140.69/bsd/kern/
H A Dkern_prot.c303 geteuid(__unused proc_t p, __unused struct geteuid_args *uap, int32_t *retval) in geteuid() function
/xnu-11417.140.69/bsd/security/audit/
H A Daudit_bsm_token.c1168 return au_to_subject32(auinfo.ai_auid, geteuid(), getegid(), in au_to_me()

12