DTrace needs to be able to call do_sigaltstack() from its system call
stub code when we're trying to probe that system call. With the shift
to UEK4, that function was marked static.
Orabug:
20456825
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
void signals_init(void);
+int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long);
int restore_altstack(const stack_t __user *);
int __save_altstack(stack_t __user *, unsigned long);
return 0;
}
-static int
+int
do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long sp)
{
stack_t oss;