Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22002

ioctl call flow in linux kernel

$
0
0

I am trying to understand the call flow of the ioctl call in linux kernel and I have a question - when we call ioctl from userspace, which function or module in linux kernel is responsible to convert this ioctl call to the corresponding ioctl call in the driver. I know that the ioctl for the driver will not be called directly from userspace. First the call has to go through some kernel API, and that API will in turn invoke the driver ioctl. Please help me point out that kernel API which transfers ioctl to the suitable driver.


Viewing all articles
Browse latest Browse all 22002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>