VirtualBox

Ignore:
Timestamp:
Jun 25, 2009 12:52:54 PM (16 years ago)
Author:
vboxsync
Message:

Additions/Linux/vboxadd: missing logging ioctl in release builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/vboxmod.c

    r19111 r20935  
    962962
    963963    /* Deal with variable size ioctls first. */
    964 #ifdef DEBUG  /* Only allow random user applications to spam the log in
    965                * debug additions builds */
    966964    if (   VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_LOG(0))
    967965        == VBOXGUEST_IOCTL_STRIP_SIZE(cmd))
     
    984982        }
    985983        if (0 == rc)
    986         {
     984            /* This only produces output in debug builds */
    987985            Log(("%.*s", _IOC_SIZE(cmd), pszMessage));
    988         }
    989986        if (NULL != pszMessage)
    990987        {
     
    993990        IOCTL_LOG_EXIT(arg);
    994991    }
    995     else
    996 #endif
    997     if (   VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_VMMREQUEST(0))
     992    else if (   VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_VMMREQUEST(0))
    998993             == VBOXGUEST_IOCTL_STRIP_SIZE(cmd))
    999994    {
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