VirtualBox

Ignore:
Timestamp:
May 14, 2013 8:55:24 AM (12 years ago)
Author:
vboxsync
Message:

Additions/solaris/vboxguest: convert to non-fatal error code on ioctl() failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.c

    r41722 r46052  
    697697         */
    698698        Log((DEVICE_NAME "::IOCtl: VBoxGuestCommonIOCtl failed. Cmd=%#x rc=%d\n", Cmd, rc));
     699        if (rc == VERR_PERMISSION_DENIED)   /* RTErrConvertToErrno() below will ring-0 debug assert if we don't do this. */
     700            rc = VERR_ACCESS_DENIED;
    699701        rc = RTErrConvertToErrno(rc);
    700702    }
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