VirtualBox

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


Ignore:
Timestamp:
Mar 7, 2011 4:28:50 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70394
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
Files:
7 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 \
  • trunk/src/VBox/Additions/linux/Makefile

    r33183 r36190  
    6060        fi
    6161
    62 
    6362install:
    6463        @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest install
     
    8079        rm -f vboxguest.*o vboxsf.*o vboxvideo.*o
    8180
     81check:
     82        @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest check
     83
    8284load:
    8385        @/sbin/rmmod vboxvideo || true
  • trunk/src/VBox/Additions/linux/drm/Makefile.module

    r32183 r36190  
    215215
    216216# build defs
    217 EXTRA_CFLAGS += $(INCL) $(KFLAGS) $(KDEBUG)
     217EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
    218218
    219219all: $(MODULE)
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module

    r33439 r36190  
    238238
    239239# build defs
    240 EXTRA_CFLAGS += $(INCL) $(KFLAGS) $(KDEBUG)
     240EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h  $(INCL) $(KFLAGS) $(KDEBUG)
    241241
    242242all: $(MODULE)
  • trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf

    r33439 r36190  
    2828    ${PATH_ROOT}/include/iprt/fs.h=>include/iprt/fs.h \
    2929    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     30    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3031    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3132    ${PATH_ROOT}/include/iprt/param.h=>include/iprt/param.h \
     
    4950    ${PATH_ROOT}/include/VBox/VBoxGuest2.h=>include/VBox/VBoxGuest2.h \
    5051    ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
     52    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    5153    ${PATH_ROOT}/include/VBox/VMMDev.h=>include/VBox/VMMDev.h \
    5254    ${PATH_ROOT}/include/VBox/VMMDev2.h=>include/VBox/VMMDev2.h \
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