Go to file
kamil 6f188f1097 Add {,io_}read_i[1234] in t_ptrace_wait{,3,4,6,id,pid}
New tests are direct counterparts to the existing ones {,io_}read_d[1234].

PT_READ_D and PIOD_READ_D (from PT_IO) are traditionally used to transfer
data segment. New tests make use of PT_READ_I and PIOD_READ_I (from PT_IO)
in order to copy text segment from traced process.

    Traditionally, ptrace() has
    allowed for machines with distinct address spaces for
    instruction and data, which is why there are two requests:
    conceptually, PT_READ_I reads from the instruction space
    and PT_READ_D reads from the data space.  In the current
    NetBSD implementation, these two requests are completely
    identical.

    --- ptrace(2)

New tests follow the traditional convention and copy only instructions from
dummy functions.

There are no new tests copying data to .text regions from the traced
process, as this is violating mprotect restrictions. This limitation may be
addressed in future, as there are dedicated sysctl(7) handlers for
debuggers (currently mainly gdb(1)).

Tests verifying identical behavior of PT_READ_I and PT_READ_D are not
planned.

Sponsored by <The NetBSD Foundation>
2016-11-23 23:30:50 +00:00
bin Fix grammar in couple of sentences. 2016-10-25 13:01:59 +00:00
common Set *endptr in all paths out of strtoul and family. 2016-11-05 21:11:30 +00:00
compat add LIBGCC_MACHINE_ARCH 2016-10-22 20:33:51 +00:00
crypto Mark the new SPARCv9-in-32bit-mode modules as needing V9. 2016-11-03 22:18:29 +00:00
dist/pf PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
distrib for some reason that is currently eluding me, non-MKUPDATE builds 2016-11-23 09:50:52 +00:00
doc new ntp 2016-11-22 03:11:16 +00:00
etc update for xkeyboard-config 2.19 2016-11-22 19:51:37 +00:00
external for some reason that is currently eluding me, non-MKUPDATE builds 2016-11-23 09:50:52 +00:00
extsrc
games add a couple 2016-10-14 03:20:04 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include Import wcsnlen(3) to libc 2016-10-15 14:21:59 +00:00
lib For ski, break into debugger instead of exiting 2016-11-22 22:50:32 +00:00
libexec revert, I'll fix libc instead. 2016-10-07 19:10:03 +00:00
regress Fix the mmap call, KNF, and make the output more readable. 2016-09-03 08:47:38 +00:00
rescue vnconfig(8) was renamed to vndconfig(8) some time ago, and most places 2016-08-04 03:50:55 +00:00
sbin Major rework on mount_puffs(8) so that it can actually start file servers 2016-11-23 14:33:29 +00:00
share document NFS_BOOT_TCP option. 2016-11-22 04:55:10 +00:00
sys support WSDISPLAYIO_GET_FBINFO 2016-11-23 21:18:12 +00:00
tests Add {,io_}read_i[1234] in t_ptrace_wait{,3,4,6,id,pid} 2016-11-23 23:30:50 +00:00
tools regen 2016-10-19 21:55:26 +00:00
usr.bin Oops, it should be Aq Mt email@address 2016-11-18 12:16:48 +00:00
usr.sbin nothing is executable. 2016-11-23 17:25:11 +00:00
build.sh With driver modulization of if_loop.c through introduction of 2016-11-13 14:47:46 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING note that the OpenSSL import requires some objdir cleanup 2016-10-14 16:39:05 +00:00