Searched refs:addr_rw (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/tools/testing/selftests/ptrace/ |
H A D | peeksiginfo.c | 47 void *addr_rw, *addr_ro; check_error_paths() local 53 addr_rw = mmap(NULL, 2 * PAGE_SIZE, PROT_READ | PROT_WRITE, check_error_paths() 55 if (addr_rw == MAP_FAILED) { check_error_paths() 60 addr_ro = mmap(addr_rw + PAGE_SIZE, PAGE_SIZE, PROT_READ, check_error_paths() 72 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_rw); check_error_paths() 100 munmap(addr_rw, 2 * PAGE_SIZE); check_error_paths()
|
Completed in 63 milliseconds