How can i uniquely identify users trying to open() a kernel module?

Posted by user349072 on Stack Overflow See other posts from Stack Overflow or by user349072
Published on 2010-05-24T16:26:50Z Indexed on 2010/05/24 16:31 UTC
Read the original article Hit count: 300

Dear Gurus,

I'm working on a Kernel module and i'm trying to Uniquely identify each one of the users trying to open() the module ( can be either processes or threads ).

what is the best way to identify them? is there an ID i can get from a system call?

i wish to get all users in a list that specifies whether they're trying to open the module for read \ write and i need to know which one tried acting...

many many thanks.

in regards,

IK

© Stack Overflow or respective owner

Related posts about linux-kernel

Related posts about kernel