VirtualBox

Changeset 30850 in vbox for trunk/src/VBox/Devices/testcase


Ignore:
Timestamp:
Jul 14, 2010 5:41:01 PM (15 years ago)
Author:
vboxsync
Message:

VMMDev: Addressed little paranoia issue introduced by r63480. That change made the VMMDev R0/RC capable which means the instance data would be allocated on the hypervisor heap. That heap theorecially be read by privileged guest code, so we shouldn't store any secrets there. Since the information is accessible via VMMDevReq_QueryCredentials this is mostsly academical paranoia.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp

    r30772 r30850  
    11/* $Id$ */
    22/** @file
    3  * tstDeviceStructSizeGC - Generate structure member and size checks from the GC perspective.
     3 * tstDeviceStructSizeGC - Generate structure member and size checks from the RC perspective.
    44 *
    55 * This is built using the VBoxRc template but linked into a host
     
    88
    99/*
    10  * Copyright (C) 2006-2008 Oracle Corporation
     10 * Copyright (C) 2006-2010 Oracle Corporation
    1111 *
    1212 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    14511451    GEN_CHECK_OFF(VMMDevState, u32VideoAccelEnabled);
    14521452    GEN_CHECK_OFF(VMMDevState, displayChangeData);
    1453     GEN_CHECK_OFF(VMMDevState, credentialsLogon);
    1454     GEN_CHECK_OFF(VMMDevState, credentialsLogon.szUserName);
    1455     GEN_CHECK_OFF(VMMDevState, credentialsLogon.szPassword);
    1456     GEN_CHECK_OFF(VMMDevState, credentialsLogon.szDomain);
    1457     GEN_CHECK_OFF(VMMDevState, credentialsLogon.fAllowInteractiveLogon);
    1458     GEN_CHECK_OFF(VMMDevState, credentialsJudge);
    1459     GEN_CHECK_OFF(VMMDevState, credentialsJudge.szUserName);
    1460     GEN_CHECK_OFF(VMMDevState, credentialsJudge.szPassword);
    1461     GEN_CHECK_OFF(VMMDevState, credentialsJudge.szDomain);
     1453    GEN_CHECK_OFF(VMMDevState, pCredentials);
    14621454    GEN_CHECK_OFF(VMMDevState, u32MemoryBalloonSize);
    14631455    GEN_CHECK_OFF(VMMDevState, u32LastMemoryBalloonSize);
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