Home
last modified time | relevance | path

Searched refs:uid_t (Results 1 – 22 of 22) 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.h14 uid_t uid;
/tools/testing/selftests/bpf/progs/
Dbpf_iter.h88 uid_t uid;
99 uid_t uid __attribute__((aligned(8)));
111 uid_t uid;
Dbpf_iter_tcp4.c75 uid_t uid, __u32 seq_num) in dump_tcp_sock()
148 uid_t uid, __u32 seq_num) in dump_tw_sock()
173 uid_t uid, __u32 seq_num) in dump_req_sock()
203 uid_t uid = ctx->uid; in dump_tcp4()
Dbpf_iter_tcp6.c75 uid_t uid, __u32 seq_num) in dump_tcp6_sock()
153 uid_t uid, __u32 seq_num) in dump_tw_sock()
182 uid_t uid, __u32 seq_num) in dump_req_sock()
219 uid_t uid = ctx->uid; in dump_tcp6()
Dprofiler.h66 uid_t uid;
114 uid_t parent_uid;
/tools/include/nolibc/
Dstd.h41 typedef unsigned int uid_t; typedef
Dtypes.h122 uid_t st_uid; /* user ID of owner */
Dnolibc.h153 int sys_chown(const char *path, uid_t owner, gid_t group) in sys_chown()
555 int chown(const char *path, uid_t owner, gid_t group) in chown()
/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/rlimits/
Drlimits-per-userns.c27 static uid_t user = 60000;
28 static uid_t group = 60000;
/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/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c78 uid_t uid; in create_and_enter_userns()
/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c32 uid_t my_uid = getuid(); in test_bpf_obj_id()
/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c190 uid_t uid; in create_and_enter_userns()
1392 uid_t expected_uid, gid_t expected_gid) in expected_uid_gid()