VirtualBox

Ignore:
Timestamp:
Mar 11, 2024 5:50:25 PM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162157
Message:

Linux Additions: Add possiblity to prevent kernel modules from loading in kernel command line, bugref:8409.

Add to kernel command line either vboxguest.disabled=1 and/or vboxsf.disabled=1
and/or vboxvideo.disabled=1 in order to prevent certain module or all of them
from loading during system boot.

Location:
trunk/src/VBox/Additions/linux/sharedfolders
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf

    r103007 r103788  
    7474    ${PATH_ROOT}/include/VBox/VMMDev.h=>include/VBox/VMMDev.h \
    7575    ${PATH_ROOT}/include/VBox/VMMDevCoreTypes.h=>include/VBox/VMMDevCoreTypes.h \
     76    ${PATH_ROOT}/include/VBox/VBoxLnxModInline.h=>VBox/VBoxLnxModInline.h \
    7677    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInternal.h=>VBoxGuestR0LibInternal.h \
    7778    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibGenericRequest.cpp=>VBoxGuestR0LibGenericRequest.c \
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c

    r103067 r103788  
    6464# include <linux/parser.h>
    6565#endif
     66#include <VBox/VBoxLnxModInline.h>
    6667
    6768
     
    16211622    SFLOGFLOW(("vboxsf: init\n"));
    16221623
     1624    /* Check if modue loading was disabled. */
     1625    if (!vbox_mod_should_load())
     1626        return -EINVAL;
     1627
    16231628    /*
    16241629     * Must be paranoid about the vbsf_mount_info_new size.
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