kprobes for 2.5.50-bk2
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Dave Jones
This last part just got me thinking.
What stops someone for example using this to implement a binary only replacement of the TCP/IP stack, or any other part of the kernel for that matter ?
It can be already easily done, just patch the kernel code in /dev/kmem and add some jump instructions to your loaded module.
But it's not practical, because it's 100% binary dependent and would break with every small change.
Similar to kprobes. But kprobes is actually useful for kernel debugging/ tracing and unlike many other of these patches not very intrusive.
-Andi
Quoted 9 lines · Andi Kleen
Quoted 4 lines
This last part just got me thinking.
What stops someone for example using this to implement a binary only replacement of the TCP/IP stack, or any other part of the kernel for that matter ?It can be already easily done, just patch the kernel code in
/dev/kmemand add some jump instructions to your loaded module.
But it's not practical, because it's 100% binary dependent and would break with every small change.
indeed.
Quoted 2 lines
Similar to kprobes. But kprobes is actually useful for kernel debugging/ tracing and unlike many other of these patches not very intrusive.
Suparna also just told me I overlooked the _GPL on the export.
Dave
Signature · 1 line
| Dave Jones. http://www.codemonkey.org.uk