aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2010-12-03 18:53:57 +0900
committerIngo Molnar <[email protected]>2010-12-06 17:59:29 +0100
commit6f0f1dd71953d4243c11e490dd49ef24ebaf6c0b (patch)
tree84a77def76610b59a2abfed87f548ab42b64da84 /net/unix/af_unix.c
parent6d8e40a85ef72a0514ebd00748eb18cab432b200 (diff)
kprobes: Cleanup disabling and unregistering path
Merge disabling kprobe to unregistering kprobe function and add comments for disabing/unregistring process. Current unregistering code disables(disarms) kprobes after checking target kprobe status. This patch changes it to disabling kprobe first after that it changing the kprobe's state. This allows to share probe disabling code between disable_kprobe() and unregister_kprobe(). Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Jason Baron <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions