Subject: Re: CVS commit: syssrc/sys/sys
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: source-changes
Date: 07/06/2001 15:08:23
>>>This change looks wrong to me.  While the libc bcopy() implementation
>>>is indeed documented as allowing overlapping memory objects, this is
>>>not the case for its kernel pendant, which led (historically) to the
>>>alternate version ovbcopy() being used for possibly overlapping
>>>objects.
>
>	but there's no ovbcopy() supplied in NetBSD kernel tree,
>	it seems to me (it has been a big pain for me dealing with KAME tree)

	i mean, i'm proposing to have this in sys/systm.h, to ease code sharing
	with other BSDs:

itojun


#define ovbcopy(src, dst, len)	memmove(dst, src, len)