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

To unsubscribe from this group, send email to 
linuxkernelnewbies+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to