VirtualBox

Changeset 60110 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 20, 2016 2:18:44 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: prevent loading the kernel driver if any of the virtual consoles is in graphics mode to prevent conflicts with user-space drivers - commit a forgotten fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.c

    r60104 r60110  
    258258     * sure that we do not pick a fight with a user-mode driver or VESA. */
    259259    for (i = 0; i < MAX_NR_CONSOLES - 1; ++i)
    260         if (vc_cons[i].d->vc_mode == KD_GRAPHICS)
     260        if (vc_cons[i].d && vc_cons[i].d->vc_mode == KD_GRAPHICS)
    261261            return -EINVAL;
    262262
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