VirtualBox

Ignore:
Timestamp:
Mar 11, 2024 5:50:25 PM (11 months ago)
Author:
vboxsync
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.

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