DEV Community

Discussion on: How to add system call (syscall) to the kernel, compile and test it?

phlash909 profile image
Phil Ashby

Ah cool, thanks for helping others along, and sending me down a rabbit hole looking for ways to do this dynamically with loadable modules: TIL officially you cannot as the sys_call_table[] in the kernel is a fixed size, defined at build time; unofficially there are usually unused entries you can usurp..caveat hacker :)