VirtualBox

Changeset 83405 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Mar 25, 2020 12:45:01 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136622
Message:

Guest Control/Main + VBoxService: Resolved another @todo: Added ability for guest processes to use argv[0] independently of the actual execution command. bugref:9320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r82968 r83405  
    139139     * The host wants to execute something in the guest. This can be a command
    140140     * line or starting a program.
    141      * @note Legacy (VBox < 4.3) message.
    142141     */
    143142    HOST_MSG_EXEC_CMD = 100,
    144143    /**
    145144     * Sends input data for stdin to a running process executed by HOST_EXEC_CMD.
    146      * @note Legacy (VBox < 4.3) message.
    147145     */
    148146    HOST_MSG_EXEC_SET_INPUT = 101,
     
    150148     * Gets the current status of a running process, e.g.
    151149     * new data on stdout/stderr, process terminated etc.
    152      * @note Legacy (VBox < 4.3) message.
    153150     */
    154151    HOST_MSG_EXEC_GET_OUTPUT = 102,
     
    692689 * @{ */
    693690/** Supports HOST_MSG_FILE_SET_SIZE. */
    694 #define VBOX_GUESTCTRL_GF_0_SET_SIZE     RT_BIT_64(0)
     691#define VBOX_GUESTCTRL_GF_0_SET_SIZE                RT_BIT_64(0)
     692/** Supports (fixes) treating argv[0] separately from the actual execution command.
     693 *  Without this flag the actual execution command is taken as argv[0]. */
     694#define VBOX_GUESTCTRL_GF_0_PROCESS_ARGV0           RT_BIT_64(1)
    695695/** Bit that must be set in the 2nd parameter, will be cleared if the host reponds
    696696 * correctly (old hosts might not). */
    697 #define VBOX_GUESTCTRL_GF_1_MUST_BE_ONE RT_BIT_64(63)
     697#define VBOX_GUESTCTRL_GF_1_MUST_BE_ONE             RT_BIT_64(63)
    698698/** @} */
    699699
     
    704704 *  GUEST_FILE_NOTIFYTYPE_WRITE_OFFSET notification types. */
    705705#define VBOX_GUESTCTRL_HF_0_NOTIFY_RDWR_OFFSET      RT_BIT_64(0)
     706/** Host supports sending (treating) argv[0] separately from the actual execution command.
     707 *  Needed when newer Guest Additions which support VBOX_GUESTCTRL_GF_0_PROCESS_ARGV0 run on an older
     708 *  host which doesn't in turn support VBOX_GUESTCTRL_HF_0_PROCESS_ARGV0. */
     709#define VBOX_GUESTCTRL_HF_0_PROCESS_ARGV0           RT_BIT_64(1)
    706710/** @} */
    707711
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette