new helpers: __save_altstack/__compat_save_altstack, switch x86 and um to those

note that they are relying on access_ok() already checked by caller.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2012-11-20 14:24:26 -05:00
parent 9026843952
commit c40702c49f
6 changed files with 25 additions and 25 deletions

View file

@ -386,5 +386,6 @@ int unhandled_signal(struct task_struct *tsk, int sig);
void signals_init(void);
int restore_altstack(const stack_t __user *);
int __save_altstack(stack_t __user *, unsigned long);
#endif /* _LINUX_SIGNAL_H */