} mess_rs_pm_exec_restart;
_ASSERT_MSG_SIZE(mess_rs_pm_exec_restart);
+typedef struct {
+ pid_t pid;
+ int nr;
+
+ uint8_t padding[48];
+} mess_rs_pm_srv_kill;
+_ASSERT_MSG_SIZE(mess_rs_pm_srv_kill);
+
typedef struct {
dev_t device;
off_t seek_pos;
mess_pm_lsys_getprocnr m_pm_lsys_getprocnr;
mess_rs_pm_exec_restart m_rs_pm_exec_restart;
+ mess_rs_pm_srv_kill m_rs_pm_srv_kill;
mess_vfs_fs_breadwrite m_vfs_fs_breadwrite;
mess_vfs_fs_chmod m_vfs_fs_chmod;
message m;
memset(&m, 0, sizeof(m));
- m.PM_SIG_PID = pid;
- m.PM_SIG_NR = sig;
+ m.m_rs_pm_srv_kill.pid = pid;
+ m.m_rs_pm_srv_kill.nr = sig;
return _taskcall(PM_PROC_NR, PM_SRV_KILL, &m);
}
* to a system process. RS sends a SIGKILL when it wants to perform cleanup.
* In that case, ksig == TRUE forces PM to exit the process immediately.
*/
- return check_sig(m_in.PM_SIG_PID, m_in.PM_SIG_NR, TRUE /* ksig */);
+ return check_sig(m_in.m_rs_pm_srv_kill.pid, m_in.m_rs_pm_srv_kill.nr,
+ TRUE /* ksig */);
}
/*===========================================================================*