[PATCH 4/7] kprobes: Keep consistent state of kprobes_all_disarmed

2015-02-26 Thread Petr Mladek
kprobes_all_disarmed global flag says that Kprobes are disarmed even when the Kprobe-specific KPROBE_FLAG_DISABLED is not set. The global flag is currently set by arm_all_probes() and disarm_all_probes() functions even when they were not able to switch all Kprobes. It might result in further

[PATCH 4/7] kprobes: Keep consistent state of kprobes_all_disarmed

2015-02-26 Thread Petr Mladek
kprobes_all_disarmed global flag says that Kprobes are disarmed even when the Kprobe-specific KPROBE_FLAG_DISABLED is not set. The global flag is currently set by arm_all_probes() and disarm_all_probes() functions even when they were not able to switch all Kprobes. It might result in further