Home
last modified time | relevance | path

Searched refs:uid_t (Results 1 – 17 of 17) sorted by relevance

/tools/perf/util/
Dthread_map.h16 struct perf_thread_map *thread_map__new_by_uid(uid_t uid);
18 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
22 const char *tid, uid_t uid, bool all_threads);
Dthread_map.c74 static struct perf_thread_map *__thread_map__new_all_cpus(uid_t uid) in __thread_map__new_all_cpus()
165 struct perf_thread_map *thread_map__new_by_uid(uid_t uid) in thread_map__new_by_uid()
170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new()
293 uid_t uid, bool all_threads) in thread_map__new_str()
Dtarget.h13 uid_t uid;
/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c76 uid_t uid, __u32 seq_num) in dump_tcp_sock()
149 uid_t uid, __u32 seq_num) in dump_tw_sock()
174 uid_t uid, __u32 seq_num) in dump_req_sock()
204 uid_t uid = ctx->uid; in dump_tcp4()
Dbpf_iter_tcp6.c76 uid_t uid, __u32 seq_num) in dump_tcp6_sock()
154 uid_t uid, __u32 seq_num) in dump_tw_sock()
183 uid_t uid, __u32 seq_num) in dump_req_sock()
220 uid_t uid = ctx->uid; in dump_tcp6()
Dbpf_iter.h78 uid_t uid;
89 uid_t uid __attribute__((aligned(8)));
Dprofiler.h66 uid_t uid;
114 uid_t parent_uid;
/tools/testing/selftests/safesetid/
Dsafesetid-test.c95 static void ensure_user_exists(uid_t uid) in ensure_user_exists()
173 uid_t uid; in test_userns()
205 static void test_setuid(uid_t child_uid, bool expect_success) in test_setuid()
/tools/testing/selftests/capabilities/
Dtest_execve.c89 static bool create_and_enter_ns(uid_t inner_uid) in create_and_enter_ns()
91 uid_t outer_uid; in create_and_enter_ns()
234 uid_t gid = getegid(); in do_tests()
/tools/testing/selftests/clone3/
Dclone3.c129 uid_t uid = getuid(); in main()
Dclone3_set_tid.c154 uid_t uid = getuid(); in main()
/tools/testing/selftests/net/
Dreuseaddr_ports_exhausted.c130 uid_t euid[2] = {10, 20}; in TEST()
/tools/testing/selftests/mount/
Dnosymfollow-test.c96 uid_t uid = getuid(); in create_and_enter_ns()
Dunprivileged-remount-test.c156 uid_t uid; in create_and_enter_userns()
/tools/testing/selftests/cgroup/
Dtest_core.c686 const uid_t test_euid = 65534; /* usually nobody, any !root is fine */ in test_cgcore_lesser_euid_open()
691 uid_t saved_uid; in test_cgcore_lesser_euid_open()
769 const uid_t test_euid = 65534; /* usually nobody, any !root is fine */ in test_cgcore_lesser_ns_open()
/tools/include/nolibc/
Dnolibc.h140 typedef unsigned int uid_t; typedef
260 uid_t st_uid; /* user ID of owner */
1489 int sys_chown(const char *path, uid_t owner, gid_t group) in sys_chown()
1831 int chown(const char *path, uid_t owner, gid_t group) in chown()
/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c32 uid_t my_uid = getuid(); in test_bpf_obj_id()