VirtualBox

Changeset 104246 in vbox


Ignore:
Timestamp:
Apr 9, 2024 9:03:52 AM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162698
Message:

Installer/linux/vboxdrv.sh: VirtualBox was split a while back, so use VirtualBoxVM for testing for the set-uid-to-root/hardening stuff. bugref:10642

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r99550 r104246  
    8686    exit 0
    8787fi
    88 VIRTUALBOX="${INSTALL_DIR}/VirtualBox"
    8988VBOXMANAGE="${INSTALL_DIR}/VBoxManage"
    9089BUILDINTMP="${MODULE_SRC}/build_in_tmp"
    91 if test -u "${VIRTUALBOX}"; then
     90
     91# If the VirtualBoxVM file has the set-uid bit set or if it doesn't exist, setup vboxdrv
     92# in hardened mode.  Otherwise, do the developer mode using vboxusers for access control.
     93if test -u "${INSTALL_DIR}/VirtualBoxVM" || test '!' -e "${INSTALL_DIR}/VirtualBoxVM"; then
    9294    GROUP=root
    9395    DEVICE_MODE=0600
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