|
@@ -3454,6 +3454,23 @@ COMPAT_SYSCALL_DEFINE2(rt_sigsuspend, compat_sigset_t __user *, unewset, compat_
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_OLD_SIGSUSPEND
|
|
|
+SYSCALL_DEFINE1(sigsuspend, old_sigset_t, mask)
|
|
|
+{
|
|
|
+ sigset_t blocked;
|
|
|
+ siginitset(&blocked, mask);
|
|
|
+ return sigsuspend(&blocked);
|
|
|
+}
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_OLD_SIGSUSPEND3
|
|
|
+SYSCALL_DEFINE3(sigsuspend, int, unused1, int, unused2, old_sigset_t, mask)
|
|
|
+{
|
|
|
+ sigset_t blocked;
|
|
|
+ siginitset(&blocked, mask);
|
|
|
+ return sigsuspend(&blocked);
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
__attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma)
|
|
|
{
|
|
|
return NULL;
|