Home
last modified time | relevance | path

Searched refs:PTRACE_PEEKDATA (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/riscv/vector/
H A Dvalidate_v_ptrace.c172 vstart_csr = ptrace(PTRACE_PEEKDATA, pid, &vstart, NULL); in TEST()
176 vl_csr = ptrace(PTRACE_PEEKDATA, pid, &vl, NULL); in TEST()
180 vtype_csr = ptrace(PTRACE_PEEKDATA, pid, &vtype, NULL); in TEST()
184 vcsr_csr = ptrace(PTRACE_PEEKDATA, pid, &vcsr, NULL); in TEST()
188 vlenb_csr = ptrace(PTRACE_PEEKDATA, pid, &vlenb, NULL); in TEST()
/linux/tools/testing/selftests/arm64/gcs/
H A Dlibc-gcs.c255 val = ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL); in TEST()
283 EXPECT_EQ(0, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST()
291 EXPECT_EQ(val, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST()
/linux/include/uapi/linux/
H A Dptrace.h13 #define PTRACE_PEEKDATA 2 macro
/linux/tools/testing/selftests/mm/
H A Dmemfd_secret.c175 if (ptrace(PTRACE_PEEKDATA, ppid, mem, 0)) in try_ptrace()
H A Dprotection_keys.c1245 ret = ptrace(PTRACE_PEEKDATA, child_pid, ptr, ignored); in test_pkey_init_state()
1255 ret = ptrace(PTRACE_PEEKDATA, child_pid, plain_ptr, ignored); in test_pkey_init_state()
/linux/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c276 child_nr_tests = ptrace(PTRACE_PEEKDATA, child_pid, in check_success()