VirtualBox

Changeset 11879 in vbox for trunk/src


Ignore:
Timestamp:
Aug 31, 2008 11:39:43 AM (16 years ago)
Author:
vboxsync
Message:

SUPDrv-linux: Re-enabled root check (#3076).

File:
1 edited

Legend:

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

    r11866 r11879  
    683683    Log(("VBoxDrvLinuxCreate: pFilp=%p pid=%d/%d %s\n", pFilp, RTProcSelf(), current->pid, current->comm));
    684684
    685 #ifdef VBOX_WITH_HARDENING
     685#ifndef VBOX_WITH_HARDENING
    686686    /*
    687687     * Only root is allowed to access the device, enforce it!
     
    690690    {
    691691        Log(("VBoxDrvLinuxCreate: euid=%d, expected 0 (root)\n", current->euid));
    692         // XXX: nike for whatever reason with this check VBox doesn't work correctly
    693         //return -EPERM;
     692        return -EPERM;
    694693    }
    695694#endif /* VBOX_WITH_HARDENING */
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