Hi, Is there any way to get the current process ID and the corresponding name of the application from the kernel module?
I have tried using task->comm ,task->pid, current->pid etc But I am not getting the correct process ID. I want to printk the process ID and the application name each time a system call is called. System call should have a way to identify which process ID or application is calling it. Any other way to printk the process ID and the application name? Thanks In Advance, Perumal -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup To unsubscribe from this group, send email to linuxusersgroup+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
