kernel-hacking-2024-linux-s.../drivers/misc
Simon Kagstrom 0347af4ee3 lkdtm: add debugfs access and loosen KPROBE ties
Add adds a debugfs interface and additional failure modes to LKDTM to
provide similar functionality to the provoke-crash driver submitted here:

  http://lwn.net/Articles/371208/

Crashes can now be induced either through module parameters (as before)
or through the debugfs interface as in provoke-crash.

The patch also provides a new "direct" interface, where KPROBES are not
used, i.e., the crash is invoked directly upon write to the debugfs
file. When built without KPROBES configured, only this mode is available.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Cc: M. Mohan Kumar <mohan@in.ibm.com>
Cc: Americo Wang <xiyou.wangcong@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:32 -08:00
..
c2port
cb710
eeprom i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
hdpuftrs
ibmasm
iwmc3200top drivers/misc/iwmc3200top/main.c: eliminate useless code 2010-03-06 11:26:32 -08:00
sgi-gru gru: send cross partition interrupts using the gru 2009-12-16 07:20:17 -08:00
sgi-xp bitops: rename for_each_bit() to for_each_set_bit() 2010-03-06 11:26:23 -08:00
ad525x_dpot.c ad525x_dpot: new driver for AD525x digital potentiometers 2009-12-15 08:53:25 -08:00
atmel-ssc.c
atmel_pwm.c
atmel_tclib.c
cs5535-mfgpt.c cs5535: add a generic MFGPT driver 2009-12-15 08:53:28 -08:00
ds1682.c
enclosure.c
ep93xx_pwm.c
hpilo.c
hpilo.h
ics932s401.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
ioc4.c ioc3/ioc4: various section fixes 2009-12-15 08:53:27 -08:00
isl29003.c
Kconfig MFGPT: move clocksource menu 2010-03-06 11:26:28 -08:00
kgdbts.c
lkdtm.c lkdtm: add debugfs access and loosen KPROBE ties 2010-03-06 11:26:32 -08:00
Makefile cs5535: add a generic MFGPT driver 2009-12-15 08:53:28 -08:00
phantom.c
ti_dac7512.c drivers/misc: add driver for Texas Instruments DAC7512 2009-12-15 08:53:25 -08:00
tifm_7xx1.c
tifm_core.c