Changeset 99011 in vbox
- Timestamp:
- Mar 17, 2023 8:35:35 AM (23 months ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r98816 r99011 848 848 #ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS 849 849 int FromGuestDirEntryEx(PCGSTCTLDIRENTRYEX pDirEntryEx, const Utf8Str &strUser = "", const Utf8Str &strGroups = ""); 850 int FromGuestFsObjInfo(PCGSTCTLFSOBJINFO pFsObjInfo, const Utf8Str &strUser = "", const Utf8Str &strGroups = "", 851 const void *pvACL = NULL, size_t cbACL = 0); 850 int FromGuestFsObjInfo(PCGSTCTLFSOBJINFO pFsObjInfo, const Utf8Str &strUser = "", const Utf8Str &strGroups = ""); 852 851 #endif 853 852 -
trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp
r98816 r99011 157 157 * On Windows there can be multiple groups assigned. The groups are separated with ";" 158 158 * The first group found is always the primary group. 159 * @param pvACL ACL data associated with the object.160 * @param cbACL Size of ACL data (in bytes) associated with the object.161 159 */ 162 160 int GuestFsObjData::FromGuestFsObjInfo(PCGSTCTLFSOBJINFO pFsObjInfo, 163 const Utf8Str &strUser /* = "" */, const Utf8Str &strGroups /* = "" */, const void *pvACL /* = NULL */, size_t cbACL /* = 0 */) 164 { 165 RT_NOREF(pvACL, cbACL); 166 167 int vrc; 161 const Utf8Str &strUser /* = "" */, const Utf8Str &strGroups /* = "" */) 162 { 163 int vrc = VINF_SUCCESS; 168 164 169 165 mType = GuestBase::fileModeToFsObjType(pFsObjInfo->Attr.fMode); … … 243 239 mACL = ""; /** @todo Implement ACL handling. */ 244 240 245 return VINF_SUCCESS;241 return vrc; 246 242 } 247 243 #endif /* VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS */
Note:
See TracChangeset
for help on using the changeset viewer.