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 tha

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 tha

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 helpful..

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 helpful..

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 src

CVS commit: src/sys/net/npf

2019-09-29 Thread Mindaugas Rasiukevicius
/npf/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

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

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 src/distr

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 src/distr

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 src/share

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 s

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 s

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 src/sys/net/npf/n

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 src/sys/net/npf/n

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 src/usr.

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 src/usr.

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: l

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: l

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 opera

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 opera

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 only)

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 only)

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 npfk

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 npfk

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 src/usr.sbin

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 rdi

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 rdi

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 genera

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 genera

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 generat

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 generat

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 src/usr.sbin/

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 src/usr.sbin/

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). To

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). To

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 src/usr.sbin/npf/np

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 src/usr.sbin/npf/np

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 src

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 src

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 src/sys/

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 src/sys/

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 src/sys/net/npf/npf_

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 src/sys/net/npf/npf_

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 gene

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 gene

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 li

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 of filtering rule

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 > > > > ... > > IMO, chang

Re: CVS commit: src/sys

2014-07-19 Thread Mindaugas Rasiukevicius
Alex, Alexander Nasonov 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(

Re: CVS commit: src/sys

2014-07-05 Thread Mindaugas Rasiukevicius
David Holland 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 add it > to ALL. >

Re: CVS commit: src/sys/sys

2014-07-01 Thread Mindaugas Rasiukevicius
"Tyler R. Retzlaff" 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 point in

Re: CVS commit: src/sys

2014-05-18 Thread Mindaugas Rasiukevicius
Paul Goyette wrote: > On Sun, 18 May 2014, Mindaugas Rasiukevicius wrote: > > > > > 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_A

Re: CVS commit: src/sys

2014-03-20 Thread Mindaugas Rasiukevicius
"Nick Hudson" 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: xbdvar.h >

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

2014-03-12 Thread Mindaugas Rasiukevicius
Taylor R Campbell wrote: >Date: Wed, 12 Mar 2014 16:16:32 +0200 >From: Jukka Ruohonen > >On Wed, Mar 12, 2014 at 09:39:23AM +, Juergen Hannken-Illjes wrote: >> Restructure layer_lock() to always lock before testing for dead node. >> Use ISSET() to test flags, add assertio

Re: CVS commit: src

2014-02-27 Thread Mindaugas Rasiukevicius
"J. Hannken-Illjes" 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 -- otherwise the

Re: CVS commit: src

2014-02-27 Thread Mindaugas Rasiukevicius
"Juergen Hannken-Illjes" 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 not kn

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

2014-01-08 Thread Mindaugas Rasiukevicius
"J. Hannken-Illjes" wrote: > On Jan 8, 2014, at 5:11 PM, pedro martelletto 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 Message: > > Allocate di

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

2014-01-03 Thread Mindaugas Rasiukevicius
"Juergen Hannken-Illjes" 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 > tmpfs_reclaim()

Re: CVS commit: src/sbin/mount_tmpfs

2013-12-04 Thread Mindaugas Rasiukevicius
Martin Husemann wrote: > On Wed, Dec 04, 2013 at 01:45:51PM +0000, 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

Re: CVS commit: src/sbin/mount_tmpfs

2013-12-04 Thread Mindaugas Rasiukevicius
"Martin Husemann" 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 mount t

Re: CVS commit: src/sys

2013-11-28 Thread Mindaugas Rasiukevicius
Hello Juergen, "Juergen Hannken-Illjes" 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 flag VI_C

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; > | > |

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 wo

Re: CVS commit: src/sys/coda

2013-11-23 Thread Mindaugas Rasiukevicius
"Christos Zoulas" 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 */ -return(NU

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

2013-11-19 Thread Mindaugas Rasiukevicius
"Christos Zoulas" 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 != NULL)? --

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

2013-11-16 Thread Mindaugas Rasiukevicius
Alexander Nasonov 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 > >

Re: CVS commit: src

2013-11-16 Thread Mindaugas Rasiukevicius
Alexander Nasonov 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 tr

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

2013-11-10 Thread Mindaugas Rasiukevicius
"J. Hannken-Illjes" 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 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 n

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 wrote:

Re: CVS commit: src/sys/uvm

2012-09-04 Thread Mindaugas Rasiukevicius
Matt Thomas wrote: > > On Sep 3, 2012, at 3:33 PM, Mindaugas Rasiukevicius wrote: > > > "Matt Thomas" wrote: > >> Module Name: src > >> Committed By: matt > >> Date: Mon Sep 3 19:53:43 UTC 2012 > >>

Re: CVS commit: src/sys/uvm

2012-09-03 Thread Mindaugas Rasiukevicius
"Matt Thomas" 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. - pmap_growkernel() m

Re: CVS commit: src/sys/net

2012-08-15 Thread Mindaugas Rasiukevicius
"Alexander Nasonov" wrote: > Module Name: src > Committed By: alnsn > Date: Wed Aug 15 20:59:51 UTC 2012 > > Modified Files: > src/sys/net: bpf.c > > Log Message: > Fix two bugs introduced by recent commit. > > - When handling contiguous buffer in _bpf_tap(), pass its real size

Re: CVS commit: src/gnu/usr.bin/groff

2012-08-13 Thread Mindaugas Rasiukevicius
Tom Spindler wrote: > > > > That's a fine idea, but, really, if you're concerned about space and > > > > time at runtime, don't use C++ at all. > > > > > > Wasn't the mdocml(?) package suppossed to eliminate the need for > > > groff in tools/ and/or in base? > > > > Preferably, the elimination o

Re: CVS commit: src/gnu/usr.bin/groff

2012-08-13 Thread Mindaugas Rasiukevicius
Tom Spindler wrote: > On Mon, Aug 13, 2012 at 08:20:45PM +, David Holland wrote: > > On Fri, Aug 10, 2012 at 10:18:09PM +0400, Valeriy E. Ushakov wrote: > > > Linking against libstdc++ wastes space and time at runtime. > > > > > > [...] > > > > > > I guess you are working on clang support

Re: CVS commit: src/sys

2012-08-02 Thread Mindaugas Rasiukevicius
chris...@astron.com (Christos Zoulas) wrote: > >> > Module Name:src > >> > Committed By: rmind > >> > Date: Wed Aug 1 23:24:29 UTC 2012 > >> > > >> > <...> > >> > > >> > Log Message: > >> [...] > >> > Also, make few BPF fixes and > >> > simplifications while here. > >>

Re: CVS commit: src/sys

2012-08-02 Thread Mindaugas Rasiukevicius
Hi Alex, Alexander Nasonov wrote: > Mindaugas Rasiukevicius wrote: > > > Log Message: > > > Add BPF JIT compiler, currently supporting amd64 and i386. Code > > > obtained from FreeBSD. Also, make few BPF fixes and simplifications > > > while here. No

Re: CVS commit: src/sys

2012-08-01 Thread Mindaugas Rasiukevicius
"Mindaugas Rasiukevicius" 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 f

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

2012-08-01 Thread Mindaugas Rasiukevicius
"Matt Thomas" 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 src/sys/modules/bpf/Mak

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

2012-07-22 Thread Mindaugas Rasiukevicius
Izumi Tsutsui 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 > >> must be ok'

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

2012-07-21 Thread Mindaugas Rasiukevicius
Jukka Ruohonen 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

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Simon Burge 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 yo

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Joerg Sonnenberger 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 > global name

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Simon Burge wrote: > Mindaugas Rasiukevicius wrote: > > > Simon Burge wrote: > > > > > > > [ ... ] > > > > > > > > Log Message: > > > > > > > > Add MurmurHash2 -- a non-cryptographic hash function by

Re: CVS commit: src

2012-07-08 Thread Mindaugas Rasiukevicius
Hi Simon, Simon Burge 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 the

Re: CVS commit: src/sys

2012-07-04 Thread Mindaugas Rasiukevicius
Manuel Bouyer 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 should not be us

Re: CVS commit: src/sys

2012-07-02 Thread Mindaugas Rasiukevicius
"Manuel Bouyer" 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 suppor

Re: CVS commit: src/lib/libc/arch/arm/gen

2012-03-21 Thread Mindaugas Rasiukevicius
David Young wrote: > On Wed, Mar 21, 2012 at 10:44:35AM +0100, Joerg Sonnenberger wrote: > > On Wed, Mar 21, 2012 at 09:05:36AM +, Hiroyuki Bessho wrote: > > > Module Name: src > > > Committed By: bsh > > > Date: Wed Mar 21 09:05:36 UTC 2012 > > > > > > Modified Files: >

Re: CVS commit: src/sys/uvm

2012-02-20 Thread Mindaugas Rasiukevicius
"Manuel Bouyer" wrote: > Module Name: src > Committed By: bouyer > Date: Mon Feb 20 19:14:24 UTC 2012 > > Modified Files: > src/sys/uvm: uvm_km.c uvm_kmguard.c uvm_map.c > > Log Message: > When using uvm_km_pgremove_intrsafe() make sure mappings are removed > before returning the

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 interr

Re: CVS commit: src/sys/kern

2012-01-22 Thread Mindaugas Rasiukevicius
David Laight wrote: > On Sun, Jan 22, 2012 at 03:48:51AM +0000, Mindaugas Rasiukevicius wrote: > > Module Name:src > > Committed By: rmind > > Date: Sun Jan 22 03:48:51 UTC 2012 > > > > Modified Files: > > src/sys/kern

Re: CVS commit: src/sys/arch

2012-01-04 Thread Mindaugas Rasiukevicius
Chuck Silvers 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 y

Re: CVS commit: src/sys/arch

2011-12-04 Thread Mindaugas Rasiukevicius
"Chuck Silvers" 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 > src/sys/arch/x86/x86: p

Re: CVS commit: src

2011-11-24 Thread Mindaugas Rasiukevicius
Martin Husemann 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: finding someo

  1   2   3   >