VirtualBox

Changeset 44594 in vbox


Ignore:
Timestamp:
Feb 8, 2013 8:53:41 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83672
Message:

HostDrivers, Installer/linux: properly handle the unrestricted device

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r44528 r44594  
    485485#ifdef VBOX_WITH_HARDENING
    486486    /*
    487      * Only root is allowed to access the device, enforce it!
    488      */
    489     if (vboxdrvLinuxEuid() != 0 /* root */ )
     487     * Only root is allowed to access the unrestricted device, enforce it!
     488     */
     489    if (   fUnrestricted
     490        && vboxdrvLinuxEuid() != 0 /* root */ )
    490491    {
    491492        Log(("VBoxDrvLinuxCreate: euid=%d, expected 0 (root)\n", vboxdrvLinuxEuid()));
  • trunk/src/VBox/Installer/linux/installer-common.sh

    r39416 r44594  
    2626
    2727    echo "KERNEL==\"vboxdrv\", NAME=\"vboxdrv\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\""
     28    echo "KERNEL==\"vboxdrvu\", NAME=\"vboxdrvu\", OWNER=\"root\", GROUP=\"root\", MODE=\"0666\""
    2829    echo "KERNEL==\"vboxnetctl\", NAME=\"vboxnetctl\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\""
    2930}
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