code style: change tabs to spaces

This commit is contained in:
Marek Marczykowski-Górecki 2013-12-27 05:51:17 +01:00
parent aa31c67e24
commit 0ca9e06877

View File

@ -36,18 +36,25 @@
#define QUBES_RPC_MAGIC_CMD "QUBESRPC" #define QUBES_RPC_MAGIC_CMD "QUBESRPC"
/* messages sent over control vchan between daemon(dom0) and agent(vm). The /* Messages sent over control vchan between daemon(dom0) and agent(vm).
* same are used between client(dom0) and daemon(dom0) */ * The same are used between client(dom0) and daemon(dom0).
*/
enum { enum {
/* daemon->agent messages */ /* daemon->agent messages */
/* start process in VM and pass its stdin/out/err to dom0 */
/* start process in VM and pass its stdin/out/err to dom0
* struct exec_params passed as data */
MSG_EXEC_CMDLINE = 0x200, MSG_EXEC_CMDLINE = 0x200,
/* start process in VM discarding its stdin/out/err (connect to /dev/null) */
/* start process in VM discarding its stdin/out/err (connect to /dev/null)
* struct exec_params passed as data */
MSG_JUST_EXEC, MSG_JUST_EXEC,
/* connect to existing process in VM to receive its stdin/out/err /* connect to existing process in VM to receive its stdin/out/err
* struct service_params passed as data */ * struct service_params passed as cmdline field in exec_params */
MSG_SERVICE_CONNECT, MSG_SERVICE_CONNECT,
/* refuse to start a service (denied by policy, invalid parameteres etc)
/* refuse to start a service (denied by policy, invalid parameters etc)
* struct service_params passed as data to identify which service call was * struct service_params passed as data to identify which service call was
* refused */ * refused */
MSG_SERVICE_REFUSED, MSG_SERVICE_REFUSED,
@ -90,7 +97,7 @@ enum {
MSG_DATA_STDOUT, MSG_DATA_STDOUT,
/* stderr VM->dom0 */ /* stderr VM->dom0 */
MSG_DATA_STDERR, MSG_DATA_STDERR,
/* VM process exit code VM->dom0 */ /* VM process exit code VM->dom0 (int) */
MSG_DATA_EXIT_CODE, MSG_DATA_EXIT_CODE,
}; };