diff options
| author | Mao, Bibo <[email protected]> | 2005-12-12 00:37:00 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-12-12 08:57:41 -0800 |
| commit | b3e55c727ff7349c5db722fbdb8d99a151e8e0bf (patch) | |
| tree | 90d437e565082afe25d68e530e793faeab4b49ac /scripts/patch-kernel | |
| parent | 3fe968f167975d10c639f03c4934f05a29da73c0 (diff) | |
[PATCH] Kprobes: Reference count the modules when probed on it
When a Kprobes are inserted/removed on a modules, the modules must be ref
counted so as not to allow to unload while probes are registered on that
module.
Without this patch, the probed module is free to unload, and when the
probing module unregister the probe, the kpobes code while trying to
replace the original instruction might crash.
Signed-off-by: Anil S Keshavamurthy <[email protected]>
Signed-off-by: Mao Bibo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions