Changeset 23301 in vbox
- Timestamp:
- Sep 24, 2009 4:59:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c
r23293 r23301 660 660 661 661 /* 662 * Check kernel credentials. 663 * Protects us to a minor degree, is someone uses kcred besides us, this check is not sufficient. 662 * Check that the request was initiated by our code. 663 * 664 * This ASSUMES that crdup() will return a copy with a unique address and 665 * not do any kind of clever pooling. This check will when combined with 666 * g_VBoxNetFltSolarisMtx prevent races and that the instance gets 667 * associated with the wrong streams. 664 668 */ 665 669 if (pCred != g_pVBoxNetFltSolarisCred) … … 2073 2077 rc = RTSemFastMutexRequest(g_VBoxNetFltSolarisMtx); 2074 2078 AssertRCReturn(rc, rc); 2075 2079 2076 2080 if (fAttach) 2077 2081 {
Note:
See TracChangeset
for help on using the changeset viewer.