VirtualBox

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/HostDrivers/Support
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r35662 r36190  
    169169# define SUPDRV_USE_MUTEX_FOR_GIP
    170170#endif
     171#define SUPDRV_USE_MUTEX_FOR_LDR /* !!! DONT COMMIT THIS !!! */
    171172
    172173
  • trunk/src/VBox/HostDrivers/Support/freebsd/files_vboxdrv

    r35346 r36190  
    4343    ${PATH_ROOT}/include/iprt/initterm.h=>include/iprt/initterm.h \
    4444    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     45    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    4546    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    4647    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    7677    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
    7778    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
     79    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    7880    ${PATH_ROOT}/include/VBox/vmm/hwacc_vmx.h=>include/VBox/vmm/hwacc_vmx.h \
    7981    ${PATH_ROOT}/include/VBox/vmm/hwacc_svm.h=>include/VBox/vmm/hwacc_svm.h \
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r33033 r36190  
    263263
    264264# build defs
    265 EXTRA_CFLAGS  += $(INCL) $(KFLAGS) $(KDEBUG)
     265EXTRA_CFLAGS  += -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
    266266
    267267all: $(MODULE)
     
    304304
    305305endif # eq($(MAKECMDGOALS),clean)
     306
     307check: $(MODULE)
     308        @if ! readelf -p __ksymtab_strings vboxdrv.ko | grep -E "\[.*\]  *(RT|g_..*RT.*)"; then \
     309            echo "All exported IPRT symbols are properly renamed!"; \
     310         else \
     311            echo "error: Some exported IPRT symbols was not properly renamed! See above." >&2; \
     312            false; \
     313         fi
     314
  • trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv

    r35346 r36190  
    4444    ${PATH_ROOT}/include/iprt/lockvalidator.h=>include/iprt/lockvalidator.h \
    4545    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     46    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    4647    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    4748    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    7071    ${PATH_ROOT}/include/VBox/sup.h=>include/VBox/sup.h \
    7172    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
     73    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    7274    ${PATH_ROOT}/include/VBox/vmm/hwacc_vmx.h=>include/VBox/vmm/hwacc_vmx.h \
    7375    ${PATH_ROOT}/include/VBox/vmm/hwacc_svm.h=>include/VBox/vmm/hwacc_svm.h \
Note: See TracChangeset for help on using the changeset viewer.

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