summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-18 21:29:16 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-12-20 00:07:40 +0100
commit5c49574ffd7ac07eae8c3b065d19e6ebc7e4760f (patch)
tree10c25476b152eca9917eea82fbecff28718eb2fc /include
parentunify SS_ONSTACK/SS_DISABLE definitions (diff)
downloadlinux-5c49574ffd7ac07eae8c3b065d19e6ebc7e4760f.tar.xz
linux-5c49574ffd7ac07eae8c3b065d19e6ebc7e4760f.zip
new helper: restore_altstack()
to be used by rt_sigreturn instances Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index e19a011b43b7..5969522136fe 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -385,4 +385,6 @@ int unhandled_signal(struct task_struct *tsk, int sig);
void signals_init(void);
+int restore_altstack(const stack_t __user *);
+
#endif /* _LINUX_SIGNAL_H */