Ganesh PS wrote: > void gen_sig(void){ > struct task_struct *p=NULL; > p=kmalloc(sizeof(struct task_struct), GFP_KERNEL); > > p = find_task_by_pid(pid); /*Received from a user program through ioctl()*/ What is this kmalloc() for? You don't kfree() this pointer? -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ