[Bug 244962] emulators/virtualbox-ose-additions mount -t vboxsf Operation not supported by device

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 6 21:37:01 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244962

--- Comment #9 from Mateusz Guzik <mjg at 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, memcpy
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 included.

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


More information about the freebsd-emulation mailing list