The HyperNews Linux KHG Discussion Pages

## creating a kernel relocatable module

  Forum: The Linux Kernel Hackers' Guide
  Keywords: kernel relocatable module
  Date: Wed, 29 Oct 1997 18:41:01 GMT
  From: Simon Kittle <simon@nfm.co.uk>

is there any tutorial/documentation for writing relocatable modules for the kernel or just stuff on the structure of it. I have been able to get a sort of bare bones module that does nothing loaded and unloaded (the code was just stripped down from some other device driver module) but I cant get new functions, I supose they would be syscalls to work. If I just want to add a few syscalls and not deal with any hardware, how do I "register" them so the kernel knows to use them. When I wrote one such function just to try and return one char, I wrote program to test it but could not get it linked any hep much apprieciated. tanks - Simon Kittle