From owner-cvs-all@FreeBSD.ORG Mon Apr 2 13:53:27 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 020DA16A402; Mon, 2 Apr 2007 13:53:27 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D066413C483; Mon, 2 Apr 2007 13:53:26 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l32DrQWa053618; Mon, 2 Apr 2007 13:53:26 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l32DrQop053617; Mon, 2 Apr 2007 13:53:26 GMT (envelope-from jhb) Message-Id: <200704021353.l32DrQop053617@repoman.freebsd.org> From: John Baldwin Date: Mon, 2 Apr 2007 13:53:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/nfsserver nfs_srvsubs.c src/sys/sys sysent.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 13:53:27 -0000 jhb 2007-04-02 13:53:26 UTC FreeBSD src repository Modified files: sys/nfsserver nfs_srvsubs.c sys/sys sysent.h Log: - 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