VirtualBox

Ignore:
Timestamp:
Mar 11, 2024 5:53:04 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162158
Message:

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

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

Location:
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c

    r98103 r103789  
    5555#include <iprt/mem.h>
    5656#include <iprt/string.h>
     57#include <VBox/VBoxLnxModInline.h>
    5758
    5859/*
     
    530531{
    531532    int rc;
     533
     534    /* Check if modue loading was disabled. */
     535    if (!vbox_mod_should_load())
     536        return -EINVAL;
     537
    532538    /*
    533539     * Initialize IPRT.
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp

    r103007 r103789  
    8888    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
    8989    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
     90    ${PATH_ROOT}/include/VBox/VBoxLnxModInline.h=>include/VBox/VBoxLnxModInline.h \
    9091    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c=>linux/VBoxNetAdp-linux.c \
    9192    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdp.c=>VBoxNetAdp.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