Editing Talk:IOCTL
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= | = The process of ioctl in devices = | ||
<pre> | <pre> | ||
find string of device in kernel | |||
find xrefs to func (should be two only) | |||
make_dev and mutex_init (we want make_dev) | |||
structure before string is where we want to go | |||
follow structure then go to the very last offset of structure | |||
it is func in charge of ioctls | |||
</pre> | </pre> |