Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Apr 2020 21:37:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 244962] emulators/virtualbox-ose-additions mount -t vboxsf Operation not supported by device
Message-ID:  <bug-244962-26505-BhneNhW7fX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244962-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244962-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244962

--- Comment #9 from Mateusz Guzik <mjg@FreeBSD.org> ---
Quick grep reveals stuff like:
src/VBox/Additions/x11/x11include/XFree86-4.3/X11/Xfuncs.h:
#else /* else vanilla BSD */
#define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
#define memcpy(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len))
#define memcmp(b1,b2,len) bcmp((char *)(b1),(char *)(b2),(int)(len))

All defines of the sort should be eliminated from all files -- memmove, mem=
cpy
and memcmp are provided as first class citizens both in the kernel and libc.
For kernel code, previously mentioned sys/systm.h header needs to be includ=
ed.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244962-26505-BhneNhW7fX>