Changeset 70828 in vbox
- Timestamp:
- Jan 31, 2018 12:59:34 PM (7 years ago)
- Location:
- trunk/src/VBox/HostServices/GuestProperties
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestProperties/service.cpp
r70727 r70828 276 276 bool checkHostReserved(const char *pszName) 277 277 { 278 if (RTStrStartsWith(pszName, "/VirtualBox/GuestAdd/")) 278 if (RTStrStartsWith(pszName, "/VirtualBox/GuestAdd/VBoxService/")) 279 return true; 280 if (RTStrStartsWith(pszName, "/VirtualBox/GuestAdd/PAM/")) 281 return true; 282 if (RTStrStartsWith(pszName, "/VirtualBox/GuestAdd/Greeter/")) 283 return true; 284 if (RTStrStartsWith(pszName, "/VirtualBox/GuestAdd/SharedFolders/")) 279 285 return true; 280 286 if (RTStrStartsWith(pszName, "/VirtualBox/HostInfo/")) -
trunk/src/VBox/HostServices/GuestProperties/testcase/tstGuestPropSvc.cpp
r70727 r70828 465 465 { "Green", "gone out...", "", true, false, false }, 466 466 { "/VirtualBox/GuestAdd/SharedFolders/MountDir", "test", "", false, true, false }, 467 { "/VirtualBox/GuestAdd/SomethingElse", "test", "", false, true, true }, 467 468 { "/VirtualBox/HostInfo/VRDP/Client/1/Name", "test", "", false, false, false }, 468 469 { "/VirtualBox/GuestAdd/SharedFolders/MountDir", "test", "", true, true, true }, … … 666 667 { "Green\0Go!\0READONLY", sizeof("Green\0Go!\0READONLY") }, 667 668 { "Blue\0What on earth...?\0", sizeof("Blue\0What on earth...?\0") }, 669 { "/VirtualBox/GuestAdd/SomethingElse\0test\0", 670 sizeof("/VirtualBox/GuestAdd/SomethingElse\0test\0") }, 668 671 { "/VirtualBox/GuestAdd/SharedFolders/MountDir\0test\0RDONLYGUEST", 669 672 sizeof("/VirtualBox/GuestAdd/SharedFolders/MountDir\0test\0RDONLYGUEST") },
Note:
See TracChangeset
for help on using the changeset viewer.