VirtualBox

Changeset 36190 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Mar 7, 2011 4:28:50 PM (14 years ago)
Author:
vboxsync
Message:

IPRT,Drivers: Committed a modified version of the diff_linux_guest_host patch. This mangles the IPRT symbols in kernel space on linux and later other platforms.

Location:
trunk/src/VBox/Additions/common/VBoxGuest
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/freebsd/files_vboxguest

    r35430 r36190  
    3535    ${PATH_ROOT}/include/iprt/lockvalidator.h=>include/iprt/lockvalidator.h \
    3636    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     37    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3738    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3839    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    7071    ${PATH_ROOT}/include/VBox/VBoxGuest2.h=>include/VBox/VBoxGuest2.h \
    7172    ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
     73    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    7274    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
    7375    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile

    r33184 r36190  
    271271
    272272# build defs
    273 EXTRA_CFLAGS += $(INCL) $(KFLAGS) $(KDEBUG)
     273EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h  $(INCL) $(KFLAGS) $(KDEBUG)
    274274
    275275all: $(MODULE)
     
    288288
    289289endif # eq($(MAKECMDGOALS),clean)
     290
     291check: $(MODULE)
     292        @if ! readelf -p __ksymtab_strings vboxguest.ko | grep -E "\[.*\]  *(RT|g_..*RT.*)"; then \
     293            echo "All exported IPRT symbols are properly renamed!"; \
     294         else \
     295            echo "error: Some exported IPRT symbols was not properly renamed! See above." >&2; \
     296            false; \
     297         fi
    290298
    291299clean:
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest

    r33033 r36190  
    3535    ${PATH_ROOT}/include/iprt/lockvalidator.h=>include/iprt/lockvalidator.h \
    3636    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     37    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3738    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3839    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    6364    ${PATH_ROOT}/include/VBox/VBoxGuest2.h=>include/VBox/VBoxGuest2.h \
    6465    ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
     66    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    6567    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
    6668    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette