I mean, how the kernel expose its function to user land application.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Kernel functions are called using syscalls, which usually take form of filling some registers (type of syscall, parameters, …) and doing a software interrupt (int 0x80) or sysenter instruction (if your architecture supports it).
If you’re doing this on Linux, you might want to see some Linux syscall documentation, like one here: http://bluemaster.iu.hio.no/edu/dark/lin-asm/syscalls.html
There surely exists some similar documentation for other kernels (windows’).