VirtualBox

Ignore:
Timestamp:
Sep 4, 2008 11:23:06 PM (16 years ago)
Author:
vboxsync
Message:

#3076: Re-enabled the current->euid == 0 check in VBoxDrvLinuxCreate.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r12100 r12115  
    102102$(PATH_BIN)/src/Makefile: \
    103103                $(PATH_SUB_CURRENT)/linux/Makefile \
    104                 $$(if $$(eq $$(Support/linux/Makefile_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     104                $$(if $$(eq $$(Support/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    105105                | $(call DIRDEP,$(PATH_TARGET))
    106106        $(call MSG_TOOL,Creating,,$@)
    107 ifdef VBOX_WITH_HARDENING
     107ifndef VBOX_WITH_HARDENING
    108108        $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $<
    109109else
     
    111111endif
    112112        %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxmod-1.dep
    113         %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxmod-1.dep' 'Support/linux/Makefile_HARDENED=$(VBOX_WITH_HARDENING)'
     113        %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxmod-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'
    114114
    115115
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r12011 r12115  
    683683    Log(("VBoxDrvLinuxCreate: pFilp=%p pid=%d/%d %s\n", pFilp, RTProcSelf(), current->pid, current->comm));
    684684
    685 #if 0 /** @todo test this: #ifdef VBOX_WITH_HARDENING */
     685#ifdef VBOX_WITH_HARDENING
    686686    /*
    687687     * Only root is allowed to access the device, enforce it!
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