Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/sys



>>>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)



Home | Main Index | Thread Index | Old Index