Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/ptrace/
A Dpeeksiginfo.c48 void *addr_rw, *addr_ro; in check_error_paths() local
54 addr_rw = mmap(NULL, 2 * PAGE_SIZE, PROT_READ | PROT_WRITE, in check_error_paths()
56 if (addr_rw == MAP_FAILED) { in check_error_paths()
61 addr_ro = mmap(addr_rw + PAGE_SIZE, PAGE_SIZE, PROT_READ, in check_error_paths()
73 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_rw); in check_error_paths()
101 munmap(addr_rw, 2 * PAGE_SIZE); in check_error_paths()

Completed in 4 milliseconds