Feb 12 23:09:55 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.38 2015/01/15 16:31:05 christos Exp $ */
+/* $NetBSD: bpfjit.c,v 1.39 2015/02/12 23:09:55 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0
Module Name:src
Committed By: alnsn
Date: Wed Feb 11 19:37:37 UTC 2015
Modified Files:
src/tests/net/bpfilter: t_bpfilter.c
Log Message:
Add bpfilterbadjmp and bpfilterbadret tests.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
2015
+++ src/tests/net/bpfjit/t_bpfjit.c Wed Feb 11 23:29:48 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.5 2015/02/11 22:37:55 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.6 2015/02/11 23:29:48 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov.
@@ -27,7 +27,7
/t_bpfjit.c:1.8 Thu Nov 20 11:08:29 2014
+++ src/tests/lib/libbpfjit/t_bpfjit.c Wed Feb 11 23:00:41 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.8 2014/11/20 11:08:29 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.9 2015/02/11 23:00:41 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander
:1.10 Wed Feb 11 23:17:16 2015
+++ src/tests/lib/libbpfjit/t_bpfjit.c Wed Feb 11 23:33:16 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.10 2015/02/11 23:17:16 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.11 2015/02/11 23:33:16 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov
Wed Feb 11 23:00:41 2015
+++ src/tests/lib/libbpfjit/t_bpfjit.c Wed Feb 11 23:17:16 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.9 2015/02/11 23:00:41 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.10 2015/02/11 23:17:16 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov
Module Name:src
Committed By: alnsn
Date: Wed Feb 11 23:39:07 UTC 2015
Modified Files:
src/tests/net/bpfilter: t_bpfilter.c
Log Message:
Add bpfilternegjmp test.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/net/bpfilter/t_bpfilter.c
Please
/t_bpfjit.c:1.4 Thu Nov 20 11:36:13 2014
+++ src/tests/net/bpfjit/t_bpfjit.c Wed Feb 11 22:37:55 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.4 2014/11/20 11:36:13 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.5 2015/02/11 22:37:55 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov
Module Name:src
Committed By: alnsn
Date: Wed Feb 11 12:03:30 UTC 2015
Modified Files:
src/sys/net: bpf_filter.c
Log Message:
It's not enough to check that a class of the last instruction is BPF_RET.
The opcodes in bpf_validate() must match opcodes understood by
Module Name:src
Committed By: alnsn
Date: Wed Feb 11 12:53:15 UTC 2015
Modified Files:
src/sys/net: bpf_filter.c
Log Message:
Fix the build.
To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/net/bpf_filter.c
Please note that diffs are not public
:1.7 Wed Nov 19 22:56:35 2014
+++ src/tests/lib/libbpfjit/t_bpfjit.c Thu Nov 20 11:08:29 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.7 2014/11/19 22:56:35 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.8 2014/11/20 11:08:29 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov
:00:12 2014
+++ src/tests/net/bpfjit/t_bpfjit.c Thu Nov 20 11:36:13 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.3 2014/11/19 23:00:12 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.4 2014/11/20 11:36:13 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov.
@@ -27,7 +27,7
20 14:35:01 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.33 2014/11/19 19:34:43 christos Exp $ */
+/* $NetBSD: bpfjit.c,v 1.34 2014/11/20 14:35:01 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0
:1.35
--- src/sys/net/bpfjit.c:1.34 Thu Nov 20 14:35:01 2014
+++ src/sys/net/bpfjit.c Thu Nov 20 19:18:52 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.34 2014/11/20 14:35:01 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.35 2014/11/20 19:18:52 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander
@@
-/* $NetBSD: bpfjit.c,v 1.35 2014/11/20 19:18:52 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.36 2014/11/20 20:31:22 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.35 2014/11/20 19:18:52
2014
+++ src/tests/lib/libbpfjit/t_bpfjit.c Wed Nov 19 22:56:35 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.6 2014/07/08 21:07:52 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.7 2014/11/19 22:56:35 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov.
@@ -30,7 +30,7
/tests/net/bpfjit/t_bpfjit.c Wed Nov 19 23:00:12 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: t_bpfjit.c,v 1.2 2014/07/08 21:44:26 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.3 2014/11/19 23:00:12 alnsn Exp $ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov.
@@ -27,7 +27,7 @@
*/
#include sys
Module Name:src
Committed By: alnsn
Date: Mon Jul 28 07:32:46 UTC 2014
Modified Files:
src/sys/net: bpf.c
Log Message:
Enable net.bpf.jit only if MODULAR and BPFJIT. Tweak a warning about postponed
jit activation.
To generate a diff of this commit:
cvs rdiff -u -r1.185
: bpfjit.c,v 1.32 2014/07/26 11:23:46 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.31 2014/07/24 22:54:38 alnsn Exp $);
+__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.32 2014/07/26 11:23:46
Module Name:src
Committed By: alnsn
Date: Sat Jul 26 21:07:45 UTC 2014
Modified Files:
src/sys/external/bsd/sljit/sljit: sljit_mod.c
Log Message:
Don't destroy mutexes because the module can't be unload.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3
@@
+.\ -*- nroff -*-
+.\
+.\ $NetBSD: bpfjit.4,v 1.1 2014/07/24 21:08:50 alnsn Exp $
+.\
+.\ Copyright (c) 2014 Alexander Nasonov.
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
Module Name:src
Committed By: alnsn
Date: Thu Jul 24 21:10:26 UTC 2014
Modified Files:
src/share/man/man4: bpf.4
Log Message:
Use .Sy for 'Just-In-Time', add a reference to bpfjit(4).
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/share/man/man4/bpf.4
/net/bpfjit.c Thu Jul 24 22:54:38 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.30 2014/07/22 08:29:51 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.31 2014/07/24 22:54:38 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
/null Wed Jul 23 07:16:14 2014
+++ src/sys/rump/kern/lib/libsljit/arch/arm/cpufunc.c Wed Jul 23 07:16:14 2014
@@ -0,0 +1,52 @@
+/* $NetBSD: cpufunc.c,v 1.1 2014/07/23 07:16:14 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use
/bpfjit.c Tue Jul 22 08:20:08 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.28 2014/07/13 21:54:46 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.29 2014/07/22 08:20:08 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
--- src/sys/net/bpfjit.c:1.29 Tue Jul 22 08:20:08 2014
+++ src/sys/net/bpfjit.c Tue Jul 22 08:29:51 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.29 2014/07/22 08:20:08 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.30 2014/07/22 08:29:51 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov
Module Name:src
Committed By: alnsn
Date: Tue Jul 22 19:54:55 UTC 2014
Modified Files:
src/sys/arch/mips/include: sljitarch.h
Log Message:
Define SLJIT_CACHE_FLUSH() for mips.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
/sljitarch.h:1.1 Tue Jun 17 06:36:39 2014
+++ src/sys/arch/arm/include/sljitarch.h Tue Jul 22 20:16:39 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: sljitarch.h,v 1.1 2014/06/17 06:36:39 alnsn Exp $ */
+/* $NetBSD: sljitarch.h,v 1.2 2014/07/22 20:16:39 alnsn Exp $ */
/*-
* Copyright (c) 2014 Alexander Nasonov
Module Name:src
Committed By: alnsn
Date: Tue Jul 22 20:19:57 UTC 2014
Modified Files:
src/distrib/sets/lists/comp: md.cobalt md.pmax
src/sys/arch/cobalt/include: Makefile
src/sys/arch/pmax/include: Makefile
Added Files:
src/sys/arch/cobalt/include:
@@
+/* $NetBSD: sljit_rump.h,v 1.1 2014/07/22 20:25:13 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
Module Name:src
Committed By: alnsn
Date: Tue Jul 22 20:41:37 UTC 2014
Modified Files:
src/sys/arch/sparc/include: sljitarch.h
Log Message:
Cast to sparc_cache_flush() argument types. This change makes it clear
thatr sparc_cache_flush() is defined by sljit (unlike other
Module Name:src
Committed By: alnsn
Date: Tue Jul 22 20:38:55 UTC 2014
Modified Files:
src/sys/arch/powerpc/include: sljitarch.h
Log Message:
Cast to __syncicache() argument types.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3
Module Name:src
Committed By: alnsn
Date: Sun Jul 20 10:06:11 UTC 2014
Modified Files:
src/sys/arch/algor/conf: P4032 P5064 P6032
src/sys/arch/arc/conf: ARCTIC GENERIC M403 MIMORI PICA RPC44
src/sys/arch/cobalt/conf: GENERIC INSTALL
Module Name:src
Committed By: alnsn
Date: Sun Jul 20 10:22:55 UTC 2014
Modified Files:
src/sys/arch/algor/conf: files.algor
src/sys/arch/arc/conf: files.arc
src/sys/arch/cobalt/conf: files.cobalt
src/sys/arch/evbmips/conf: files.adm5120
Module Name:src
Committed By: alnsn
Date: Sat Jul 19 14:35:10 UTC 2014
Modified Files:
src/distrib/sets/lists/comp: md.emips md.mipsco
src/sys/arch/emips/include: Makefile
src/sys/arch/mipsco/include: Makefile
Removed Files:
Module Name:src
Committed By: alnsn
Date: Fri Jul 18 19:38:02 UTC 2014
Modified Files:
src/sys/external/bsd/sljit/dist/sljit_src: sljitConfig.h
Log Message:
Disable FPU in kernel space.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
Module Name:src
Committed By: alnsn
Date: Mon Jul 14 10:36:33 UTC 2014
Removed Files:
src/lib/librumpuser: rumpuser_cache.c
Log Message:
Remove unused file.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/lib/librumpuser/rumpuser_cache.c
Please note that
:1.2 Tue Jul 8 21:13:01 2014
+++ src/tests/lib/libbpfjit/t_extmem.c Mon Jul 14 19:11:15 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: t_extmem.c,v 1.2 2014/07/08 21:13:01 alnsn Exp $ */
+/* $NetBSD: t_extmem.c,v 1.3 2014/07/14 19:11:15 alnsn Exp $ */
/*-
* Copyright (c) 2014 Alexander Nasonov.
@@ -30,7
:1.26 Sat Jul 12 20:14:18 2014
+++ src/sys/net/bpfjit.c Sun Jul 13 18:48:27 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.26 2014/07/12 20:14:18 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.27 2014/07/13 18:48:27 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9
Exp $ */
/*-
* Copyright (c) 2013-2014 Alexander Nasonov.
@@ -30,7 +30,7 @@
*/
#include sys/cdefs.h
-__RCSID($NetBSD: t_cop.c,v 1.3 2014/07/08 21:13:01 alnsn Exp $);
+__RCSID($NetBSD: t_cop.c,v 1.4 2014/07/13 21:35:33 alnsn Exp $);
#include atf-c.h
#include stdint.h
@@ -296,6 +296,45
/net/bpfjit.c Sun Jul 13 21:54:46 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.27 2014/07/13 18:48:27 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.28 2014/07/13 21:54:46 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
/sys/net/bpfjit.c:1.23 Fri Jul 11 20:43:33 2014
+++ src/sys/net/bpfjit.c Sat Jul 12 16:13:57 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.23 2014/07/11 20:43:33 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.24 2014/07/12 16:13:57 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov
:52:57 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.24 2014/07/12 16:13:57 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.25 2014/07/12 16:52:57 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD
/bpfjit.c:1.25 Sat Jul 12 16:52:57 2014
+++ src/sys/net/bpfjit.c Sat Jul 12 20:14:18 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.25 2014/07/12 16:52:57 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.26 2014/07/12 20:14:18 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9
$ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.22 2014/07/08 11:30:31 alnsn Exp $);
+__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.23 2014/07/11 20:43:33 alnsn Exp $);
#else
-__RCSID($NetBSD: bpfjit.c,v 1.22
Module Name:src
Committed By: alnsn
Date: Fri Jul 11 22:33:03 UTC 2014
Modified Files:
src/doc: 3RDPARTY
Log Message:
Current wpa_supplicant version is 2.2, released 2014-06-04.
To generate a diff of this commit:
cvs rdiff -u -r1.1132 -r1.1133 src/doc/3RDPARTY
Please
/tests/net/bpfjit/t_cop.c Wed Jul 9 13:49:49 2014
@@ -0,0 +1,664 @@
+/* $NetBSD: t_cop.c,v 1.1 2014/07/09 13:49:49 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
Module Name:src
Committed By: alnsn
Date: Wed Jul 9 13:50:48 UTC 2014
Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/net/bpfjit: Makefile
Log Message:
Add t_cop and t_extmem kernel bpfjit tests to the build.
:49 2014
+++ src/tests/net/bpfjit/t_cop.c Wed Jul 9 15:56:12 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: t_cop.c,v 1.1 2014/07/09 13:49:49 alnsn Exp $ */
+/* $NetBSD: t_cop.c,v 1.2 2014/07/09 15:56:12 alnsn Exp $ */
/*-
* Copyright (c) 2014 Alexander Nasonov.
@@ -30,7 +30,7 @@
*/
#include sys/cdefs.h
Jul 8 11:30:31 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.21 2014/07/05 11:13:13 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.22 2014/07/08 11:30:31 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0
$ */
/*-
* Copyright (c) 2011-2012, 2014 Alexander Nasonov.
@@ -30,7 +30,7 @@
*/
#include sys/cdefs.h
-__RCSID($NetBSD: t_bpfjit.c,v 1.5 2014/06/24 10:53:30 alnsn Exp $);
+__RCSID($NetBSD: t_bpfjit.c,v 1.6 2014/07/08 21:07:52 alnsn Exp $);
#include atf-c.h
#include stdint.h
@@ -56,28 +56,28 @@ unsigned
) 2013-2014 Alexander Nasonov.
@@ -30,7 +30,7 @@
*/
#include sys/cdefs.h
-__RCSID($NetBSD: t_cop.c,v 1.2 2014/06/25 18:16:40 alnsn Exp $);
+__RCSID($NetBSD: t_cop.c,v 1.3 2014/07/08 21:13:01 alnsn Exp $);
#include atf-c.h
#include stdint.h
@@ -101,14 +101,14 @@ setARG(const bpf_ctx_t *bc
@@ -0,0 +1,982 @@
+/* $NetBSD: t_mbuf.c,v 1.1 2014/07/08 21:45:55 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
Module Name:src
Committed By: alnsn
Date: Tue Jul 8 21:47:22 UTC 2014
Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/net/bpfjit: Makefile
Log Message:
Add t_mbuf tests to the build.
To generate a diff of this
7 19:40:28 2014
@@ -0,0 +1,963 @@
+/* $NetBSD: t_mbuf.c,v 1.1 2014/07/07 19:40:28 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided
Module Name:src
Committed By: alnsn
Date: Mon Jul 7 19:41:22 UTC 2014
Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/net/bpf: Makefile
Log Message:
Add bpf/t_mbuf test to the build.
To generate a diff of this
+1,143 @@
+/* $NetBSD: h_bpf.h,v 1.1 2014/07/07 19:34:32 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
Module Name:src
Committed By: alnsn
Date: Mon Jul 7 19:56:03 UTC 2014
Modified Files:
src/sys/net: bpf_filter.c
Log Message:
Arithmetic overflow when calculating variable offsets (BPF_LD+BPF_IND
instructions) should be handled uniformly for contiguous buffers and mbufs.
5 11:13:13 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.20 2014/07/04 21:32:08 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.21 2014/07/05 11:13:13 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD
Module Name:src
Committed By: alnsn
Date: Sat Jul 5 22:06:11 UTC 2014
Modified Files:
src/sys/net: bpf_filter.c
Log Message:
Implement error checking in m_xbyte() and check for errors after m_xbyte() call.
Reuse (len - k) expression in m_xword() and m_xhalf() to give an
+++ src/sys/net/bpfjit.c Fri Jul 4 21:32:08 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.19 2014/07/01 16:18:55 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.20 2014/07/04 21:32:08 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
Module Name:src
Committed By: alnsn
Date: Wed Jul 2 13:38:05 UTC 2014
Modified Files:
src/distrib/sets/lists/debug: md.amd64 md.i386 mi
Log Message:
Move t_bpfjit.debug entries back to mi and add sljit tag to them.
To generate a diff of this commit:
cvs rdiff -u -r1.56
+++ src/sys/net/bpfjit.c Tue Jul 1 16:18:55 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.18 2014/06/25 13:53:40 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.19 2014/07/01 16:18:55 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef
/t_bpfjit.c:1.1
--- /dev/null Mon Jun 30 21:30:51 2014
+++ src/tests/net/bpfjit/t_bpfjit.c Mon Jun 30 21:30:51 2014
@@ -0,0 +1,664 @@
+/* $NetBSD: t_bpfjit.c,v 1.1 2014/06/30 21:30:51 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use
Module Name:src
Committed By: alnsn
Date: Mon Jun 30 21:32:59 UTC 2014
Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
Log Message:
Add new net/t_bpfjit test.
To generate a diff of this commit:
cvs rdiff -u -r1.574 -r1.575
Module Name:src
Committed By: alnsn
Date: Mon Jun 30 21:34:22 UTC 2014
Modified Files:
src/tests/net/bpfjit: Makefile
Log Message:
Fix test directory.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/net/bpfjit/Makefile
Please note that diffs are
Module Name:src
Committed By: alnsn
Date: Wed Jun 25 09:51:34 UTC 2014
Modified Files:
src/sys/net: bpf_filter.c
Log Message:
Check preinited argument of bpf_set_extmem().
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/net/bpf_filter.c
Please
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.15 2014/06/25 01:21:36 rmind Exp $ */
+/* $NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.15
+1,4 @@
-/* $NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.16 2014/06
$ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $);
+__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.18 2014/06/25 13:53:40 alnsn Exp $);
#else
-__RCSID($NetBSD: bpfjit.c,v 1.17 2014
2014
@@ -0,0 +1,572 @@
+/* $NetBSD: t_cop.c,v 1.1 2014/06/25 18:04:05 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following
Module Name:src
Committed By: alnsn
Date: Wed Jun 25 18:04:44 UTC 2014
Modified Files:
src/tests/lib/libbpfjit: Makefile
Log Message:
Add t_cop test.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libbpfjit/Makefile
Please note that diffs are
Exp $ */
/*-
- * Copyright (c) 2014 Alexander Nasonov.
+ * Copyright (c) 2013-2014 Alexander Nasonov.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
*/
#include sys/cdefs.h
-__RCSID($NetBSD: t_cop.c,v 1.1 2014/06/25 18:04
:13:03 2014
@@ -0,0 +1,479 @@
+/* $NetBSD: t_extmem.c,v 1.1 2014/06/25 19:13:03 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided
Module Name:src
Committed By: alnsn
Date: Wed Jun 25 19:13:27 UTC 2014
Modified Files:
src/tests/lib/libbpfjit: Makefile
Log Message:
Add t_extmem test.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libbpfjit/Makefile
Please note that diffs
Module Name:src
Committed By: alnsn
Date: Wed Jun 25 19:20:47 UTC 2014
Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
Log Message:
Add new libbpfjit tests.
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63
@@
-/* $NetBSD: bpfjit.h,v 1.3 2014/06/24 10:53:30 alnsn Exp $ */
+/* $NetBSD: bpfjit.h,v 1.4 2014/06/25 19:32:37 alnsn Exp $ */
/*-
- * Copyright (c) 2011-2012,2014 Alexander Nasonov.
+ * Copyright (c) 2011-2014 Alexander Nasonov.
* All rights reserved.
*
* Redistribution and use in source and binary
Module Name:src
Committed By: alnsn
Date: Tue Jun 24 11:31:49 UTC 2014
Modified Files:
src/sys/net/npf: npf_bpf.c
Log Message:
Fix signatures of copfuncs.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/net/npf/npf_bpf.c
Please note that diffs are
Module Name:src
Committed By: alnsn
Date: Tue Jun 24 11:32:36 UTC 2014
Modified Files:
src/tests/net/bpfilter: t_bpfilter.c
Log Message:
Zap trailing spaces.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/net/bpfilter/t_bpfilter.c
Please note
Module Name:src
Committed By: alnsn
Date: Wed Jun 18 19:50:32 UTC 2014
Modified Files:
src/sys/rump/include/rump: rumpuser.h
Log Message:
Revert last change. This is not the right place for rumpuser_sync_icache().
To generate a diff of this commit:
cvs rdiff -u -r1.112
/rumpuser_cache.c:1.1
--- /dev/null Tue Jun 17 06:31:47 2014
+++ src/lib/librumpuser/rumpuser_cache.c Tue Jun 17 06:31:47 2014
@@ -0,0 +1,61 @@
+/* $NetBSD: rumpuser_cache.c,v 1.1 2014/06/17 06:31:47 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All Rights Reserved.
+ *
+ * Redistribution
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 06:36:01 UTC 2014
Modified Files:
src/tests/lib/libbpfjit: Makefile
src/tests/lib/libsljit: Makefile
Log Message:
Link with -l${MACHINE_CPU}.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
-u /dev/null src/sys/arch/arm/include/sljitarch.h:1.1
--- /dev/null Tue Jun 17 06:36:40 2014
+++ src/sys/arch/arm/include/sljitarch.h Tue Jun 17 06:36:39 2014
@@ -0,0 +1,59 @@
+/* $NetBSD: sljitarch.h,v 1.1 2014/06/17 06:36:39 alnsn Exp $ */
+
+/*-
+ * Copyright (c) 2014 Alexander Nasonov.
+ * All
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 06:43:21 UTC 2014
Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c
Log Message:
For consistency with other files in the same directory
don't include sys/cdefs.h before __RCSID.
To generate a diff of this
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 08:42:35 UTC 2014
Modified Files:
src/lib/librumpuser: Makefile
Log Message:
Antti objected to including rumpuser_sync_icache. Exclude it from the build.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 08:50:49 UTC 2014
Modified Files:
src/sys/rump/librump/rumpkern/arch/arm: Makefile.inc
Log Message:
Antti objected to including rumpuser_sync_icache. Exclude it from the build.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 15:37:44 UTC 2014
Update of /cvsroot/src/sys/external/bsd/sljit/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv17842
Log Message:
Import sljit 0.91 (svn r257).
The changes since the last import are:
r257: Add missing
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.11 2014/05/23 22:04:09 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.12 2014/06/17 16:52:33 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include sys/cdefs.h
#ifdef _KERNEL
-__KERNEL_RCSID(0, $NetBSD: bpfjit.c,v 1.11
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 16:49:11 UTC 2014
Modified Files:
src/sys/external/bsd/sljit: README.import
Log Message:
New sljit version is r257.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/sljit/README.import
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 17:30:48 UTC 2014
Modified Files:
src/sys/external/bsd/sljit/dist/sljit_src: sljitConfigInternal.h
Log Message:
Don't redefine SLJIT_HALT_PROCESS().
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 18:48:35 UTC 2014
Modified Files:
src/doc: 3RDPARTY
Log Message:
Update sljit entry.
To generate a diff of this commit:
cvs rdiff -u -r1.1123 -r1.1124 src/doc/3RDPARTY
Please note that diffs are not public domain;
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 19:26:18 UTC 2014
Modified Files:
src/tests/lib/libbpfjit: Makefile
src/tests/lib/libsljit: Makefile
Log Message:
libarch on sparc isn't -l${MACHINE_CPU}. Don't link to it.
To generate a diff of this commit:
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 19:33:20 UTC 2014
Modified Files:
src/sys/external/bsd/sljit/dist/sljit_src: sljitExecAllocator.c
sljitLir.c sljitNativeARM_32.c sljitNativeARM_64.c
sljitNativeARM_T2_32.c sljitNativeMIPS_32.c
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 19:36:45 UTC 2014
Modified Files:
src/sys/external/bsd/sljit/dist/sljit_src: sljitConfig.h
sljitConfigInternal.h sljitLir.h
Log Message:
Add $NetBSD$.
To generate a diff of this commit:
cvs rdiff -u -r1.9
Module Name:src
Committed By: alnsn
Date: Tue Jun 17 19:37:03 UTC 2014
Modified Files:
src/sys/external/bsd/sljit/dist/test_src: sljitMain.c sljitTest.c
Log Message:
Add $NetBSD$.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: alnsn
Date: Mon Jun 16 21:07:28 UTC 2014
Modified Files:
src/lib/librumpuser: rumpuser_bio.c
Log Message:
Add __RCSID.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpuser/rumpuser_bio.c
Please note that diffs
Module Name:src
Committed By: alnsn
Date: Thu Jun 12 12:13:36 UTC 2014
Modified Files:
src/sys/arch/amd64/conf: GENERIC
Log Message:
Add a comment about disabling INET6. Should fix kern/48901.
To generate a diff of this commit:
cvs rdiff -u -r1.388 -r1.389
Module Name:src
Committed By: alnsn
Date: Thu Jun 12 20:22:04 UTC 2014
Modified Files:
src/sys/arch/amd64/conf: GENERIC
Log Message:
Revert the previous (comment only change).
To generate a diff of this commit:
cvs rdiff -u -r1.389 -r1.390
) 2011-2012 Alexander Nasonov.
@@ -30,7 +30,7 @@
*/
#include sys/cdefs.h
-__RCSID($NetBSD: t_bpfjit.c,v 1.2 2013/11/15 00:12:45 rmind Exp $);
+__RCSID($NetBSD: t_bpfjit.c,v 1.3 2014/05/23 11:47:59 alnsn Exp $);
#include atf-c.h
#include stdint.h
@@ -3290,6 +3290,540 @@ ATF_TC_BODY
:47:59 2014
+++ src/tests/lib/libbpfjit/t_bpfjit.c Fri May 23 11:48:26 2014
@@ -1,7 +1,7 @@
-/* $NetBSD: t_bpfjit.c,v 1.3 2014/05/23 11:47:59 alnsn Exp $ */
+/* $NetBSD: t_bpfjit.c,v 1.4 2014/05/23 11:48:26 alnsn Exp $ */
/*-
- * Copyright (c) 2011-2012 Alexander Nasonov.
+ * Copyright (c) 2011
101 - 200 of 300 matches
Mail list logo