vshost-util-vserver

Build script and sources for util-vserver.
git clone https://ccx.te2000.cz/git/vshost-util-vserver
Log | Files | Refs

signal_cmd.h (535B)


      1 #ifndef _VX_SIGNAL_CMD_H
      2 #define _VX_SIGNAL_CMD_H
      3 
      4 
      5 /*  signalling vserver commands */
      6 
      7 #define VCMD_ctx_kill		VC_CMD(PROCTRL, 1, 0)
      8 #define VCMD_wait_exit		VC_CMD(EVENT, 99, 0)
      9 
     10 struct	vcmd_ctx_kill_v0 {
     11 	int32_t pid;
     12 	int32_t sig;
     13 };
     14 
     15 struct	vcmd_wait_exit_v0 {
     16 	int32_t reboot_cmd;
     17 	int32_t exit_code;
     18 };
     19 
     20 
     21 /*  process alteration commands */
     22 
     23 #define VCMD_get_pflags		VC_CMD(PROCALT, 5, 0)
     24 #define VCMD_set_pflags		VC_CMD(PROCALT, 6, 0)
     25 
     26 struct	vcmd_pflags_v0 {
     27 	uint32_t flagword;
     28 	uint32_t mask;
     29 };
     30 
     31 #endif	/* _VX_SIGNAL_CMD_H */