Is it possible to add a system call via a LKM?

前端 未结 3 1529
感动是毒
感动是毒 2021-01-17 19:33

I\'d like to add a new system call via an LKM, but I\'m not sure how to do this. That is, I know that if I want to add a completely new system call, I can look through the s

3条回答
  •  星月不相逢
    2021-01-17 20:08

    Check The Linux Documentation Project website for "The Linux Kernel Module Programming Guide" (http://www.tldp.org/LDP/lkmpg/2.6/html/index.html). Specifically, look here for System Calls: http://www.tldp.org/LDP/lkmpg/2.6/html/x978.html. That should give you a start, at least.

提交回复
热议问题