The HyperNews Linux KHG Discussion Pages

## Where to add the syscall

  Forum: How System Calls Work on Linux/i86
  Re: question RE: syscalls on 2.o.x & up (Tim Hockin)
  Keywords: syscall system call
  Date: Thu, 09 Oct 1997 12:30:46 GMT
  From: Michael K. Johnson <johnsonm@redhat.com>

I suggest that you not take over the `.long 0,0` directive in there; it's there to reserve a system call number for a system call that is installed via a module (or some other kernel patch). Add it after sys_vm86, then change `166` to `167` in the `.space` directive.