NetBSD/src c355d87doc CHANGES-6.1, sys/sys param.h

   Welcome to 6.1_RC3!
VersionDeltaFile
1.1.2.117+50-1doc/CHANGES-6.1
1.408.2.10+2-2sys/sys/param.h
+52-32 files

NetBSD/src e61be63share/terminfo terminfo

   Pull up following revision(s) (requested by uwe in ticket #861):
        share/terminfo/terminfo: revision 1.6
   Pull in fix for PR misc/47674 from ncurses:
VersionDeltaFile
1.4.4.2+10-6share/terminfo/terminfo
+10-61 files

NetBSD/src 442a147sys/netinet ip_icmp.c

   Pull up following revision(s) (requested by fair in ticket #860):
        sys/netinet/ip_icmp.c: revision 1.130
   PR/47693: Erik E. Fair: Add missing code to icmp handling.
   - While there, add the rest of the missing codes
   - Merge groups
   - Fix indentation
VersionDeltaFile
1.128.2.1+32-35sys/netinet/ip_icmp.c
+32-351 files

NetBSD/src faff35fusr.bin/cap_mkdb cap_mkdb.c

   Pull up following revision(s) (requested by gdt in ticket #858):
        usr.bin/cap_mkdb/cap_mkdb.c: revision 1.28
        usr.bin/cap_mkdb/cap_mkdb.c: revision 1.29
   Move assignment out of assertion in cap_mkdb.
   PR/32591: JuanRP: Also remove the file we are going to be building to prevent
   it from being used as input.
VersionDeltaFile
1.27.4.1+12-10usr.bin/cap_mkdb/cap_mkdb.c
+12-101 files

NetBSD/src 9b7e447sys/dev/mscp mscp_subr.c

   Pull up following revision(s) (requested by martin in ticket #857):
        sys/dev/mscp/mscp_subr.c: revision 1.45
   Fix device_t split glitch
VersionDeltaFile
1.41.18.3+3-3sys/dev/mscp/mscp_subr.c
+3-31 files

NetBSD/src a6e319fsys/arch/x86/x86 intr.c

   Pull up following revision(s) (requested by chs in ticket #856):
        sys/arch/x86/x86/intr.c: revision 1.75
   only use db_printf() if we're actually called from DDB.
   this prevents the boot-time one from pausing the boot process.
VersionDeltaFile
1.72.8.1+25-14sys/arch/x86/x86/intr.c
+25-141 files

NetBSD/src d279538sys/arch/x86/acpi acpi_machdep.c, sys/arch/x86/x86 mpacpi.c

   Pull up following revision(s) (requested by chs in ticket #855):
        sys/arch/x86/acpi/acpi_machdep.c: revision 1.5
        sys/arch/x86/acpi/acpi_machdep.c: revision 1.6
        sys/arch/x86/x86/mpacpi.c: revision 1.97
   redo the ACPI interrupt handler setup again, this time handling
   MADT overrides that change the pin as well as the polarity.
   fixes PR 47648.
   yet more fixes for PR 47648 / PR 47016:
   when using a temporary mp_intr_map, initialize the "flags" field
   as well as "redir" since apic_set_redir() uses both.  fix how
   the flags field is change when applying an override, the trigger
   and polarity sub-fields aren't just one bit like they are in redir.
VersionDeltaFile
1.3.2.2+88-34sys/arch/x86/acpi/acpi_machdep.c
1.92.8.2+2-14sys/arch/x86/x86/mpacpi.c
+90-482 files

NetBSD/src 43102a3lib/libc/rpc clnt_vc.c clnt_vc.c

   Pull up following revision(s) (requested by christos in ticket #854):
        lib/libc/rpc/clnt_vc.c: revision 1.19
   PR/13082: Thorsten Brehm: Fix wrong memcpy that caused possible memory
   corruption. XXX: pullup to 6.
VersionDeltaFile
1.17.12.1+4-4lib/libc/rpc/clnt_vc.c
1.17.8.2+4-4lib/libc/rpc/clnt_vc.c
+8-82 files

NetBSD/src 4146b36sys/netinet6 udp6_output.c udp6_output.c

   Pull up following revision(s) (requested by christos in ticket #853):
        sys/netinet6/udp6_output.c: revision 1.44
   PR/47408: Anthony Mallet: sendto(2) issue with IPv6 UDP datagrams
   - don't connect when the local port is 0, just set the local port number.
   - remove redundant assignment
   XXX: pullup-6
VersionDeltaFile
1.43.14.1+6-6sys/netinet6/udp6_output.c
1.43.8.1+6-6sys/netinet6/udp6_output.c
+12-122 files

NetBSD/src 6ae98edusr.sbin/npf/npfctl npf_parse.y npfctl.c

   Pull up following revision(s) (requested by rmind in ticket #852):
        usr.sbin/npf/npfctl/npf.conf.5: revision 1.28
        usr.sbin/npf/npfctl/npf_parse.y: revision 1.19
        usr.sbin/npf/npfctl/npf_parse.y: revision 1.20
        usr.sbin/npf/npfctl/npfctl.c: revision 1.32
   Fix the example (deja vu?).
   deal with strings as interfaces
   centralize error handling and print what went wrong instead of "ioctl"
   handle port "ftp-data"
VersionDeltaFile
1.3.2.12+40-5usr.sbin/npf/npfctl/npf_parse.y
1.10.2.16+14-9usr.sbin/npf/npfctl/npfctl.c
1.9.2.9+2-2usr.sbin/npf/npfctl/npf.conf.5
+56-163 files

NetBSD/src 6de3b0dsys/sys ptree.h ptree.h

   Pull up following revision(s) (requested by rmind in ticket #851):
        sys/sys/ptree.h: revision 1.5
   Cast constants to the appropriate type.
VersionDeltaFile
1.4.8.2.4.1+4-4sys/sys/ptree.h
1.4.8.4+4-4sys/sys/ptree.h
+8-82 files

NetBSD/src d81ecbesys/dev/wscons wsmux.c

   Pull up following revision(s) (requested by jmcneill in ticket #848):
        xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_kbd.c: revision 1.18
        sys/dev/wscons/wsmux.c: revision 1.55
   If there are no devices attached to the mux and software does
   WSxxxIO_SETVERSION, the change doesn't actually get applied to the event
   source as wsmux hands off processing of these ioctls to attached devices.
   Handle these ioctls directly from the mux device instead of passing them
   through, to correct an issue that prevented keyboards and mice from working
   in X if there were zero devices attached when the X server started.
   If WSKBDIO_GTYPE succeeds and returns type=0, it is a mux with no keyboard
   attached. In this case, assume USB.
VersionDeltaFile
1.54.2.1+12-2sys/dev/wscons/wsmux.c
+12-21 files

NetBSD/src 232128bsys/dev/usb dwc_otg.c

   Pull up following revision(s) (requested by nick in ticket #847):
        sys/dev/usb/dwc_otg.c: revision 1.47
        sys/dev/usb/dwc_otg.c: revision 1.48
   Consistently use the macros to get softc, dxfer, etc.
   Fix misunderstanding of how to handle wMaxPacketSize.
   The *_host_{setup,data}_[tr]x routines already split transfers into < mps
   units, so there no reason to do it in *_setup_{ctrl,data}_chain. Fix
   short_pkt handling in the process.
   This gives urtwn a fighting change to Tx large packets.
VersionDeltaFile
1.45.2.5+75-99sys/dev/usb/dwc_otg.c
+75-991 files

NetBSD/src b61db57sys/kern subr_cprng.c subr_cprng.c

   Pull up following revision(s) (requested by tls in ticket #859):
        sys/kern/subr_cprng.c: revision 1.16
   Re-fix 'fix' for SA-2013-003.  Because the original fix evaluated a flag
   backwards, in low-entropy conditions there was a time interval in which
   /dev/urandom could still output bits on an unacceptably short key.  Output
   from /dev/random was *NOT* impacted.
   Eliminate the flag in question -- it's safest to always fill the requested
   key buffer with output from the entropy-pool, even if we let the caller
   know we couldn't provide bytes with the full entropy it requested.
   Advisory will be updated soon with a full worst-case analysis of the
   /dev/urandom output path in the presence of either variant of the
   SA-2013-003 bug.  Fortunately, because a large amount of other input
   is mixed in before users can obtain any output, it doesn't look as dangerous
   in practice as I'd feared it might be.
VersionDeltaFile
1.5.2.3.4.2+4-4sys/kern/subr_cprng.c
1.5.2.8+4-4sys/kern/subr_cprng.c
+8-82 files

NetBSD/src 1294724share/zoneinfo europe europe

   Apply changes (requested by apb in ticket #845):

   Merge tzdata2013a from ftp://ftp.iana.org/tz/releases/tzdata2013a.tar.gz
   Merge tzdata2013b from ftp://ftp.iana.org/tz/releases/tzdata2013b.tar.gz

   Changes from tzdata2012j to tzdata2013a:

      Change affecting binary data format:

        The zone offset at the end of version-2-format zone files is now
        allowed to be 24:00, as per POSIX.1-2008.  (Thanks to Arthor David Olson.)

      Changes affecting current and future time stamps:

        Chile's 2013 rules, and we guess rules for 2014 and later, will be
        the same as 2012, namely Apr Sun>=23 03:00 UTC to Sep Sun>=2 04:00 UTC.
        (Thanks to Steffen Thorsen and Robert Elz.)

        New Zones Asia/Khandyga, Asia/Ust-Nera, Europe/Busingen.

    [26 lines not shown]
VersionDeltaFile
1.1.1.44.4.5+122-5share/zoneinfo/europe
1.1.1.44.4.3.4.2+122-5share/zoneinfo/europe
1.1.1.46.4.7+32-25share/zoneinfo/southamerica
1.1.1.46.4.3.4.4+32-25share/zoneinfo/southamerica
1.1.1.30.4.3+54-1share/zoneinfo/africa
1.1.1.30.4.1.4.2+54-1share/zoneinfo/africa
+416-6220 files not shown
+661-14126 files

NetBSD/src 1affd4alib/libc/arch/alpha/gen __longjmp14.c __setjmp14.S

   Pull up following revision(s) (requested by martin in ticket #846):
        lib/libc/arch/alpha/gen/__setjmp14.S: revision 1.6
        lib/libc/arch/alpha/gen/__longjmp14.c: revision 1.6
        lib/libc/arch/alpha/gen/__longjmp14.c: revision 1.7
   Save the GP register value and restore it on longjmp.
   While formally GP is not a callee-saved register, for static linking
   the link time optimization described in section 3.2.3 of the "Calling
   Standard for Alpha Systems" allows the caller to rely on GP being the
   value needed within setjmp() - and not restore it after return if setjmp
   and the call site share a GP value.
   This fixes longjmp/setjmp for statically linked programs, e.g. /rescue/csh
   or the static tcsh variant from pkgsrc.
   Remove clearing of ucontext_t, the only random register values now are
   argument and scratch registers (which will be reloaded after return anyway).
VersionDeltaFile
1.5.30.1+2-1lib/libc/arch/alpha/gen/__longjmp14.c
1.5.10.1+2-1lib/libc/arch/alpha/gen/__setjmp14.S
1.5.24.1+2-1lib/libc/arch/alpha/gen/__longjmp14.c
1.5.4.1+2-1lib/libc/arch/alpha/gen/__setjmp14.S
+8-44 files

NetBSD/src 316f6dasys/dist/ipf/netinet fil.c ip_lookup.c

   Apply patches (requested by chs in ticket #844):
   src/sys/dist/ipf/netinet/fil.c                       patch
   src/sys/dist/ipf/netinet/ip_lookup.c         patch

        Fix some problems in IPF where a lock may be left locked
        when it should be released or unlocked when it's not locked.
        [chs, ticket #844]
VersionDeltaFile
1.53.2.1+5-7sys/dist/ipf/netinet/fil.c
1.19.2.1+2-3sys/dist/ipf/netinet/ip_lookup.c
+7-102 files

NetBSD/src f928544lib/libc/rpc pmap_getmaps.c getrpcport.c

   Pull up following revision(s) (requested by tron in ticket #843):
        lib/libc/rpc/clnt_dg.c: revision 1.28
        lib/libc/rpc/xdr_sizeof.c: revision 1.5
        lib/libc/rpc/pmap_getport.c: revision 1.19
        lib/libc/rpc/xdr_mem.c: revision 1.19
        lib/libc/rpc/svc_run.c: revision 1.22
        lib/libc/rpc/bindresvport.c: revision 1.25
        lib/libc/rpc/svc_raw.c: revision 1.24
        lib/libc/rpc/svc_dg.c: revision 1.17
        lib/libc/rpc/getnetconfig.c: revision 1.21
        lib/libc/rpc/auth_unix.c: revision 1.25
        lib/libc/rpc/svc_auth.c: revision 1.17
        lib/libc/rpc/clnt_vc.c: revision 1.21
        lib/libc/rpc/svc_auth_unix.c: revision 1.21
        lib/libc/rpc/rpcb_st_xdr.c: revision 1.10
        lib/libc/rpc/pmap_getmaps.c: revision 1.18
        lib/libc/rpc/getnetpath.c: revision 1.17
        lib/libc/rpc/clnt_simple.c: revision 1.32
        lib/libc/rpc/authunix_prot.c: revision 1.16

    [36 lines not shown]
VersionDeltaFile
1.16.62.1+30-28lib/libc/rpc/pmap_getmaps.c
1.16.66.1+30-28lib/libc/rpc/getrpcport.c
1.24.8.1+30-28lib/libc/rpc/rpc_generic.c
1.15.24.1+30-28lib/libc/rpc/xdr_reference.c
1.15.62.1+30-28lib/libc/rpc/pmap_prot2.c
1.25.8.1+30-28lib/libc/rpc/rpcb_clnt.c
+180-16843 files not shown
+1,456-1,36149 files

NetBSD/src 4719ed4sys/secmodel/extensions secmodel_extensions.c secmodel_extensions.c

   Pull up following revision(s) (requested by martin in ticket #839):
        sys/secmodel/extensions/secmodel_extensions.c: revision 1.5
   Make the callback deal with embryonic connections which do not have
   credentials yet. Fixes PR kern/47598.
VersionDeltaFile
1.2.8.2+5-2sys/secmodel/extensions/secmodel_extensions.c
1.2.2.2+5-2sys/secmodel/extensions/secmodel_extensions.c
+10-42 files

NetBSD/src 24d7fbcsys/dev/ic isp.c

   Pull up following revision(s) (requested by martin in ticket #838):
        sys/dev/ic/isp.c: revision 1.123
   Disable ICBOPT_FAST_POST for ISP 2100.
   Fixes PR kern/47302. From Matthew Jacob.
VersionDeltaFile
1.122.10.1+9-3sys/dev/ic/isp.c
+9-31 files

NetBSD/src 590b4c3lib/libterminfo tparm.c

   Pull up following revision(s) (requested by roy in ticket #835):
        lib/libterminfo/tparm.c: revision 1.8
   Ensure that we request a buffer big enough, although with the current
   terminfo specification this should never happen.
   Correctly return NULL when realloc(3) fails.
VersionDeltaFile
1.7.4.4+5-4lib/libterminfo/tparm.c
+5-41 files

NetBSD/src d0377bdsys/compat/common compat_mod.h compat_mod.c, sys/kern init_sysctl.c init_main.c

   Pull up following revision(s) (requested by pgoyette in ticket #837):
        sys/compat/common/kern_time_50.c: revision 1.25
        sys/kern/init_sysctl.c: revision 1.195
        sys/kern/init_main.c: revision 1.447
        sys/compat/common/compat_util.h: revision 1.23
        sys/compat/common/compat_mod.h: revision 1.1
        sys/compat/common/compat_mod.c: revision 1.16
        sys/compat/common/compat_mod.c: revision 1.17
        sys/compat/common/compat_mod.c: revision 1.18
        sys/compat/common/vfs_syscalls_43.c: revision 1.55
   Move boottime50 and its associated sysctl into the compat module.  As
   noted on tech-kern.  Should fix PR/47579.
   OK christos@
   Will request pull-up to 6.0 in a few days.
   Wrap sysctl_teardown(&compat_clog) with the appropriate #if defined()s
   remove empty #if
VersionDeltaFile
1.1.6.2+41-0sys/compat/common/compat_mod.h
1.14.8.1+29-6sys/compat/common/compat_mod.c
1.22.2.1+22-2sys/compat/common/kern_time_50.c
1.54.14.1+7-13sys/compat/common/vfs_syscalls_43.c
1.186.2.1+2-17sys/kern/init_sysctl.c
1.441.2.3+1-12sys/kern/init_main.c
+102-501 files not shown
+103-547 files

NetBSD/src 3d311a1external/historical/nawk/dist tran.c tran.c

   Pull up following revision(s) (requested by cheusov in ticket #836):
        external/historical/nawk/dist/tran.c: revision 1.8
   PR/47553: Aleksev Cheusov: awk segfault: NULL dereference.
VersionDeltaFile
1.5.12.1+1-1external/historical/nawk/dist/tran.c
1.5.6.1+1-1external/historical/nawk/dist/tran.c
+2-22 files

NetBSD/src d458a24lib/libterminfo term.h tparm.c, usr.bin/tput tput.c

   Pull up following revision(s) (requested by roy in ticket #835):
        lib/libterminfo/terminfo.3: revision 1.9
        lib/libterminfo/term.h: revision 1.13
        lib/libterminfo/term.h: revision 1.14
        usr.bin/tput/Makefile: revision 1.11
        lib/libterminfo/terminfo.3: revision 1.10
        lib/libterminfo/genman: revision 1.5
        lib/libterminfo/term_private.h: revision 1.11
        usr.bin/tput/tput.c: revision 1.23
        usr.bin/tput/tput.c: revision 1.24
        usr.bin/tput/tput.c: revision 1.25
        lib/libterminfo/tparm.c: revision 1.11
        lib/libterminfo/Makefile.hash: revision 1.7
        usr.bin/tput/tput.c: revision 1.26
        lib/libterminfo/tparm.c: revision 1.12
        lib/libterminfo/tparm.c: revision 1.13
        lib/libterminfo/tparm.c: revision 1.14
        lib/libterminfo/terminfo.5.in: revision 1.18
   As tparm accepts longs we should treat them as long during expansion.

    [20 lines not shown]
VersionDeltaFile
1.10.4.3+490-3lib/libterminfo/term.h
1.7.4.3+156-73lib/libterminfo/tparm.c
1.22.4.1+43-85usr.bin/tput/tput.c
1.8.4.1+13-6lib/libterminfo/terminfo.3
1.15.6.2+8-8lib/libterminfo/terminfo.5.in
1.4.8.1+4-3lib/libterminfo/genman
+714-1783 files not shown
+722-1809 files

NetBSD/src 75e1a5acrypto/external/bsd/openssl/lib/libcrypto evp.inc modes.inc, crypto/external/bsd/openssl/lib/libcrypto/arch/i386 aes.inc

   Pull up following revision(s) (requested by riastradh in ticket #832):
        crypto/external/bsd/openssl/lib/libcrypto/modes.inc: revision 1.3
        crypto/external/bsd/openssl/lib/libcrypto/arch/i386/aes.inc: revision 1.3
        crypto/external/bsd/openssl/lib/libcrypto/evp.inc: revision 1.5
   Fix build goo for OpenSSL AES-NI support.
   OpenSSL now supports AES-NI in evp, not in an engine.  We can now get
   rid of the no longer maintained aesni engine, which was broken last
   summer.  Not only can OpenSSL now use AES-NI for everything it did
   before we broke it last summer, but it can also use AES-NI for more
   encryption modes than before, such as CTR.
   Tested on amd64, both vanilla and in an i386 chroot.
   ok christos
VersionDeltaFile
1.2.4.2+12-1crypto/external/bsd/openssl/lib/libcrypto/evp.inc
1.1.8.2+1-2crypto/external/bsd/openssl/lib/libcrypto/modes.inc
1.2.4.1+1-1crypto/external/bsd/openssl/lib/libcrypto/arch/i386/aes.inc
+14-43 files

NetBSD/src f937557sys/kern uipc_usrreq.c uipc_syscalls.c

   Pull up following revision(s) (requested by riastradh in ticket #831):
        sys/kern/uipc_usrreq.c: revision 1.141
        sys/kern/uipc_syscalls.c: revision 1.159
   Fix some screw cases in cmsg file descriptor passing.
   - Don't leave garbage in the control buffer if allocating file
   descriptors fails in unp_externalize.
   - Scrub the space between CMSG_LEN and CMSG_SPACE to avoid kernel
   memory disclosure in unp_externalize.
   - Don't read past cmsg_len when closing file descriptors that
   couldn't get delivered, in free_rights.
   ok christos
VersionDeltaFile
1.136.8.3+18-8sys/kern/uipc_usrreq.c
1.154.2.4+13-9sys/kern/uipc_syscalls.c
+31-172 files

NetBSD/src 9fc478esbin/atactl atactl.c

   Pull up following revision(s) (requested by jakllsch in ticket #830):
        sbin/atactl/atactl.c: revision 1.69
   Decode 6Gbps signaling SATA capability in IDENTIFY DEVICE data.
VersionDeltaFile
1.66.4.1+3-2sbin/atactl/atactl.c
+3-21 files

NetBSD/src 9455e2dlib/libnpf npf.c, sys/net/npf npf_ruleset.c npf_ctl.c

   Pull up following revision(s) (requested by rmind in ticket #829):
        usr.sbin/npf/npfctl/npfctl.8: revision 1.13
        usr.sbin/npf/npfctl/npf_build.c: revision 1.21
        lib/libnpf/npf.c: revision 1.18
        sys/net/npf/npf_ctl.c: revision 1.23
        usr.sbin/npf/npfctl/npfctl.h: revision 1.27
        lib/libnpf/npf.h: revision 1.15
        sys/net/npf/npf_ruleset.c: revision 1.19
        sys/net/npf/npf_impl.h: revision 1.28
        usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.17
        usr.sbin/npf/npfctl/npfctl.c: revision 1.31
        usr.sbin/npf/npftest/libnpftest/npf_rule_test.c: revision 1.6
   - Convert NPF dynamic rule ID to just incremented 64-bit counter.
   - Fix multiple bugs.  Also, update the man page.
VersionDeltaFile
1.10.2.7+53-26sys/net/npf/npf_ruleset.c
1.10.2.15+11-8usr.sbin/npf/npfctl/npfctl.c
1.12.2.9+7-8sys/net/npf/npf_ctl.c
1.7.2.10+6-9lib/libnpf/npf.c
1.6.6.6+9-2usr.sbin/npf/npfctl/npfctl.8
1.3.2.12+5-2usr.sbin/npf/npfctl/npf_disassemble.c
+91-555 files not shown
+107-6711 files

NetBSD/src 099ec85external/gpl3/gdb/dist/gdb nbsd-thread.c

   Pull up following revision(s) (requested by martin in ticket #828):
        external/gpl3/gdb/dist/gdb/nbsd-thread.c: revision 1.17
   When searching for an active thread (e.g. right after switching to threaded
   mode), if no lwp is signaled, just stay with the current (inferior_ptid.lwp).
   This fixes gdb -p to a threaded process with all threads active.
   Previously we eroneously restored an lwp of 0 (returned as sentinel from
   ptrace) to inferior_ptid.lwp, which then would not match any thread in
   thread_list and caused assertion failures.
VersionDeltaFile
1.9.2.2+3-0external/gpl3/gdb/dist/gdb/nbsd-thread.c
+3-01 files

NetBSD/src 8328d99sys/dev/usb dwc_otg.c dwc_otgvar.h

   Pull up following revision(s) (requested by skrll in ticket #827):
        sys/dev/usb/dwc_otg.c: revision 1.46
        sys/dev/usb/dwc_otgvar.h: revision 1.12
   Track transfer state better to avoid races between the workqueue and
   aborting.
VersionDeltaFile
1.45.2.4+41-17sys/dev/usb/dwc_otg.c
1.11.2.4+9-3sys/dev/usb/dwc_otgvar.h
+50-202 files