aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 887f2fefe207..f05f4c4150d9 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -3102,6 +3102,12 @@ do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long s
3102out: 3102out:
3103 return error; 3103 return error;
3104} 3104}
3105#ifdef CONFIG_GENERIC_SIGALTSTACK
3106SYSCALL_DEFINE2(sigaltstack,const stack_t __user *,uss, stack_t __user *,uoss)
3107{
3108 return do_sigaltstack(uss, uoss, current_user_stack_pointer());
3109}
3110#endif
3105 3111
3106int restore_altstack(const stack_t __user *uss) 3112int restore_altstack(const stack_t __user *uss)
3107{ 3113{