summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2011-11-18 17:36:06 +0000
committerchristos <christos@NetBSD.org>2011-11-18 17:36:06 +0000
commit722bb756f2d86849cb91d07736c26ab24401e2ed (patch)
tree51c8e6d41c6d8658b464ce1f05f9ef231eb4bf67 /sys/compat/linux
parent2dfde4916ac6a9721261c50df48ce525de1bb108 (diff)
remove one more kassert
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/common/linux_signal.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_signal.c b/sys/compat/linux/common/linux_signal.c
index 6d36ec93398..435a9984346 100644
--- a/sys/compat/linux/common/linux_signal.c
+++ b/sys/compat/linux/common/linux_signal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_signal.c,v 1.74 2011/11/18 15:45:47 christos Exp $ */
+/* $NetBSD: linux_signal.c,v 1.75 2011/11/18 17:36:06 christos Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.74 2011/11/18 15:45:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.75 2011/11/18 17:36:06 christos Exp $");
#define COMPAT_LINUX 1
@@ -553,6 +553,7 @@ linux_sys_rt_sigsuspend(struct lwp *l, const struct linux_sys_rt_sigsuspend_args
return (sigsuspend1(l, &bss));
}
+
static int
fetchss(const void *u, void *s, size_t len)
{
@@ -591,8 +592,6 @@ storeinfo(const void *s, void *u, size_t len)
{
struct linux_siginfo lsi;
- KASSERT(len == sizeof(lsi));
-
native_to_linux_siginfo(&lsi, &((const siginfo_t *)s)->_info);
return copyout(&lsi, u, sizeof(lsi));
}