CVS commit: src/sys/net/npf

2019-09-30 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Sep 30 22:04:33 UTC 2019 Modified Files: src/sys/net/npf: npf_if.c Log Message: npf_ifmap_copylogname: be more defensive. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/net/npf/npf_if.c Please note

CVS commit: src/sys/net/npf

2019-09-30 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Sep 30 22:04:33 UTC 2019 Modified Files: src/sys/net/npf: npf_if.c Log Message: npf_ifmap_copylogname: be more defensive. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/net/npf/npf_if.c Please note

CVS commit: src

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Sep 30 00:37:12 UTC 2019 Modified Files: src/lib/libnpf: libnpf.3 npf.c npf.h src/sys/net/npf: npf_ctl.c src/usr.sbin/npf/npfctl: npf.conf.5 npf_build.c npf_parse.y npf_scan.l npfctl.c npfctl.h

CVS commit: src

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon Sep 30 00:37:12 UTC 2019 Modified Files: src/lib/libnpf: libnpf.3 npf.c npf.h src/sys/net/npf: npf_ctl.c src/usr.sbin/npf/npfctl: npf.conf.5 npf_build.c npf_parse.y npf_scan.l npfctl.c npfctl.h

CVS commit: src/usr.sbin/npf/npfctl

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Sep 29 18:51:08 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_build.c Log Message: npfctl: implement table replace subcommand. Contributed by Timshel Knoll-Miller. (missed a file in previous commit; cvs is so

CVS commit: src/usr.sbin/npf/npfctl

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Sep 29 18:51:08 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_build.c Log Message: npfctl: implement table replace subcommand. Contributed by Timshel Knoll-Miller. (missed a file in previous commit; cvs is so

CVS commit: src/sys/net/npf

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Sep 29 17:00:29 UTC 2019 Modified Files: src/sys/net/npf: npf_conn.c npf_if.c npf_impl.h npf_ruleset.c Log Message: NPF ifmap: rework and fix a few small bugs. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/net/npf

2019-09-29 Thread Mindaugas Rasiukevicius
/npf_if.c Sun Sep 29 17:00:29 2019 @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2019 Mindaugas Rasiukevicius * Copyright (c) 2013 The NetBSD Foundation, Inc. * All rights reserved. * @@ -28,23 +29,34 @@ */ /* - * NPF network interface handling module. + * NPF network interface handling. * - *

CVS commit: src/usr.sbin/npf/npfctl

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Sep 29 16:58:35 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npfctl.8 npfctl.c npfctl.h Log Message: npfctl: implement table replace subcommand. Contributed by Timshel Knoll-Miller. To generate a diff of this commit:

CVS commit: src/usr.sbin/npf/npfctl

2019-09-29 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Sep 29 16:58:35 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npfctl.8 npfctl.c npfctl.h Log Message: npfctl: implement table replace subcommand. Contributed by Timshel Knoll-Miller. To generate a diff of this commit:

CVS commit: src

2019-08-28 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Aug 28 21:48:14 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile Log Message: Install thmap(9) man page. To generate a diff of this commit: cvs rdiff -u -r1.2283 -r1.2284

CVS commit: src

2019-08-28 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Aug 28 21:48:14 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile Log Message: Install thmap(9) man page. To generate a diff of this commit: cvs rdiff -u -r1.2283 -r1.2284

CVS commit: src/share/man/man9

2019-08-28 Thread Mindaugas Rasiukevicius
Wed Aug 28 20:08:11 2019 @@ -0,0 +1,236 @@ +.\" +.\" Copyright (c) 2018 Mindaugas Rasiukevicius +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following c

CVS commit: src/share/man/man9

2019-08-28 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Aug 28 20:08:11 UTC 2019 Added Files: src/share/man/man9: thmap.9 Log Message: Add thmap(9) man page. Reviewed by wiz@. Forgot to commit it half a year ago. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

CVS commit: src/sys/net/npf

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 17:38:25 UTC 2019 Modified Files: src/sys/net/npf: npf_ctl.c npf_impl.h npf_os.c Log Message: ake npfctl_switch() and pfil private to OS-specific module. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/net/npf

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 17:38:25 UTC 2019 Modified Files: src/sys/net/npf: npf_ctl.c npf_impl.h npf_os.c Log Message: ake npfctl_switch() and pfil private to OS-specific module. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 16:38:21 UTC 2019 Modified Files: src/sys/net/npf: npf.h src/sys/sys: mbuf.h Log Message: Move PACKET_TAG_NPF where it belongs to. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src/sys

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 16:38:21 UTC 2019 Modified Files: src/sys/net/npf: npf.h src/sys/sys: mbuf.h Log Message: Move PACKET_TAG_NPF where it belongs to. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 13:21:04 UTC 2019 Modified Files: src/sys/net/npf: npf.c npf_alg.c npf_conf.c npf_ctl.c npf_handler.c npf_ifaddr.c npf_impl.h npf_nat.c npf_os.c src/usr.sbin/npf/npfctl: npf_bpf_comp.c

CVS commit: src

2019-08-25 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 25 13:21:04 UTC 2019 Modified Files: src/sys/net/npf: npf.c npf_alg.c npf_conf.c npf_ctl.c npf_handler.c npf_ifaddr.c npf_impl.h npf_nat.c npf_os.c src/usr.sbin/npf/npfctl: npf_bpf_comp.c

CVS commit: src

2019-08-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sat Aug 24 13:20:52 UTC 2019 Modified Files: src/lib/libnpf: Makefile src/lib/npf: mod.mk src/libexec/identd: Makefile src/usr.sbin/npf/npfctl: Makefile src/usr.sbin/npf/npfd: Makefile Log Message:

CVS commit: src

2019-08-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sat Aug 24 13:20:52 UTC 2019 Modified Files: src/lib/libnpf: Makefile src/lib/npf: mod.mk src/libexec/identd: Makefile src/usr.sbin/npf/npfctl: Makefile src/usr.sbin/npf/npfd: Makefile Log Message:

CVS commit: src

2019-08-21 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Aug 21 21:45:47 UTC 2019 Modified Files: src/lib/libnpf: libnpf.3 npf.c npf.h src/sys/net/npf: npf.h npf_ctl.c npf_impl.h npf_os.c npf_tableset.c Log Message: npfkern/libnpf: Add support for the table replace/swap

CVS commit: src

2019-08-21 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Aug 21 21:45:47 UTC 2019 Modified Files: src/lib/libnpf: libnpf.3 npf.c npf.h src/sys/net/npf: npf.h npf_ctl.c npf_impl.h npf_os.c npf_tableset.c Log Message: npfkern/libnpf: Add support for the table replace/swap

CVS commit: src/usr.sbin/npf

2019-08-21 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Aug 21 21:41:54 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npfctl.c src/usr.sbin/npf/npftest/libnpftest: npf_mbuf_subr.c npf_nbuf_test.c Log Message: - npftest: fix a memleak in a unit test (standalone path

CVS commit: src/usr.sbin/npf

2019-08-21 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Aug 21 21:41:54 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npfctl.c src/usr.sbin/npf/npftest/libnpftest: npf_mbuf_subr.c npf_nbuf_test.c Log Message: - npftest: fix a memleak in a unit test (standalone path

CVS commit: src

2019-08-11 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 11 20:26:34 UTC 2019 Modified Files: src/sys/net/npf: npf.c npf_conf.c npf_conn.h npf_ctl.c npf_handler.c npf_if.c npf_impl.h npf_inet.c npf_nat.c npf_os.c npf_params.c npf_portmap.c npf_worker.c

CVS commit: src

2019-08-11 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 11 20:26:34 UTC 2019 Modified Files: src/sys/net/npf: npf.c npf_conf.c npf_conn.h npf_ctl.c npf_handler.c npf_if.c npf_impl.h npf_inet.c npf_nat.c npf_os.c npf_params.c npf_portmap.c npf_worker.c

CVS commit: src/usr.sbin/npf

2019-08-11 Thread Mindaugas Rasiukevicius
1.2 Tue Jul 23 14:24:02 2019 +++ src/usr.sbin/npf/npf-params.7 Sun Aug 11 20:25:14 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: npf-params.7,v 1.2 2019/07/23 14:24:02 wiz Exp $ +.\" $NetBSD: npf-params.7,v 1.3 2019/08/11 20:25:14 rmind Exp $ .\" .\" Copyright (c) 2019 Mindaugas Rasiuke

CVS commit: src/usr.sbin/npf

2019-08-11 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Aug 11 20:25:14 UTC 2019 Modified Files: src/usr.sbin/npf: npf-params.7 Log Message: npf-params(7): add more bpf.jit details. >From David H. Gutteridge. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/usr.sbin/npf/npfctl

2019-08-10 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sat Aug 10 22:23:55 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_show.c Log Message: npfctl show/validate: fix couple bugs in multiple table/port representation. Fixes PR/54122. To generate a diff of this commit: cvs

CVS commit: src/usr.sbin/npf/npfctl

2019-08-10 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sat Aug 10 22:23:55 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_show.c Log Message: npfctl show/validate: fix couple bugs in multiple table/port representation. Fixes PR/54122. To generate a diff of this commit: cvs

CVS commit: src/sys

2019-08-10 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sat Aug 10 21:13:54 UTC 2019 Modified Files: src/sys/net: if.h src/sys/net/npf: npf_os.c src/sys/sys: param.h Log Message: Add the ifnet_t::if_npf_private field. Bump the kernel version. Fixes PR/54098. To

CVS commit: src/usr.sbin/npf/npfctl

2019-08-08 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Aug 8 21:29:16 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_bpf_comp.c npf_build.c npfctl.h Log Message: NPF: fix BPF byte-code generation for a port-range used in a group. Resolved PR/52609 and PR/54169. To

CVS commit: src/usr.sbin/npf/npfctl

2019-08-08 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Aug 8 21:29:16 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_bpf_comp.c npf_build.c npfctl.h Log Message: NPF: fix BPF byte-code generation for a port-range used in a group. Resolved PR/52609 and PR/54169. To

CVS commit: src/usr.sbin/npf/npftest/libnpftest

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 01:18:06 UTC 2019 Modified Files: src/usr.sbin/npf/npftest/libnpftest: npf_nbuf_test.c Log Message: npftest: fix double-free in npf_nbuf_test(). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/usr.sbin/npf/npftest/libnpftest

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 01:18:06 UTC 2019 Modified Files: src/usr.sbin/npf/npftest/libnpftest: npf_nbuf_test.c Log Message: npftest: fix double-free in npf_nbuf_test(). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/net/npf

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 01:00:28 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: npf_portmap_flush: remove invalid assert (this routine can be callied via the npf_destroy() path where the constraint is not applicable).

CVS commit: src/sys/net/npf

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 01:00:28 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: npf_portmap_flush: remove invalid assert (this routine can be callied via the npf_destroy() path where the constraint is not applicable).

CVS commit: src/usr.sbin/npf/npfctl

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 00:48:55 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_build.c npfctl.c Log Message: npfctl: fix the bpf.jit parameter handling. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/usr.sbin/npf/npfctl

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 00:48:55 UTC 2019 Modified Files: src/usr.sbin/npf/npfctl: npf_build.c npfctl.c Log Message: npfctl: fix the bpf.jit parameter handling. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 00:02:56 UTC 2019 Modified Files: src/distrib/sets/lists/man: mi src/usr.sbin/npf: Makefile Log Message: Install the npf-params(7) man page. To generate a diff of this commit: cvs rdiff -u -r1.1648 -r1.1649

CVS commit: src

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Thu Jul 25 00:02:56 UTC 2019 Modified Files: src/distrib/sets/lists/man: mi src/usr.sbin/npf: Makefile Log Message: Install the npf-params(7) man page. To generate a diff of this commit: cvs rdiff -u -r1.1648 -r1.1649

CVS commit: src/sys/modules/npf

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Jul 24 23:49:08 UTC 2019 Modified Files: src/sys/modules/npf: Makefile Log Message: Update the NPF kernel module Makefile. Missed in the previous commit. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/modules/npf

2019-07-24 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Jul 24 23:49:08 UTC 2019 Modified Files: src/sys/modules/npf: Makefile Log Message: Update the NPF kernel module Makefile. Missed in the previous commit. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/net/npf

2019-07-23 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Jul 23 08:25:52 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: NPF portmap: add a workaround for archs without 64-bit CAS. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/net/npf

2019-07-23 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Jul 23 08:25:52 UTC 2019 Modified Files: src/sys/net/npf: npf_portmap.c Log Message: NPF portmap: add a workaround for archs without 64-bit CAS. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src

2019-07-22 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Jul 23 00:52:02 UTC 2019 Modified Files: src/lib/libnpf: libnpf.3 npf.c npf.h src/sys/net/npf: files.npf npf.c npf.h npf_alg.c npf_alg_icmp.c npf_conf.c npf_conn.c npf_conn.h npf_conndb.c npf_ctl.c

CVS commit: src/sys/external/bsd/libnv/dist

2019-07-22 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Jul 23 00:49:16 UTC 2019 Modified Files: src/sys/external/bsd/libnv/dist: nv.h nvlist.c nvpair.c Log Message: - nvpair_create_stringf: use the in-kernel vasprintf(). - Make nvlist_add_stringf() availabe in the kernel. To

CVS commit: src/sys/external/bsd/libnv/dist

2019-07-22 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Jul 23 00:49:16 UTC 2019 Modified Files: src/sys/external/bsd/libnv/dist: nv.h nvlist.c nvpair.c Log Message: - nvpair_create_stringf: use the in-kernel vasprintf(). - Make nvlist_add_stringf() availabe in the kernel. To

Re: CVS commit: src/sys/external/bsd/libnv/dist

2019-02-15 Thread Mindaugas Rasiukevicius
Martin Husemann wrote: > Can you try this patch? > > rmind: can you *please* run the tests before commiting such changes? > That would have immediately caught this. Well, I did run libnv tests as well as NPF tests and they both passed, just not on NetBSD. :) Turns out NetBSD libnv and Github

Re: CVS commit: src/sys/net/npf

2018-01-30 Thread Mindaugas Rasiukevicius
"Maxime Villard" wrote: > Module Name: src > Committed By: maxv > Date: Fri Dec 15 21:00:26 UTC 2017 > > Modified Files: > src/sys/net/npf: npf.h > > Log Message: > Fix a vulnerability in NPF, that allows whatever incoming IPv6 packet to > bypass a certain number

Re: CVS commit: src/sys/net80211

2018-01-20 Thread Mindaugas Rasiukevicius
Hi, David Young wrote: > On Tue, Jan 16, 2018 at 08:39:29AM +, Maxime Villard wrote: > > Module Name:src > > Committed By: maxv > > Date: Tue Jan 16 08:39:29 UTC 2018 > > > > Modified Files: > > src/sys/net80211: ieee80211_input.c > > > >

Re: CVS commit: src/sys

2014-07-19 Thread Mindaugas Rasiukevicius
Alex, Alexander Nasonov al...@yandex.ru wrote: Lourival Pereira Vieira Neto wrote: Module Name:src Committed By: lneto Date: Sat Jul 19 17:13:22 UTC 2014 Modified Files: src/sys/modules/lua: lua.c src/sys/sys: lua.h Log Message: lua(4):

Re: CVS commit: src/sys

2014-07-05 Thread Mindaugas Rasiukevicius
David Holland dholland-sourcechan...@netbsd.org wrote: On Tue, Jul 01, 2014 at 10:16:02AM +, Ryota Ozaki wrote: Log Message: Lock IFQ operations when NET_MPSAFE - Introduce NET_MPSAFE - not defined by default If it compiles (and is expected to continue to compile) please

Re: CVS commit: src/sys/sys

2014-07-01 Thread Mindaugas Rasiukevicius
Tyler R. Retzlaff r...@netbsd.org wrote: Module Name: src Committed By: rtr Date: Tue Jul 1 13:25:21 UTC 2014 Modified Files: src/sys/sys: param.h Log Message: Bump to version 6.99.45 for removal of struct lwp * parameter from pr_ioctl I do not think there is much

Re: CVS commit: src/sys

2014-05-18 Thread Mindaugas Rasiukevicius
Paul Goyette p...@whooppee.com wrote: On Sun, 18 May 2014, Mindaugas Rasiukevicius wrote: snip Log Message: Add struct pr_usrreqs with a pr_generic function and prepare for the dismantling of pr_usrreq in the protocols; no functional change intended. PRU_ATTACH/PRU_DETACH changes

Re: CVS commit: src/sys

2014-03-20 Thread Mindaugas Rasiukevicius
Nick Hudson sk...@netbsd.org wrote: Module Name: src Committed By: skrll Date: Thu Mar 20 06:48:54 UTC 2014 Modified Files: src/sys/arch/arm/ixp12x0: ixp12x0_intr.c src/sys/arch/arm/xscale: ixp425_if_npe.c ixp425_npe.c ixp425_npevar.h src/sys/arch/xen/include:

Re: CVS commit: src/sys/miscfs/genfs

2014-03-12 Thread Mindaugas Rasiukevicius
Taylor R Campbell campbell+netbsd-source-change...@mumble.net wrote: Date: Wed, 12 Mar 2014 16:16:32 +0200 From: Jukka Ruohonen jruoho...@iki.fi On Wed, Mar 12, 2014 at 09:39:23AM +, Juergen Hannken-Illjes wrote: Restructure layer_lock() to always lock before testing for

Re: CVS commit: src

2014-02-27 Thread Mindaugas Rasiukevicius
Juergen Hannken-Illjes hann...@netbsd.org wrote: Module Name: src Committed By: hannken Date: Thu Feb 27 16:51:39 UTC 2014 ... Log Message: The current implementation of vn_lock() is racy. Modification of the vnode operations vector for active vnodes is unsafe because it is

Re: CVS commit: src

2014-02-27 Thread Mindaugas Rasiukevicius
J. Hannken-Illjes hann...@eis.cs.tu-bs.de wrote: I have not had time to follow your VFS changes, but can you explain why did you remove VOP_LOCK/VOP_UNLOCK in tmpfs_reclaim()? It was added to prevent from the racy access of tn_links. Hopefully a vnode lock is needed to access tn_links --

Re: CVS commit: src/sys/fs/tmpfs

2014-01-08 Thread Mindaugas Rasiukevicius
J. Hannken-Illjes hann...@eis.cs.tu-bs.de wrote: On Jan 8, 2014, at 5:11 PM, pedro martelletto pe...@netbsd.org wrote: Module Name:src Committed By: pedro Date: Wed Jan 8 16:11:04 UTC 2014 Modified Files: src/sys/fs/tmpfs: tmpfs_subr.c Log

Re: CVS commit: src/sys/fs/tmpfs

2014-01-03 Thread Mindaugas Rasiukevicius
Juergen Hannken-Illjes hann...@netbsd.org wrote: Module Name: src Committed By: hannken Date: Fri Jan 3 09:53:12 UTC 2014 Modified Files: src/sys/fs/tmpfs: tmpfs_subr.c tmpfs_vnops.c Log Message: Fix a race where thread1 runs VOP_REMOVE() and gets preempted in

Re: CVS commit: src/sbin/mount_tmpfs

2013-12-04 Thread Mindaugas Rasiukevicius
Martin Husemann mar...@netbsd.org wrote: Module Name: src Committed By: martin Date: Wed Dec 4 13:30:35 UTC 2013 Modified Files: src/sbin/mount_tmpfs: mount_tmpfs.8 mount_tmpfs.c Log Message: Provide variants of the -s option to allow limiting the tmpfs dynamically at

Re: CVS commit: src/sbin/mount_tmpfs

2013-12-04 Thread Mindaugas Rasiukevicius
Martin Husemann mar...@duskware.de wrote: On Wed, Dec 04, 2013 at 01:45:51PM +, Mindaugas Rasiukevicius wrote: I think you confused err() with errx(). Also, why bother with the fraction and the floating point? The err vs. errx may be debatable, but since this is usual called via

Re: CVS commit: src/sys

2013-11-28 Thread Mindaugas Rasiukevicius
Hello Juergen, Juergen Hannken-Illjes hann...@netbsd.org wrote: Module Name: src Committed By: hannken Date: Sat Nov 23 13:46:22 UTC 2013 Modified Files: src/sys/kern: vfs_vnode.c src/sys/sys: vnode.h Log Message: Replace VI_INACTNOW and VI_INACTREDO with a new

Re: CVS commit: src/sys/coda

2013-11-23 Thread Mindaugas Rasiukevicius
Christos Zoulas chris...@netbsd.org wrote: Module Name: src Committed By: christos Date: Sat Nov 23 17:57:23 UTC 2013 Modified Files: src/sys/coda: coda_vfsops.c Log Message: replace open-coded scan with macro; fix locking -/* mount structure wasn't found */ -

Re: CVS commit: src/sys/coda

2013-11-23 Thread Mindaugas Rasiukevicius
chris...@zoulas.com (Christos Zoulas) wrote: On Nov 23, 6:14pm, rm...@netbsd.org (Mindaugas Rasiukevicius) wrote: -- Subject: Re: CVS commit: src/sys/coda | Although this is correct, TAILQ_END(mountlist) *suggests* access of | mountlist. If it would be true, it would be unlocked and buggy

Re: CVS commit: src/sys/coda

2013-11-23 Thread Mindaugas Rasiukevicius
chris...@zoulas.com (Christos Zoulas) wrote: On Nov 23, 11:24pm, rm...@netbsd.org (Mindaugas Rasiukevicius) wrote: -- Subject: Re: CVS commit: src/sys/coda | mp = mp == TAILQ_END(mountlist) ? NULL : mp; | | Over: | | return mp; | | Everybody understood NULL, so why obfuscate the code

Re: CVS commit: src/usr.sbin/npf/npfctl

2013-11-19 Thread Mindaugas Rasiukevicius
Christos Zoulas chris...@netbsd.org wrote: Module Name: src Committed By: christos Date: Tue Nov 19 17:01:45 UTC 2013 Modified Files: src/usr.sbin/npf/npfctl: npf_show.c Log Message: CID 1129614: dereference after null It should never be NULL. Perhaps assert(tl !=

Re: CVS commit: src

2013-11-16 Thread Mindaugas Rasiukevicius
Alexander Nasonov al...@yandex.ru wrote: +./usr/lib/librumpkern_sljit.so base-rump-shlib rump +./usr/lib/librumpkern_sljit.so.0 base-rump-shlib rump +./usr/lib/librumpkern_sljit.so.0.0 base-rump-shlib rump A similar change was sitting in my local

Re: CVS commit: src/usr.sbin/npf/npftest

2013-11-16 Thread Mindaugas Rasiukevicius
Alexander Nasonov al...@yandex.ru wrote: Mindaugas Rasiukevicius wrote: Module Name:src Committed By: rmind Date: Sat Nov 16 01:41:43 UTC 2013 Modified Files: src/usr.sbin/npf/npftest: Makefile src/usr.sbin/npf/npftest/libnpftest: Makefile

Re: CVS commit: src/sys/fs/tmpfs

2013-11-10 Thread Mindaugas Rasiukevicius
J. Hannken-Illjes hann...@eis.cs.tu-bs.de wrote: Module Name:src Committed By: rmind Date: Fri Nov 8 15:44:23 UTC 2013 ... The tests fs/vfs/t_union/tmpfs_basic and fs/vfs/t_union/tmpfs_whiteout start failing after this commit. Fixed. -- Mindaugas

Re: CVS commit: src/sys/net/npf

2013-10-29 Thread Mindaugas Rasiukevicius
Paul Goyette p...@whooppee.com wrote: On Tue, 29 Oct 2013, Mindaugas Rasiukevicius wrote: Module Name:src Committed By: rmind Date: Tue Oct 29 16:39:10 UTC 2013 Modified Files: src/sys/net/npf: npf_impl.h npf_nat.c npf_session.c Log Message

Re: CVS commit: src/sys

2012-12-01 Thread Mindaugas Rasiukevicius
chris...@zoulas.com (Christos Zoulas) wrote: On Nov 30, 11:39pm, plu...@rya-online.net (Iain Hibbert) wrote: -- Subject: Re: CVS commit: src/sys | On Fri, 30 Nov 2012, Christos Zoulas wrote: | | In article 20121130134954.ga14...@britannica.bec.de, | Joerg Sonnenberger

Re: CVS commit: src/sys/uvm

2012-09-04 Thread Mindaugas Rasiukevicius
Matt Thomas m...@3am-software.com wrote: On Sep 3, 2012, at 3:33 PM, Mindaugas Rasiukevicius wrote: Matt Thomas m...@netbsd.org wrote: Module Name: src Committed By: matt Date: Mon Sep 3 19:53:43 UTC 2012 Modified Files: src/sys/uvm: uvm_km.c

Re: CVS commit: src/sys/uvm

2012-09-03 Thread Mindaugas Rasiukevicius
Matt Thomas m...@netbsd.org wrote: Module Name: src Committed By: matt Date: Mon Sep 3 19:53:43 UTC 2012 Modified Files: src/sys/uvm: uvm_km.c uvm_map.c Log Message: Switch to a spin lock (uvm_kentry_lock) which, fortunately, was sitting there unused. -

Re: CVS commit: src/sys/modules/bpf

2012-08-01 Thread Mindaugas Rasiukevicius
Matt Thomas m...@netbsd.org wrote: Module Name: src Committed By: matt Date: Thu Aug 2 00:22:32 UTC 2012 Modified Files: src/sys/modules/bpf: Makefile Log Message: Add missing paren. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

Re: CVS commit: src/sys

2012-08-01 Thread Mindaugas Rasiukevicius
Mindaugas Rasiukevicius rm...@netbsd.org wrote: Module Name: src Committed By: rmind Date: Wed Aug 1 23:24:29 UTC 2012 ... Log Message: Add BPF JIT compiler, currently supporting amd64 and i386. Code obtained from FreeBSD. Also, make few BPF fixes and simplifications while

Re: CVS commit: src/regress/lib/libc/cdb

2012-07-22 Thread Mindaugas Rasiukevicius
Izumi Tsutsui tsut...@ceres.dti.ne.jp wrote: There is Core's policy: http://mail-index.NetBSD.org/netbsd-announce/2010/09/06/msg000109.html To this end, we now require that all new tests are written using the ATF tool. All exceptions for tests committed to the old src/regress framework

Re: CVS commit: src/regress/lib/libc/cdb

2012-07-21 Thread Mindaugas Rasiukevicius
Jukka Ruohonen jruoho...@iki.fi wrote: Module Name:src Committed By: rmind Date: Sat Jul 21 22:22:55 UTC 2012 Added Files: src/regress/lib/libc/cdb: cdb_test.c Log Message: Add a simple test for cdb(5). Is there a particular reason why you do

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Hi Simon, Simon Burge sim...@netbsd.org wrote: [ ... ] Log Message: Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby. The code is taken from the upstream and is in the public domain. I'm curious why you've chosen MurmurHash2 instead of MurmurHash3 given

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Simon Burge sim...@netbsd.org wrote: Mindaugas Rasiukevicius wrote: Simon Burge sim...@netbsd.org wrote: [ ... ] Log Message: Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby. The code is taken from the upstream and is in the public

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Joerg Sonnenberger jo...@britannica.bec.de wrote: Log Message: Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby. The code is taken from the upstream and is in the public domain. OK christos@ There are a number of issues with this. First of all, it pollutes the

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Simon Burge sim...@netbsd.org wrote: Are you referring to the weakness when using 4-bytes? Anyway, that is why the file name does not have 2 in it, so that we could add MurmurHash3 as well. That's completely different to the other hashes we have in the source tree. Can you

Re: CVS commit: src/sys

2012-07-04 Thread Mindaugas Rasiukevicius
Manuel Bouyer bou...@antioche.eu.org wrote: Few minor points. Does atabus_alloc_drives() need to use M_NOWAIT and malloc(9), instead of kmem(9)? At first glance I'd say it should always be called from the atabus thread, so it should be OK Could you change it then? Generally, KM_NOSLEEP

Re: CVS commit: src/sys

2012-07-02 Thread Mindaugas Rasiukevicius
Manuel Bouyer bou...@netbsd.org wrote: Module Name: src Committed By: bouyer Date: Mon Jul 2 18:15:48 UTC 2012 ... Log Message: Add sata Port MultiPlier (PMP) support to the ata bus layer, as described in http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html PMP

Re: CVS commit: src/sys/kern

2012-02-04 Thread Mindaugas Rasiukevicius
y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: hi, Module Name:src Committed By: rmind Date: Mon Jan 30 21:05:40 UTC 2012 Modified Files: src/sys/kern: subr_kmem.c Log Message: Fix for KMEM_GUARD; do not use it from interrupt context.

Re: CVS commit: src/sys/kern

2012-01-22 Thread Mindaugas Rasiukevicius
David Laight da...@l8s.co.uk wrote: On Sun, Jan 22, 2012 at 03:48:51AM +, Mindaugas Rasiukevicius wrote: Module Name:src Committed By: rmind Date: Sun Jan 22 03:48:51 UTC 2012 Modified Files: src/sys/kern: kern_fileassoc.c Log Message

Re: CVS commit: src/sys/arch

2012-01-04 Thread Mindaugas Rasiukevicius
Chuck Silvers c...@chuq.com wrote: Log Message: map all of physical memory using large pages. ported from openbsd years ago by Murray Armfield, updated for changes since then by me. This is cool, thanks! Can you add an entry to src/doc/CHANGES? Also, just wondering - did you

Re: CVS commit: src/sys/arch

2011-12-04 Thread Mindaugas Rasiukevicius
Chuck Silvers c...@netbsd.org wrote: Module Name: src Committed By: chs Date: Sun Dec 4 16:24:13 UTC 2011 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c src/sys/arch/amd64/include: types.h src/sys/arch/x86/include: pmap.h

Re: CVS commit: src

2011-11-24 Thread Mindaugas Rasiukevicius
Martin Husemann mar...@duskware.de wrote: On Wed, Nov 23, 2011 at 03:19:55AM +, Christos Zoulas wrote: He does not want to write atf tests. In my opinion non-atf tests is better than no tests. IMHO non-atf tests are just as useless as the whole src/regress hierachy always was. BUT:

Re: CVS commit: src/sys/arch/i386/i386

2011-11-20 Thread Mindaugas Rasiukevicius
J. Hannken-Illjes hann...@eis.cs.tu-bs.de wrote: Module Name:src Committed By: yamt Date: Mon Oct 31 12:42:53 UTC 2011 Modified Files: src/sys/arch/i386/i386: dumpsys.c Log Message: dumpsys_seg: don't overwrite the previous mapping With this

Re: CVS commit: src/sys/kern

2011-11-02 Thread Mindaugas Rasiukevicius
Hello Juergen, Juergen Hannken-Illjes hann...@netbsd.org wrote: Log Message: The path getnewvnode()-getcleanvnode()-vclean()-VOP_LOCK() will panic if the vnode we want to clean is a layered vnode and the caller already locked its lower vnode. Change getnewvnode() to always allocate a fresh

Re: CVS commit: src/sys

2011-08-27 Thread Mindaugas Rasiukevicius
Christos Zoulas chris...@netbsd.org wrote: Log Message: Add an optional pglist argument to uvm_obj_wirepages, to be filled with the list of pages that were wired. To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/sys/kern/sysv_shm.c cvs rdiff -u -r1.174 -r1.175

Re: CVS commit: src/share/man/man9

2011-08-07 Thread Mindaugas Rasiukevicius
Jukka Ruohonen jruoho...@iki.fi wrote: Log Message: Fix .Xr to membar_ops(3), not membar(9). Spotted by wiz@. Can you brief on what is the difference between membar_ops(3) and mb(9)? mb(9) predates membar_ops(3). I do not know why it was left when the later interface was added. It

Re: CVS commit: src/sys/kern

2011-07-30 Thread Mindaugas Rasiukevicius
Masao Uebayashi uebay...@netbsd.org wrote: Module Name: src Committed By: uebayasi Date: Sat Jul 30 05:24:17 UTC 2011 Modified Files: src/sys/kern: kern_softint.c Log Message: Use kmem(9) to allocate per-cpu softint context. No functional changes. Why? The allocation

Re: CVS commit: src/sys/uvm

2011-07-25 Thread Mindaugas Rasiukevicius
y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: Log Message: amap_copy(): Keep the source amap locked until its lock has been copied. btw, this code seems to assume that uvm_anfree does not release the lock even temporarily while the comment on uvm_anfree1 says the opposite.

Re: CVS commit: src/sys/arch

2011-07-03 Thread Mindaugas Rasiukevicius
Manuel Bouyer bou...@netbsd.org wrote: Module Name: src Committed By: bouyer Date: Sun Jul 3 10:40:16 UTC 2011 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/arch/i386/conf: GENERIC Log Message: Add back DIAGNOSTIC option to x86 GENERIC kernels, as

Re: CVS commit: src/sys/arch

2011-07-03 Thread Mindaugas Rasiukevicius
Manuel Bouyer bou...@antioche.eu.org wrote: On Sun, Jul 03, 2011 at 03:57:25PM +0100, Mindaugas Rasiukevicius wrote: Thanks for enabling this, however you have ignored points raised on tech-kern@. In such case, at least DEBUG DEBUG is not as usefull as DIAGNOSTIC, and is very verbose. My

  1   2   >