Searched refs:getuid (Results 1 – 25 of 60) sorted by relevance
123
36 if (!getuid()) in main()
219 if (getuid()) in main()
66 if (getuid() != 0) in main()
71 if (getuid() != 0) in main()
69 if (getuid() != 0) { in user_events_enabled()
128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog()160 if (logstat.st_uid != getuid()) { in prepare_logging()
144 if (getuid() != 0) in FIXTURE_SETUP()267 if (getuid() != 0) in FIXTURE_SETUP()
240 uid = getuid(); in test_userns()279 if (getuid() == child_uid) in test_setuid()
143 EXPECT_EQ(getuid(), 0) in TEST()
138 if (getuid() != 0) { in not_root()
149 uid_t uid = getuid(); in main()
69 if os.getuid() != 0:
137 if (getuid() != 0) in suspend()
131 ASSERT_EQ(uid, getuid()); in render_response()
96 uid_t uid = getuid(); in create_and_enter_ns()
159 uid = getuid(); in create_and_enter_userns()
191 uid = getuid(); in TEST_F()
200 if (getuid() != 0) in main()
82 uid = getuid(); in create_and_enter_userns()
209 if (getuid() != 0) { in main()
136 uid_t uid = getuid(); in setup_namespace()
32 uid_t my_uid = getuid(); in serial_test_bpf_obj_id()
267 if (getuid() != 0) in main()
88 outer_uid = getuid(); in create_and_enter_ns()
39 24 32 getuid sys_getuid1640 24 64 getuid sys_getuid