Sven Burgener wrote:
>
> Hello
>
> Some questions to be answered:
>
> o How, if possible, can I deliberately cause a core dump on Linux?
> (Running potato / 2.2.17-pre6-1 kernel from the sources available
> in potato.)
Program core dump or kernel oops ???
Program:
int main(int argc, char *argv[])
{
*(int *)0 = 0 ;
}
In the kernel, just hack into a driver put the above line it, compile
and insmod away. (This is how the kernel used to cause an oops.)
Mike