Uprobes: not quite there yet
Posted Jan 21, 2010 19:41 UTC (Thu) by
Tobu (subscriber, #24111)
Parent article:
Uprobes: not quite there yet
Executables don't control their address space entirely, every library
reserves some pages.
Could the extra address space be reserved once by a library everyone
links to, the libc? Utrace would write the displaced instructions into that
shared space, which the process has no control over. No VMA is introduced
while the process is running.
Though that requires some coordination. It's more convenient to let the
kernel do the reservation. But it can be done very early to not interfere
with the process and its libraries.
(
Log in to post comments)