[CRIU] [PATCH 2/8] x86: syscalls -- Add sys_sigaltstack

Cyrill Gorcunov gorcunov at openvz.org
Mon Jun 17 12:47:42 EDT 2013


Will need it to retrieve signal stack parameters.
Note for simplicty I declared the syscall having
void * arguments, while libc has it as stack_t *.
This need to be cleaned up one day (because
we use similar structure for sigframe definition
and need to merge both definitions down).

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/x86/syscall-x86-64.def | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/syscall-x86-64.def b/arch/x86/syscall-x86-64.def
index 4888b39..a072a72 100644
--- a/arch/x86/syscall-x86-64.def
+++ b/arch/x86/syscall-x86-64.def
@@ -61,6 +61,7 @@ __NR_setfsgid		123		sys_setfsgid		(int fsgid)
 __NR_getsid		124		sys_getsid		(void)
 __NR_capset		126		sys_capset		(struct cap_header *h, struct cap_data *d)
 __NR_rt_sigqueueinfo	129		sys_rt_sigqueueinfo	(pid_t pid, int sig, siginfo_t *info)
+__NR_sigaltstack	131		sys_sigaltstack		(const void *uss, void *uoss)
 __NR_personality	135		sys_personality		(unsigned int personality)
 __NR_setpriority	141		sys_setpriority		(int which, int who, int nice)
 __NR_sched_setscheduler	144		sys_sched_setscheduler	(int pid, int policy, struct sched_param *p)
-- 
1.8.1.4



More information about the CRIU mailing list