- Timestamp:
- Oct 26, 2016 4:57:32 PM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-darwin.cpp
r63516 r64432 984 984 if (IOUserClient::initWithTask(OwningTask, pvSecurityId , u32Type)) 985 985 { 986 /* 987 * In theory we have to call task_reference() to make sure that the task is 988 * valid during the lifetime of this object. The pointer is only used to check 989 * for the context this object is called in though and never dereferenced 990 * or passed to anything which might, so we just skip this step. 991 */ 986 992 m_Task = OwningTask; 987 993 m_pSession = NULL; -
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r63510 r64432 1660 1660 if (IOUserClient::initWithTask(OwningTask, pvSecurityId , u32Type)) 1661 1661 { 1662 /* 1663 * In theory we have to call task_reference() to make sure that the task is 1664 * valid during the lifetime of this object. The pointer is only used to check 1665 * for the context this object is called in though and never dereferenced 1666 * or passed to anything which might, so we just skip this step. 1667 */ 1662 1668 m_Task = OwningTask; 1663 1669 m_pSession = NULL; -
trunk/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSB.cpp
r63511 r64432 599 599 if (IOUserClient::initWithTask(OwningTask, pvSecurityId , u32Type)) 600 600 { 601 /* 602 * In theory we have to call task_reference() to make sure that the task is 603 * valid during the lifetime of this object. The pointer is only used to check 604 * for the context this object is called in though and never dereferenced 605 * or passed to anything which might, so we just skip this step. 606 */ 601 607 m_pProvider = NULL; 602 608 m_Task = OwningTask;
Note:
See TracChangeset
for help on using the changeset viewer.