write to userspace files in kernel
Posted on 2001-08-16
I use kernel 2.4.2 ,add following code into
ipchains_core.c, to record every packet :
struct file *myfile;
strcpy(buf,"This is a test!\n");
when the new kernel go in work, code is called,
this kernel breaks down at once!
I don't know why this kernel breaks down,
I need your help, please.