Message type for PM_{KILL,SIGACTION}
Change-Id: I7fac9a894e319671e12bfa7430984ca1cf24da33
This commit is contained in:
@@ -61,13 +61,6 @@
|
||||
|
||||
#define NR_PM_CALLS 48 /* highest number from base plus one */
|
||||
|
||||
/* Field names for the kill(2), srv_kill(2), and sigaction(2) calls. */
|
||||
#define PM_SIG_PID m1_i1 /* pid_t */
|
||||
#define PM_SIG_NR m1_i2 /* int */
|
||||
#define PM_SIG_ACT m1_p1 /* const struct sigaction * */
|
||||
#define PM_SIG_OACT m1_p2 /* struct sigaction * */
|
||||
#define PM_SIG_RET m1_p3 /* int (*)(void) */
|
||||
|
||||
/*===========================================================================*
|
||||
* Calls to VFS *
|
||||
*===========================================================================*/
|
||||
|
||||
@@ -251,6 +251,17 @@ typedef struct {
|
||||
} mess_lc_pm_sysuname;
|
||||
_ASSERT_MSG_SIZE(mess_lc_pm_sysuname);
|
||||
|
||||
typedef struct {
|
||||
pid_t pid;
|
||||
int nr;
|
||||
vir_bytes act; /* const struct sigaction * */
|
||||
vir_bytes oact; /* struct sigaction * */
|
||||
vir_bytes ret; /* int (*)(void) */
|
||||
|
||||
uint8_t padding[36];
|
||||
} mess_lc_pm_sig;
|
||||
_ASSERT_MSG_SIZE(mess_lc_pm_sig);
|
||||
|
||||
typedef struct {
|
||||
int how;
|
||||
vir_bytes ctx;
|
||||
@@ -1117,6 +1128,7 @@ typedef struct {
|
||||
mess_lc_pm_reboot m_lc_pm_reboot;
|
||||
mess_lc_pm_setgid m_lc_pm_setgid;
|
||||
mess_lc_pm_setuid m_lc_pm_setuid;
|
||||
mess_lc_pm_sig m_lc_pm_sig;
|
||||
mess_lc_pm_sigset m_lc_pm_sigset;
|
||||
mess_lc_pm_sysuname m_lc_pm_sysuname;
|
||||
mess_lc_pm_time m_lc_pm_time;
|
||||
|
||||
Reference in New Issue
Block a user