VirtualBox

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

File:
1 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()));
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