cvs commit: src/sys/nfsserver nfs_srvsubs.c src/sys/sys sysent.h

John Baldwin jhb at
Mon Apr 2 13:53:27 UTC 2007

jhb         2007-04-02 13:53:26 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsserver        nfs_srvsubs.c 
    sys/sys              sysent.h 
  - Split out the part of SYSCALL_MODULE_HELPER() that builds a 'struct
    sysent' for a new system call into a new MAKE_SYSENT() macro.
  - Use MAKE_SYSENT() to build a full sysent for the nfssvc system call in
    the NFS server and use syscall_register() and syscall_deregister() to
    manage the nfssvc system call entry instead of manually frobbing the
    sysent[] array.
  Revision  Changes    Path
  1.147     +12 -9     src/sys/nfsserver/nfs_srvsubs.c
  1.53      +9 -6      src/sys/sys/sysent.h

More information about the cvs-src mailing list