Miksi ei System calls ja LKMS?
progriolet
2<50
0Äänestä
Muut lukivat myös
Odottaa vastausta
Näihin keskusteluihin ei ole vielä vastattu. Ole ensimmäinen.
Turvaa tilisi vahvistamalla puhelinnumerosi. Voit silloin palauttaa unohtuneen salasanan tekstiviestillä.
Näihin keskusteluihin ei ole vielä vastattu. Ole ensimmäinen.
Vastaukset 2
Vanhimmat
"System calls. User space programs use system calls to get services from the kernel. For example, there are system calls to read a file, to create a new process, and to shut down the system. Most system calls are integral to the system and very standard, so are always built into the base kernel (no LKM option). But you can invent a system call of your own and install it as an LKM. Or you can decide you don't like the way Linux does something and override an existing system call with an LKM of your own."
http://tldp.org/HOWTO/html_single/Module-HOWTO/#AEN107
Laita kernelin config tiedostosta ruksi LKMS kohtiin muuttamiisi moduuleihin ja tähän joku oma system call vaikkapa shutdown tai createwindow
http://www.linuxjournal.com/article/3326