From owner-cvs-all Mon Jun 24 11: 9:49 2002 Delivered-To: cvs-all@freebsd.org Received: from lockdown.spectrum.fearmuffs.net (c164-147.pro.thalamus.se [212.31.164.147]) by hub.freebsd.org (Postfix) with ESMTP id 44F9D37B43D; Mon, 24 Jun 2002 11:07:26 -0700 (PDT) Received: from lockdown.spectrum.fearmuffs.net (localhost.spectrum.fearmuffs.net [127.0.0.1]) by lockdown.spectrum.fearmuffs.net (8.12.3/8.12.3) with ESMTP id g5OI7PtB002467; Mon, 24 Jun 2002 20:07:25 +0200 (CEST) (envelope-from gmh003532@brfmasthugget.se) Received: (from redpixel@localhost) by lockdown.spectrum.fearmuffs.net (8.12.3/8.12.3/Submit) id g5OI7O2k002466; Mon, 24 Jun 2002 20:07:24 +0200 (CEST) (envelope-from gmh003532@brfmasthugget.se) Date: Mon, 24 Jun 2002 20:07:24 +0200 From: Martin Faxer To: David Greenman-Lawrence Cc: Alfred Perlstein , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_syscalls.c Message-ID: <20020624180724.GB2134@lockdown.spectrum.fearmuffs.net> References: <200206240642.g5O6gM327387@freefall.freebsd.org> <20020624011200.A6982@nexus.root.com> <20020624090931.GR53232@elvis.mu.org> <20020624101654.B6982@nexus.root.com> <20020624172702.GV53232@elvis.mu.org> <20020624104613.D6982@nexus.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020624104613.D6982@nexus.root.com> User-Agent: Mutt/1.3.99i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002.06.24 10:46:13 +0000, David Greenman-Lawrence wrote: > I don't have any experience trying to do this, but my understanding is > that the syscall would need to be deprecated and renamed something like > osendfile(). osendfile() just becomes a compatibility shim (presumably > subtracting the header length from nbytes) and then calls the new syscall. i think you add a new syscall entity in syscalls.master for the new syscall (like nsendfile()) and then update libc to call that instead of the old syscall. then all old cold will still call osendfile() but code linked with a newer libc will call the new one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message