summaryrefslogtreecommitdiff
path: root/src/VBox/Additions/common/VBoxGuest
Commit message (Collapse)AuthorAgeFilesLines
* Guest Additions/VBoxService: Fixed HGCM parameter in ↵vboxsync2023-04-141-1/+1
| | | | | | VbglR3GuestCtrlFsObjCbQueryInfoEx(). bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99395 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Additions/Win: Distinguish between normal/privileged users in VBoxGuest.sys ↵vboxsync2023-04-101-1/+23
| | | | | | (see bugref:10363). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99365 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Implements IGuestSession::fsQueryInfo() and ↵vboxsync2023-04-031-4/+61
| | | | | | IGuestSession::fsQueryFreeSpace(). bugref:10414 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99262 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: More renaming; required for preparation of implementing ↵vboxsync2023-03-311-6/+6
| | | | | | querying guest file system information. bugref:10414 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99257 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: More renaming; required for preparation of implementing ↵vboxsync2023-03-311-2/+2
| | | | | | querying guest file system information. bugref:10414 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99256 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Renamed HOST_MSG_FS_QUERY_INFO -> HOST_MSG_FS_QUERY_INFO, to ↵vboxsync2023-03-311-4/+5
| | | | | | not confuse file system object information (files, directories, ++) with actual file system information. Required for preparation of implementing querying guest file system information. bugref:10414 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99253 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control/VbglR3: More bugfixes required for the initial patch given; ↵vboxsync2023-03-241-15/+14
| | | | | | re-ordered the arguments for the internal process startup info functions, so that these match the structure parameters order. bugref:8053 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99169 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control/VbglR3: Fixed getting directory handle in ↵vboxsync2023-03-231-1/+1
| | | | | | VbglR3GuestCtrlDirGetRewind(). bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99146 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Added ability of specifying an optional current working ↵vboxsync2023-03-221-4/+14
| | | | | | directory to started guest processes. This needs Guest Additions which support this. bugref:8053 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99120 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Docs nits. bugref:9783vboxsync2023-03-211-2/+4
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99088 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Added directory listing support via IDirectory::list(). Added ↵vboxsync2023-03-211-2/+69
| | | | | | (randomized) testcase support for it. bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99085 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Made the directory entry reading really dynamic by letting ↵vboxsync2023-03-021-10/+4
| | | | | | the guest tell us the size it reports to the guest (limited by GSTCTL_DIRENTRY_MAX_SIZE). Re-introduced the #pragma pack(1) because we need the structures on mixed bitness (32 / 64 or vice versa) with the same size. bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98824 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Specify the directory reading parameters (additional ↵vboxsync2023-03-021-12/+11
| | | | | | attributes + reading flags) when opening the directory calls, not on every directory entry read. Should save a few bytes on every read. bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98818 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Use two separate caches for UID / GID lookups, to avoid ↵vboxsync2023-03-021-3/+3
| | | | | | temporary string allocations. bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98817 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Removed the ACL data portion from the HGCM callback messages ↵vboxsync2023-03-021-19/+9
| | | | | | (as ACLs are not implemented yet). bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98813 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Fixed the Additions burns. bugref:9783vboxsync2023-03-011-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98804 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Implemented directory handling / walking as non-toolbox ↵vboxsync2023-02-241-27/+21
| | | | | | variants. bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98709 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Implemented the GuestSession::i_fsQueryInfo() + ↵vboxsync2023-02-211-2/+2
| | | | | | GuestSession::i_fsCreateTemp() calls. bugref:9783 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98665 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuest.inf,VBoxVideo.inf,Installer: Seems we need special versions of ↵vboxsync2023-02-182-1/+101
| | | | | | the .INF-files for windows 2000 and NT4, as these doesn't grok the comma stuff in the [Manufacturer] section. VBoxGuest works, VBoxVideo not so much on W2K. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98626 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VMMDev: The host does not _use_ the full-state-mouse-protocol, it either ↵vboxsync2023-02-101-3/+4
| | | | | | 'supports' or 'implements' it, going with the former: s/VMMDEV_MOUSE_HOST_USES_FULL_STATE_PROTOCOL/VMMDEV_MOUSE_HOST_SUPPORTS_FULL_STATE_PROTOCOL/ bugref:10285 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98542 cfe28804-0f27-0410-a406-dd0f0b0b656f
* add/VBoxGuest-linux.c: Corrected blank lines screwup in r154862. bugref:10285vboxsync2023-02-101-1/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98541 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Control: Initial commit (work in progress, disabled by default). ↵vboxsync2023-02-102-1/+558
| | | | | | | | | | | bugref:9783 IGuestDirectory: Added new attributes id + status + an own event source. Also added for rewind support via rewind(). New event types for guest directory [un]registration, state changes and entry reads. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98526 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT,/Config.kmk,Add/*.kmk: Drop int64.lib, use our own implementation from ↵vboxsync2023-02-081-1/+0
| | | | | | IPRT. bugref:10261 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98511 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Library: Introduce VbglR3DaemonizeEx and VbglR3PidfileWait (build fix ↵vboxsync2023-02-031-1/+1
| | | | | | 2), bugref:10359. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98475 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Library: Introduce VbglR3DaemonizeEx and VbglR3PidfileWait (fix ↵vboxsync2023-02-031-0/+1
| | | | | | build), bugref:10359. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98473 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Guest Library: Introduce VbglR3DaemonizeEx and VbglR3PidfileWait, bugref:10359.vboxsync2023-02-032-9/+103
| | | | | | | | | | | | | | | | | | VbglR3DaemonizeEx is a wrapper function for VbglR3Daemonize. In addition to the original version it sets pidfile lock for the parent process and notifies caller when child process terminates with exit status VBGLR3EXITCODERELOAD (currently equal to 2) indicating that parent process should release its reference to vboxguest kernel module and wait for SIGUSR2 in order to restart itself. This is a part of the procedure to install and reload/restart Guest Additions kernel modules and user services without requiring guest reboot. It is currently only has effect on X11 guests. VbglR3PidfileWait is a wrapper function for VbglR3Pidfile. In addition to the original version, it waits specified amount of time until pidfile lock become available or fails on timeout. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98472 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Additions/*.kmk: Automatic scm cleanups. bugref:10348vboxsync2023-02-013-64/+64
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98416 cfe28804-0f27-0410-a406-dd0f0b0b656f
* /Config.kmk, Additions/*.inf: Always qualify the key installer sections with ↵vboxsync2023-01-251-4/+2
| | | | | | the architecture. Plus some cleanups reducing naming randomness and platform dependent lines. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98308 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VbglR3: Applied same VERR_WRONG_PARAMETER_TYPE and always setting the ↵vboxsync2023-01-222-3/+5
| | | | | | return value logic to VbglHGCMParmUInt32Get and VbglHGCMParmUInt64Get. bugref:10348 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98218 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *.kmk: s/VBOXGUESTR3XF86MOD/VBoxGuestR3XFree86Mod/ ↵vboxsync2023-01-221-2/+2
| | | | | | s/VBOXGUESTR3XF86LIB/VBoxGuestR3XFree86Lib/ s/VBOXGUESTR3XORGMOD/VBoxGuestR3XOrgMod/ s/VBOXGUESTR3XORGLIB/VBoxGuestR3XOrgLib/ bugref:10348 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98214 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *.kmk: s/VBOXGUESTR3LIB/VBoxGuestR3Lib/ bugref:10348vboxsync2023-01-221-6/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98210 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *.kmk: s/VBOXGUESTR3DLL/VBoxGuestR3Dll/ bugref:10348vboxsync2023-01-221-8/+4
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98206 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *.kmk: s/VBOXR3TSTEXE/VBoxR3TstExe/ bugref:10348vboxsync2023-01-201-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98169 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *.kmk: s/VBOXGUESTR0LIB/VBoxGuestR0DrvLib/ s/VBOXGUESTR0/VBoxGuestR0Drv/ ↵vboxsync2023-01-192-6/+6
| | | | | | bugref:10348 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98126 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Copyright year updates by scm.vboxsync2023-01-1781-81/+81
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98103 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Made it possible to use RTR0MemObjFree ↵vboxsync2023-01-021-3/+58
| | | | | | instead of RTMemContFree (disabled everywhere). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97943 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: More cleanups, eliminating unecessary macros ↵vboxsync2023-01-022-59/+64
| | | | | | and other stuff. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97940 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Renamed some members and variables, no code ↵vboxsync2023-01-021-59/+59
| | | | | | change. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97938 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Reworked the block management so we can ↵vboxsync2023-01-023-316/+491
| | | | | | merge with both the preceeding and succeeding blocks when freeing, rather than having expensive hacks for doing this. This raises the minimum alocation to sizeof(uintptr_t) * 2, which makes not differences to the heap users which has a minimum allocation size of 24 bytes. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97937 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Simplify link handling by adding an array ↵vboxsync2022-12-312-42/+38
| | | | | | access to the free and alloc block lists. Also, set the mutex handle to NIL after destruction. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97930 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Removed unused inline function offending clang.vboxsync2022-12-311-14/+14
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97929 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Modified the free list search to stop when ↵vboxsync2022-12-311-3/+41
| | | | | | it encounters a free block so large it will probably be quicker to just split it than hope to find a perfect-ish free list match. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97928 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Added some crude code to occasionally scan ↵vboxsync2022-12-311-10/+66
| | | | | | chunks and merge adjacent free blocks when there. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97927 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Restrict the number of free list entries we ↵vboxsync2022-12-302-35/+55
| | | | | | consider during allocation to prevent pointless search for a perfect match in a busy and fragmented heap. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97926 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Use the term 'unlink' rather than 'exclude' ↵vboxsync2022-12-301-22/+24
| | | | | | for removing a block/chunk from a linked list. Docs updates. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97925 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Same for VbglR0PhysHeapAlloc and made ↵vboxsync2022-12-301-49/+43
| | | | | | VbglR0PhysHeapFree properly invalidate the neighbour block after merging with it. Cleanups. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97924 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Made VbglR0PhysHeapFree and ↵vboxsync2022-12-302-100/+127
| | | | | | VbglR0PhysHeapGetPhysAddr more strict wrt input. Cleanups. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97923 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Build fix.vboxsync2022-12-301-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97922 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuestR0LibPhysHeap.cpp: Count both kind of blocks both on heap and ↵vboxsync2022-12-303-39/+134
| | | | | | chunk level. This is in preparation for a workaround for VbglR0PhysHeapFree not merging with the block before the one that getting freed. Completed the vbglR0PhysHeapCheckLocked code. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97921 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add/VBoxGuest/lib/testcase: scm fixvboxsync2022-12-301-1/+0
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97920 cfe28804-0f27-0410-a406-dd0f0b0b656f