Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 20:07:24 +0200
From:      Martin Faxer <gmh003532@brfmasthugget.se>
To:        David Greenman-Lawrence <dg@root.com>
Cc:        Alfred Perlstein <alfred@FreeBSD.org>, 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>
In-Reply-To: <20020624104613.D6982@nexus.root.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020624180724.GB2134>