linux kernel - How to find driver under inode? -


suppose have pointer struct inode, references special file. how can found driver placed under inode?

generally, cannot deduce driver inode object. if driver compiled module, way below may help.

you can check inode->i_fop->owner field. if non-null, refers module (struct module), implements it. macro module_name(mod) returns name of module.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -