diff options
author | Mao, Bibo <bibo.mao@intel.com> | 2005-12-12 00:37:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-12 08:57:41 -0800 |
commit | b3e55c727ff7349c5db722fbdb8d99a151e8e0bf (patch) | |
tree | 90d437e565082afe25d68e530e793faeab4b49ac /arch | |
parent | 3fe968f167975d10c639f03c4934f05a29da73c0 (diff) | |
download | kernel-crypto-b3e55c727ff7349c5db722fbdb8d99a151e8e0bf.tar.gz kernel-crypto-b3e55c727ff7349c5db722fbdb8d99a151e8e0bf.tar.xz kernel-crypto-b3e55c727ff7349c5db722fbdb8d99a151e8e0bf.zip |
[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 <anil.s.keshavamurthy@intel.com>
Signed-off-by: Mao Bibo <bibo.mao@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions