CVS commit: [netbsd-5] src/dist/bzip2
Module Name:src Committed By: snj Date: Wed Sep 22 22:53:05 UTC 2010 Modified Files: src/dist/bzip2 [netbsd-5]: decompress.c Log Message: Pull up following revision(s) (requested by christos in ticket #1455): dist/bzip2/decompress.c: revision 1.2 avoid integer overflow that can lead to buffer overflow To generate a diff of this commit: cvs rdiff -u -r1.1.1.3 -r1.1.1.3.8.1 src/dist/bzip2/decompress.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/libexec/httpd
Module Name:src Committed By: snj Date: Fri Oct 15 23:25:46 UTC 2010 Modified Files: src/libexec/httpd [netbsd-5]: bozohttpd.c Log Message: Apply patch (requested by mrg in ticket #1456): fix a serious error in vhost handling; "Host:.." would allow access to the next level directory from the virtual root directory To generate a diff of this commit: cvs rdiff -u -r1.7.8.3 -r1.7.8.4 src/libexec/httpd/bozohttpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/arch
Module Name:src Committed By: riz Date: Fri Nov 19 23:19:13 UTC 2010 Modified Files: src/sys/arch/x86/x86 [netbsd-5]: bus_dma.c src/sys/arch/xen/x86 [netbsd-5]: xen_bus_dma.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1348): sys/arch/x86/x86/bus_dma.c: revision 1.54 sys/arch/xen/x86/xen_bus_dma.c: revision 1.21 bus_dmamem_alloc() may not get a boundary smaller than size, but it's perfectly valid for bus_dmamap_create() to do so (a contigous transfers will then split in multiple segment). Fix _xen_bus_dmamem_alloc_range() and _bus_dmamem_alloc_range() to allow a boundary limit smaller than size: - compute appropriate boundary for uvm_pglistalloc(), wich doesn't accept boundary < size - also take care of boundary when deciding to start a new segment. While there, remove useless boundary argument to _xen_alloc_contig(). Fix the boundary-related issue of PR port-amd64/42980 To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.45.6.1 src/sys/arch/x86/x86/bus_dma.c cvs rdiff -u -r1.11.8.2 -r1.11.8.3 src/sys/arch/xen/x86/xen_bus_dma.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/dev
Module Name:src Committed By: riz Date: Fri Nov 19 23:40:29 UTC 2010 Modified Files: src/sys/dev/mii [netbsd-5]: igphy.c inbmphyreg.h src/sys/dev/pci [netbsd-5]: if_wm.c if_wmreg.h if_wmvar.h pcidevs pcireg.h Added Files: src/sys/dev/mii [netbsd-5]: igphyvar.h Log Message: Pull up revisions (requested by msaitoh in ticket #1358): sys/dev/pci/if_wm.c 1.196-1.199,1.202,1.205 sys/dev/pci/if_wmvar.h 1.9 sys/dev/pci/if_wmreg.h 1.36-1.39 sys/dev/pci/pcireg.h1.61-1.64 sys/dev/pci/pcidevs 1.1023 sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen mii/igphy.c 1.21 mii/igphyvar.h 1.1 mii/inbmphyreg.h1.2 - Count Receive error, CRC error, Alignment error, Symbol error, Sequence error, Carrier extension error and Receive length error into ierror. Fixes PR#30349 reported by UMEZAWA Takeshi. - Add support for 82575, 82576 and 82580(ER). - Apply the patch for 82575 from Wolfgang Stukenbrock (PR#42422). We use only one RX ring and with the legacy mode. - Add support for 82576. - Partial support for 82580. - Partial support for the serdes systems. - Add two workarounds for ICH8 with igp3. - Workaround for 82566 Kumeran PCS lock loss. - WOL from S5 stops working. - (pcireg.h) Add PCIe config register definitions. - Note that the changes to count Missed packet (rx fifo overflow) and Receive no buffers (rx ring full) into iqdrops in rev. 1.196 of if_wm.c is not pulled up. To generate a diff of this commit: cvs rdiff -u -r1.16.10.1 -r1.16.10.2 src/sys/dev/mii/igphy.c cvs rdiff -u -r0 -r1.1.8.2 src/sys/dev/mii/igphyvar.h cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/mii/inbmphyreg.h cvs rdiff -u -r1.162.4.13 -r1.162.4.14 src/sys/dev/pci/if_wm.c cvs rdiff -u -r1.24.20.4 -r1.24.20.5 src/sys/dev/pci/if_wmreg.h cvs rdiff -u -r1.2.46.3 -r1.2.46.4 src/sys/dev/pci/if_wmvar.h cvs rdiff -u -r1.962.4.11 -r1.962.4.12 src/sys/dev/pci/pcidevs cvs rdiff -u -r1.57 -r1.57.20.1 src/sys/dev/pci/pcireg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/dev
Module Name:src Committed By: riz Date: Fri Nov 19 23:58:41 UTC 2010 Modified Files: src/sys/dev/mii [netbsd-5]: brgphy.c miidevs src/sys/dev/pci [netbsd-5]: if_bge.c if_bgereg.h if_bgevar.h pcidevs Log Message: Pull up revisions (requested by msaitoh in ticket #1359): sys/dev/pci/if_bge.c1.170-1.181 sys/dev/pci/if_bgereg.h 1.53-1.56 sys/dev/pci/if_bgevar.h 1.2-1.5 sys/dev/pci/pcidevs 1.1017, 1.1021 sys/dev/pci/pcidevs.h regen sys/dev/pci/pcidevs_data.h regen sys/dev/mii/miidevs 1.89, 1.93 sys/dev/mii/miidevs.h regen sys/dev/mii/miidevs_data.h regen sys/dev/mii/brgphy.c1.49, 1.52 - Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition. - Fix the bug that both BGE_PCIE and BGE_PCIX are set on PCI-Express devices. - Add support for BCM5705F,BCM5714,SBCM5715S,BCM5717,BCM5718,BCM5720,BCM5723, BCM5724,BCM5751F,BCM5753F,BCM5756,BCM5761,BCM5761E,BCM5761S,BCM5761SE, BCM5764,BCM5781,BCM5784M,BCM5903M,BCM57760,BCM57761,BCM57765,BCM57780, BCM57781,BCM57785,BCM57788,BCM57790,BCM57791 and BCM57795. Fixes PR#41694. - Fix misunderstanding the capability for TSO4 on some chips. - Use proplib for no EEPROM systems (e.g. sparc64 with onboard bge). - Add debug function to show some flags. - (brgphy(4)) Add support for BCM5461, BCM5464, BCM5784 and BCM5761. - (brgphy(4)) Enable brgphy_jumbo_settings(). - (brgphy(4)) Enable the ether...@wirespeed function. - Add support for device properties to override the mac address and set the BGE_NO_EEPROM flag if we have an onboard device w/o SEEPROM. - Introduce IPMI and ASF related code from FreeBSD. It fixes some problems which occured in netboot on sparc64 and PR#32767 - move the code of disabling host interrput in bge_stop() like linux tg3 driver. - fix the return value of bge_eeprom_getbyte(). - Fixes the bug that error bits arent cleard because these bit are W2C (in other words W1C). - Many other bugfixes from FreeBSD and OpenBSD. - remove an unused structure. - ANSI C, KNF and tabify - fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.40.4.2 -r1.40.4.3 src/sys/dev/mii/brgphy.c cvs rdiff -u -r1.78.4.3 -r1.78.4.4 src/sys/dev/mii/miidevs cvs rdiff -u -r1.152.4.4 -r1.152.4.5 src/sys/dev/pci/if_bge.c cvs rdiff -u -r1.48.4.1 -r1.48.4.2 src/sys/dev/pci/if_bgereg.h cvs rdiff -u -r1.1.8.2 -r1.1.8.3 src/sys/dev/pci/if_bgevar.h cvs rdiff -u -r1.962.4.12 -r1.962.4.13 src/sys/dev/pci/pcidevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/passwd
Module Name:src Committed By: riz Date: Sat Nov 20 00:12:37 UTC 2010 Modified Files: src/usr.bin/passwd [netbsd-5]: local_passwd.c pam_passwd.c Log Message: Pull up following revision(s) (requested by gdt in ticket #1360): usr.bin/passwd/pam_passwd.c: revision 1.5 usr.bin/passwd/local_passwd.c: revision 1.34 Log successful and unsuccessful attempts to change passwords, via -l or pam, to ease IT audit guideline compliance. Patch from Richard Hansen of BBN in private mail. Proposed on tech-kern with positive comments, except a suggestion I didn't implement: A possible future enhancement is refraining from logging if the old password is empty, as some people abort password changing that way. However, it's not clear if this complies with most guidelines that require password change logging, and at first glance that appears to be a fairly difficult change. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.31.10.1 src/usr.bin/passwd/local_passwd.c cvs rdiff -u -r1.4.18.1 -r1.4.18.2 src/usr.bin/passwd/pam_passwd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/ftp
Module Name:src Committed By: riz Date: Sat Nov 20 00:54:10 UTC 2010 Modified Files: src/usr.bin/ftp [netbsd-5]: fetch.c Log Message: Pull up following revision(s) (requested by lukem in ticket #1369): usr.bin/ftp/fetch.c: revision 1.189 avoid NULL dereference in log output if the command line parser failed to extract a port number from the URL To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.185.6.1 src/usr.bin/ftp/fetch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/ftp
Module Name:src Committed By: riz Date: Sat Nov 20 01:03:19 UTC 2010 Modified Files: src/usr.bin/ftp [netbsd-5]: extern.h fetch.c util.c Log Message: Pull up following revision(s) (requested by lukem in ticket #1370): usr.bin/ftp/extern.h: revision 1.78 usr.bin/ftp/fetch.c: revision 1.192 usr.bin/ftp/util.c: revision 1.153 Parse HTTP 'Date' entries in the `C' locale rather than the user's. Fix from [bin/42917] (with minor changes), from KAMADA Ken'ichi. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.75.4.1 src/usr.bin/ftp/extern.h cvs rdiff -u -r1.185.6.1 -r1.185.6.2 src/usr.bin/ftp/fetch.c cvs rdiff -u -r1.148 -r1.148.4.1 src/usr.bin/ftp/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/restore
Module Name:src Committed By: riz Date: Sun Nov 21 02:30:17 UTC 2010 Modified Files: src/sbin/restore [netbsd-5]: symtab.c Log Message: Pull up following revision(s) (requested by mbalmer in ticket #1397): sbin/restore/symtab.c: revision 1.26 Fix grammar in a line of output. >From Hywel Mallett via FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.23.28.1 src/sbin/restore/symtab.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/libusbhid
Module Name:src Committed By: riz Date: Sun Nov 21 02:32:26 UTC 2010 Modified Files: src/lib/libusbhid [netbsd-5]: data.c Log Message: Pull up following revision(s) (requested by plunky in ticket #1398): lib/libusbhid/data.c: revision 1.6 hid_get_data() will read an extra byte if the data being read ends on a byte boundary. This byte is subsequently discarded, but it could be a byte from memory after the end of the report being parsed. Fix this by rounding up and ending the loop one earlier. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.5.26.1 src/lib/libusbhid/data.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/arch
Module Name:src Committed By: riz Date: Sun Nov 21 02:46:24 UTC 2010 Modified Files: src/sys/arch/i386/i386 [netbsd-5]: autoconf.c src/sys/arch/x86/conf [netbsd-5]: files.x86 src/sys/arch/x86/x86 [netbsd-5]: intr.c Log Message: Pull up following revision(s) (requested by hubertf in ticket #1403): sys/arch/x86/conf/files.x86: revision 1.49 sys/arch/i386/i386/autoconf.c: revision 1.94 sys/arch/x86/x86/intr.c: revision 1.60 Add opt_intrdebug.h for the INTRDEBUG option, and #include it here and there. Fixes GENERIC/i386 compilation with 'options INTRDEBUG'. To generate a diff of this commit: cvs rdiff -u -r1.92.8.1 -r1.92.8.2 src/sys/arch/i386/i386/autoconf.c cvs rdiff -u -r1.44.4.2 -r1.44.4.3 src/sys/arch/x86/conf/files.x86 cvs rdiff -u -r1.57 -r1.57.6.1 src/sys/arch/x86/x86/intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/bin/date
Module Name:src Committed By: riz Date: Sun Nov 21 17:26:36 UTC 2010 Modified Files: src/bin/date [netbsd-5]: date.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1411): bin/date/date.c: revision 1.53 Don't blow up on date +''. Patch from Robert Elz in followup to PR 39392. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.52.4.1 src/bin/date/date.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: riz Date: Sun Nov 21 17:36:45 UTC 2010 Modified Files: src/sys/kern [netbsd-5]: sys_lwp.c Log Message: Pull up following revision(s) (requested by skrll in ticket #1415): sys/kern/sys_lwp.c: revision 1.50 Follow the correct locking protocol when creating an LWP and the process is stopping. Problem found by running the gdb testsuite (gdb didn't have pthreads support) Thanks to rmind for help with this. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.43.4.1 src/sys/kern/sys_lwp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/uvm
Module Name:src Committed By: riz Date: Sun Nov 21 18:09:00 UTC 2010 Modified Files: src/sys/uvm [netbsd-5]: uvm_bio.c uvm_fault.c uvm_map.c uvm_pager.c Log Message: Pull up following revision(s) (requested by rmind in ticket #1421): sys/uvm/uvm_bio.c: revision 1.70 sys/uvm/uvm_map.c: revision 1.292 sys/uvm/uvm_pager.c: revision 1.98 sys/uvm/uvm_fault.c: revision 1.175 sys/uvm/uvm_bio.c: revision 1.69 ubc_fault: split-off code part handling a single page into ubc_fault_page(). Keep the lock around pmap_update() where required. While fixing this in ubc_fault(), rework logic to "remember" the last object of page and reduce locking overhead, since in common case pages belong to one and the same UVM object (but not always, therefore add a comment). Unlocks before pmap_update(), on removal of mappings, might cause TLB coherency issues, since on architectures like x86 and mips64 invalidation IPIs are deferred to pmap_update(). Hence, VA space might be globally visible before IPIs are sent or while they are still in-flight. OK a...@. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.65.10.1 src/sys/uvm/uvm_bio.c cvs rdiff -u -r1.125.6.1 -r1.125.6.2 src/sys/uvm/uvm_fault.c cvs rdiff -u -r1.263.4.3 -r1.263.4.4 src/sys/uvm/uvm_map.c cvs rdiff -u -r1.92 -r1.92.14.1 src/sys/uvm/uvm_pager.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/progress
Module Name:src Committed By: riz Date: Sun Nov 21 18:40:45 UTC 2010 Modified Files: src/usr.bin/progress [netbsd-5]: progress.c Log Message: Pull up following revision(s) (requested by tron in ticket #1429): usr.bin/progress/progress.c: revision 1.18 Fix argument handling of the "-b" option on 64bit platforms. Using "-b 1024k" would previously fail with this error message: progress: buffer size 1048576 is greater than -1. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.17.4.1 src/usr.bin/progress/progress.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/netinet6
Module Name:src Committed By: riz Date: Sun Nov 21 20:13:02 UTC 2010 Modified Files: src/sys/netinet6 [netbsd-5]: esp_aesctr.c esp_core.c Log Message: Pull up following revision(s) (requested by jym in ticket #1440): sys/netinet6/esp_core.c: revision 1.46 sys/netinet6/esp_aesctr.c: revision 1.13 Fix some code paths where pointers are dereferenced after checking that they are NULL (oops?) XXX pull-ups for NetBSD-4 and NetBSD-5. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.8.20.1 src/sys/netinet6/esp_aesctr.c cvs rdiff -u -r1.40 -r1.40.44.1 src/sys/netinet6/esp_core.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/netinet6
Module Name:src Committed By: riz Date: Sun Nov 21 20:45:39 UTC 2010 Modified Files: src/sys/netinet6 [netbsd-5]: in6_proto.c ip6_etherip.c ip6_etherip.h Log Message: Pull up following revision(s) (requested by jakllsch in ticket #1445): sys/netinet6/ip6_etherip.h: revision 1.2 sys/netinet6/in6_proto.c: revision 1.89 sys/netinet6/ip6_etherip.c: revision 1.14 Make the EtherIP in IPv6 input path work. XXX: Figure out if we really need a separate protosw for IPv6. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.82.12.1 src/sys/netinet6/in6_proto.c cvs rdiff -u -r1.11 -r1.11.4.1 src/sys/netinet6/ip6_etherip.c cvs rdiff -u -r1.1 -r1.1.70.1 src/sys/netinet6/ip6_etherip.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/arch
Module Name:src Committed By: riz Date: Sun Nov 21 17:43:03 UTC 2010 Modified Files: src/sys/arch/amd64/conf [netbsd-5]: XEN3_DOM0 src/sys/arch/i386/conf [netbsd-5]: XEN2_DOM0 Log Message: Pull up following revision(s) (requested by bouyer in ticket #1419): sys/arch/i386/conf/XEN2_DOM0: patch sys/arch/amd64/conf/XEN3_DOM0: revision 1.55 Sync DKWEDGE options with GENERIC To generate a diff of this commit: cvs rdiff -u -r1.33.4.5 -r1.33.4.6 src/sys/arch/amd64/conf/XEN3_DOM0 cvs rdiff -u -r1.53.2.5 -r1.53.2.6 src/sys/arch/i386/conf/XEN2_DOM0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/libutil
Module Name:src Committed By: riz Date: Sun Nov 21 20:38:38 UTC 2010 Modified Files: src/lib/libutil [netbsd-5]: parsedate.3 parsedate.y Log Message: Pull up following revision(s) (requested by tron in ticket #1443): lib/libutil/parsedate.3: revision 1.7 lib/libutil/parsedate.y: revision 1.5 Add support for parsing the data format "@" e.g. "@735275209" for "Tue Apr 20 03:06:49 UTC 1993". This change was inspired by coreutil's "date" utility. Mention recent enhancement and not that this function is neither re-entrant nor thread-safe. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.6.1 src/lib/libutil/parsedate.3 cvs rdiff -u -r1.3 -r1.3.4.1 src/lib/libutil/parsedate.y Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.sbin/sa
Module Name:src Committed By: riz Date: Sun Nov 21 20:51:53 UTC 2010 Modified Files: src/usr.sbin/sa [netbsd-5]: usrdb.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1446): usr.sbin/sa/usrdb.c: revision 1.14 On LP64 platforms, uid_t is not the same size as u_long, so the key comparison function being given to db was comparing 4 extra bytes of rubbish. This may or may not be the *only* source of the corrupted /var/account/usracct files I've been seeing occasionally on amd64, but it's clearly *a* source. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.38.1 src/usr.sbin/sa/usrdb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/routed
Module Name:src Committed By: riz Date: Sun Nov 21 21:30:21 UTC 2010 Modified Files: src/sbin/routed [netbsd-5]: if.c Log Message: Pull up following revision(s) (requested by martin in ticket #1460): sbin/routed/if.c: revision 1.29 Memcpy into local variable to ensure proper alignement. Fixes PR port-sparc64/43965. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.26.16.1 src/sbin/routed/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/netbt
Module Name:src Committed By: riz Date: Sun Nov 21 21:36:07 UTC 2010 Modified Files: src/sys/netbt [netbsd-5]: hci_link.c Log Message: Pull up following revision(s) (requested by plunky in ticket #1461): sys/netbt/hci_link.c: revision 1.22 Some Broadcom controllers emit empty ACL packets during connection setup, using the handle that they have not yet told us for the connection-to-be. Disconnecting can cause problems so just ignore zero length ACL packets on unknown connection handles. fixes a problem reported by Nick Hudson To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.12.1 src/sys/netbt/hci_link.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/make
Module Name:src Committed By: riz Date: Sun Nov 21 18:45:00 UTC 2010 Modified Files: src/usr.bin/make [netbsd-5]: job.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1433): usr.bin/make/job.c: revision 1.152 PR/43643: David A. Holland: dash prefix broken with make -j As the comment says in JobPrintJob set JOB_IGNERR with - commands. Fix whitespace so that the output is consistent, although there are two separate execution logic implementations (command.c, job.c) To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.141.2.1 src/usr.bin/make/job.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/dev
Module Name:src Committed By: riz Date: Sun Nov 21 21:44:07 UTC 2010 Modified Files: src/sys/dev/acpi [netbsd-5]: wb_acpi.c src/sys/dev/ic [netbsd-5]: w83l518d.c w83l518d_sdmmc.c w83l518d_sdmmc.h w83l518dvar.h Log Message: Pull up following revision(s) (requested by jmcneill in ticket #1462): sys/dev/acpi/wb_acpi.c: revision 1.3 sys/dev/ic/w83l518d_sdmmc.c: revision 1.2 sys/dev/ic/w83l518d_sdmmc.h: revision 1.2 sys/dev/ic/w83l518d.c: revision 1.2 sys/dev/ic/w83l518dvar.h: revision 1.2 add suspend/resume support add pmf support To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/acpi/wb_acpi.c cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/ic/w83l518d.c \ src/sys/dev/ic/w83l518d_sdmmc.c src/sys/dev/ic/w83l518d_sdmmc.h \ src/sys/dev/ic/w83l518dvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: riz Date: Sun Nov 21 21:48:29 UTC 2010 Modified Files: src/sys/kern [netbsd-5]: subr_disk.c Log Message: Pull up following revision(s) (requested by mrg in ticket #1463): sys/kern/subr_disk.c: revision 1.100 add some (uint64_t) casts so avoid 32 bit overflows. this fixes my 3TB disk with 4KB sectors and disklabel (which looks like it would work upto 16TB.) idea from mlel...@. To generate a diff of this commit: cvs rdiff -u -r1.93.10.1 -r1.93.10.2 src/sys/kern/subr_disk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/gpt
Module Name:src Committed By: riz Date: Sun Nov 21 21:59:38 UTC 2010 Modified Files: src/sbin/gpt [netbsd-5]: gpt.c Log Message: Pull up following revision(s) (requested by christos in ticket #1464): sbin/gpt/gpt.c: revision 1.11 PR/43105: Peter Kerwien: Destroying a GPT partition with dd will cause gpt destroy / create to fail. When reading the GPT label from the end of the disk ignore errors if the GPT label at the beginning of the disk was not found. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.8.6.1 src/sbin/gpt/gpt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/passwd
Module Name:src Committed By: riz Date: Mon Nov 22 02:41:07 UTC 2010 Modified Files: src/usr.bin/passwd [netbsd-5]: yp_passwd.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1476): usr.bin/passwd/yp_passwd.c: revision 1.34 PR/43852: Wolfgang Stukenbrock: yp_passwd command may destroy NIS database entries when used on a server that includes users via netgroups. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.32.10.1 src/usr.bin/passwd/yp_passwd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: riz Date: Mon Nov 22 02:52:29 UTC 2010 Modified Files: src/sys/kern [netbsd-5]: vfs_wapbl.c Log Message: Pull up following revision(s) (requested by hannken in ticket #1477): sys/kern/vfs_wapbl.c: revision 1.38 Wapbl_register_deallocation(): the taken reader lock is not sufficient to protect wl_dealloc* members. Take the mutex here and change the lock requirements of these fields to "writer lock or mutex". This error lead to file system corruption and "freeing free block" panics. To generate a diff of this commit: cvs rdiff -u -r1.3.8.2 -r1.3.8.3 src/sys/kern/vfs_wapbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/comm
Module Name:src Committed By: riz Date: Mon Nov 22 03:08:37 UTC 2010 Modified Files: src/usr.bin/comm [netbsd-5]: comm.c Log Message: Pull up following revision(s) (requested by darcy in ticket #1172): usr.bin/comm/comm.c: revision 1.18 Don't include newlines when comparing to prevent errors when lines have characters that sort lower such as tabs. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.16.4.1 src/usr.bin/comm/comm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/gpt
Module Name:src Committed By: riz Date: Wed Nov 24 19:12:44 UTC 2010 Modified Files: src/sbin/gpt [netbsd-5]: gpt.c Log Message: Pull up following revision(s) (requested by christos in ticket #1464): sbin/gpt/gpt.c: revision 1.11 sbin/gpt/gpt.c: revision 1.12 PR/43105: Peter Kerwien: Destroying a GPT partition with dd will cause gpt destroy / create to fail. When reading the GPT label from the end of the disk ignore errors if the GPT label at the beginning of the disk was not found. fix printf format. To generate a diff of this commit: cvs rdiff -u -r1.8.6.1 -r1.8.6.2 src/sbin/gpt/gpt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/net
Module Name:src Committed By: riz Date: Thu Dec 9 04:11:39 UTC 2010 Modified Files: src/sys/net [netbsd-5]: if_tap.c Log Message: Pull up following revision(s) (requested by christos in ticket #1492): sys/net/if_tap.c: revision 1.66 PR/44131: Matthew Mondor: if_tap.c tap_dev_ioctl() not propagating error, always returns 0. To generate a diff of this commit: cvs rdiff -u -r1.47.4.7 -r1.47.4.8 src/sys/net/if_tap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/etc/mtree
Module Name:src Committed By: riz Date: Thu Dec 9 04:17:23 UTC 2010 Modified Files: src/etc/mtree [netbsd-5]: special Log Message: Pull up following revision(s) (requested by uwe in ticket #1494): etc/mtree/special: revision 1.132 Add "optional" keyword to rc.d/xdm and rc.d/xfs. Fixes PR misc/43307. To generate a diff of this commit: cvs rdiff -u -r1.121.2.3 -r1.121.2.4 src/etc/mtree/special Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: riz Date: Tue Dec 21 22:21:42 UTC 2010 Modified Files: src/sys/kern [netbsd-5]: init_main.c Log Message: Pull up following revision(s) (requested by skrll in ticket #1496): sys/kern/init_main.c: revision 1.418 fix LOCKDEBUG panic 'uninitialized lock'. seminit() calls exithook_establish(). exithook_establish() uses the exec_lock. exec_lock is initialzed by exec_init(1). Call exec_init(1) before seminit(). To generate a diff of this commit: cvs rdiff -u -r1.371.2.4 -r1.371.2.5 src/sys/kern/init_main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/dev
Module Name:src Committed By: riz Date: Tue Dec 21 22:25:57 UTC 2010 Modified Files: src/sys/dev [netbsd-5]: audio.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #1498): sys/dev/audio.c: revision 1.252 Fix botches in rev 1.185 (kent-audio1 merge) which cause buffer overrun and "tlb_exception: no copyin/out fault hander" panic in audio_fill_silence() after audio playback on dreamcast. The problem is tracked and fix is provieded by Ryo SHIMIZU, who is the auther of aica(4) audio driver for dreamcast. To generate a diff of this commit: cvs rdiff -u -r1.243.6.3 -r1.243.6.4 src/sys/dev/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/etc/rc.d
Module Name:src Committed By: riz Date: Fri Jan 7 01:06:34 UTC 2011 Modified Files: src/etc/rc.d [netbsd-5]: named Log Message: Pull up following revision(s) (requested by tron in ticket #1519): etc/rc.d/named: revision 1.21 etc/rc.d/named: revision 1.19 Adjust for new default location of the pid file. handle new directory structure. To generate a diff of this commit: cvs rdiff -u -r1.18.28.1 -r1.18.28.2 src/etc/rc.d/named Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/dev
Module Name:src Committed By: riz Date: Fri Jan 7 01:35:05 UTC 2011 Modified Files: src/sys/dev [netbsd-5]: rnd.c Log Message: Pull up following revision(s) (requested by pooka in ticket #1502): sys/dev/rnd.c: revision 1.79 Don't allow "goes to 11^H^Hhyperspace" len field for RNDADDATA. To generate a diff of this commit: cvs rdiff -u -r1.71.4.2 -r1.71.4.3 src/sys/dev/rnd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.sbin/nfsd
Module Name:src Committed By: riz Date: Fri Jan 7 06:27:51 UTC 2011 Modified Files: src/usr.sbin/nfsd [netbsd-5]: nfsd.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1515): usr.sbin/nfsd/nfsd.c: revision 1.57 PR/42486: Ed Ravin nfsd sometimes exits prematurely during port-scan fix from freebsd bin 61084 applied (preserving errno properly). The accept code should be merged. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.54.4.1 src/usr.sbin/nfsd/nfsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/libpam
Module Name:src Committed By: riz Date: Fri Jan 7 23:50:30 UTC 2011 Modified Files: src/lib/libpam [netbsd-5]: Makefile src/lib/libpam/modules [netbsd-5]: mod.mk Added Files: src/lib/libpam/staticmodules [netbsd-5]: Makefile Log Message: Pull up following revision(s) (requested by christos in ticket #1414): lib/libpam/Makefile: revision 1.3 share/mk/bsd.own.mk: revision 1.612 lib/libpam/modules/mod.mk: revision 1.8 lib/libpam/modules/mod.mk: revision 1.9 lib/libpam/staticmodules/Makefile: revision 1.1 make the dependency to libpam, explicit. Fixes afpd in pkgsrc. From Mark Davies XXX: Should be pulled up to 4.x and 5.x. Build the modules in two phases: 1. build the static modules first, before libpam so that the static libpam can link against the module .a files. 2. build the modules after the dynamic libpam is build, so that the dynamic modules can link against the dynamic libpam. enable MAKEDIRTARGET to be called with a separate environment, called $MAKEDIRTARGETENV, defaulting to nothing. make the dependency to libpam, explicit. Fixes afpd in pkgsrc. From Mark Davies XXX: Should be pulled up to 4.x and 5.x. Build the modules in two phases: 1. build the static modules first, before libpam so that the static libpam can link against the module .a files. 2. build the modules after the dynamic libpam is build, so that the dynamic modules can link against the dynamic libpam. To generate a diff of this commit: cvs rdiff -u -r1.2.32.2 -r1.2.32.3 src/lib/libpam/Makefile cvs rdiff -u -r1.6.2.3 -r1.6.2.4 src/lib/libpam/modules/mod.mk cvs rdiff -u -r0 -r1.1.2.4 src/lib/libpam/staticmodules/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/etc/ssh
Module Name:src Committed By: bouyer Date: Sun Jan 16 12:43:04 UTC 2011 Modified Files: src/etc/ssh [netbsd-5]: ssh_known_hosts Log Message: Pull up following revision(s) (requested by riz in ticket #1516): etc/ssh/ssh_known_hosts: revision 1.6 releng has been on mollari for a while now. Also, add wiki To generate a diff of this commit: cvs rdiff -u -r1.4.26.1 -r1.4.26.2 src/etc/ssh/ssh_known_hosts Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/net
Module Name:src Committed By: bouyer Date: Sun Jan 16 13:04:33 UTC 2011 Modified Files: src/sys/net [netbsd-5]: raw_usrreq.c Log Message: Pull up following revision(s) (requested by pooka in ticket #1529): sys/net/raw_usrreq.c: revision 1.36 Apply patch from PR kern/44369 by Wolfgang Stukenbrock. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.35.8.1 src/sys/net/raw_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/newfs_ext2fs
Module Name:src Committed By: jdc Date: Mon Jan 17 12:45:00 UTC 2011 Modified Files: src/sbin/newfs_ext2fs [netbsd-5]: extern.h Log Message: Add change : sbin/newfs_ext2fs/extern.h: revision 1.3 required for ticket #1486. Original commit message was: Pull up following revision(s) (requested by tsutsui in ticket #1486): sbin/fsck_ext2fs/setup.c: revision 1.26 sbin/newfs_ext2fs/mke2fs.c: revision 1.10 sbin/newfs_ext2fs/mke2fs.c: revision 1.11 sbin/newfs_ext2fs/mke2fs.c: revision 1.12 sbin/fsck_ext2fs/inode.c: revision 1.24 sys/lib/libsa/ext2fs.c: revision 1.6 sbin/newfs_ext2fs/extern.h: revision 1.3 sbin/fsck_ext2fs/inode.c: revision 1.25 sys/lib/libsa/ext2fs.c: revision 1.7 sbin/fsck_ext2fs/inode.c: revision 1.26 sys/ufs/ext2fs/ext2fs_inode.c: revision 1.68 sbin/fsck_ext2fs/inode.c: revision 1.27 sbin/fsck_ext2fs/inode.c: revision 1.28 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.18 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.19 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.5 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.2 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.6 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.3 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.142 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.7 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.4 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.8 PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes Support variable inode sizes. catch up with variable inode size. Don't use e2fs_inode_size in superblock on E2FS_REV0 file system. - accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0 - use inodesize to get offset of inode, not struct ext2fs_dinode array Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro. Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array. Fix botched logic in inodesize check. Use inodesize to get offset of inode in one more place. - add a sanity check for e2fs_inode_size in readsb() - use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets Sort options. New sentence, new line. Sort options in usage. - unsigned -> unsigned int - remove unnecessary casts from malloc(3) and free(3) - fix a bogus indent Use "size > INT32_MAX" rather than "size >= 0x8000U" to check 2GB limit. Add missed byteswap ops against ext2fs_dinode members. Handle 32 bit uid field on E2FS_REV1. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.12.1 src/sbin/newfs_ext2fs/extern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Wed Feb 16 19:31:44 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: vfs_wapbl.c Log Message: Pull up following revision(s) (requested by tron in ticket #1535): sys/kern/vfs_wapbl.c: revision 1.39 via patch Add two sysctls one that does verbose transaction logging and a second one that disables flushing the disk cache (which is fast but dangerous for data integrity). From simon a long while back. To generate a diff of this commit: cvs rdiff -u -r1.3.8.3 -r1.3.8.4 src/sys/kern/vfs_wapbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.sbin/ypbind
Module Name:src Committed By: bouyer Date: Wed Feb 16 21:04:04 UTC 2011 Modified Files: src/usr.sbin/ypbind [netbsd-5]: ypbind.c Log Message: Pull up following revision(s) (requested by chuck in ticket #1549): usr.sbin/ypbind/ypbind.c: revision 1.58 - 1.61 in the case where ypbind is serving more than one domain (i.e. not just the yp_get_default_domain() domain), we must remove any old binding files from /var/yp/binding (BINDINGDIR) from previous runs, or the non-yp_get_default_domain()'s will not bind properly. add a purge_bindingdir() function that basically does "rm BINDINGDIR/*.[0-9]" at ypbind startup time. example case of where this is an issue: bind a second (non-default) domain. ypbind will create and flock a /var/yp/binding/xxx.2 file for it. stop and restart ypbind. the old /var/yp/binding/xxx.2 file will remain from the previous run. since it is not flock()'d by the new instance of ypbind, libc functions like yp_master() will fail without even bothering to talk to ypbind itself. (and ypbind is totally unaware of the old file...) To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.57.18.1 src/usr.sbin/ypbind/ypbind.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/xargs
Module Name:src Committed By: bouyer Date: Wed Feb 16 21:17:51 UTC 2011 Modified Files: src/usr.bin/xargs [netbsd-5]: xargs.1 Log Message: Pull up following revision(s) (requested by dholland in ticket #1552): usr.bin/xargs/xargs.1: revision 1.21 usr.bin/xargs/xargs.1: revision 1.22 PR/44259: Aleksey Cheusov: xargs: -r option is supported but not documented Synced with the FreeBSD doc. Talk more about NetBSD and less about FreeBSD. Sort sections. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.12.1 src/usr.bin/xargs/xargs.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: riz Date: Mon Mar 7 04:09:28 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: vfs_wapbl.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1543): sys/kern/vfs_wapbl.c: revision 1.27 sys/kern/vfs_wapbl.c: revision 1.28 Turn a KASSERT into a panic. I don't want us to be randomly overwriting memory on non-DIAGNOSTIC kernels if resource estimation fails. Add dealloccnt to list of things to be considered in the stetson-harrison decision making algorithm for flushing a wapbl transation. To generate a diff of this commit: cvs rdiff -u -r1.3.8.4 -r1.3.8.5 src/sys/kern/vfs_wapbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: snj Date: Mon Mar 7 17:08:28 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: init_sysctl.c Log Message: Apply patch (requested by joerg in ticket 1575): Sanitize arguments before memory allocation. To generate a diff of this commit: cvs rdiff -u -r1.149.4.7 -r1.149.4.8 src/sys/kern/init_sysctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/disklabel
Module Name:src Committed By: riz Date: Tue Mar 8 17:05:32 UTC 2011 Modified Files: src/sbin/disklabel [netbsd-5]: Makefile Log Message: Pull up following revision(s) (requested by dholland in ticket #1561): sbin/disklabel/Makefile: revision 1.67 Disable COMPAT_386BSD_MBRPART. The code is still here if anyone needs it for some reason. (But I have no idea why that would be -- if you have one of these really ancient partitions and you're about to run disklabel, you can easily run fdisk first and change the partition type to NetBSD.) As it stands, the code will munch FreeBSD installs under some circumstances, which is really not acceptable behavior. The code, along with the kernel support that's been disabled by default for several years, and some related but less dangerous code in sysinst, should prboably be removed entirely after -6 is branched. Discussed on tech-kern and tech-userlevel; closes PR 44496. This is also almost certainly the cause of PR 42521 and PR 38841. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.61.6.1 src/sbin/disklabel/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Sun Mar 20 21:19:57 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: vfs_syscalls.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1567): sys/kern/vfs_syscalls.c: revision 1.415 via patch Check for bogus flags to access() up front. Otherwise we end up calling VOP_ACCESS with flags 0 and something asserts deep in the bowels of kauth. PR 44648 from Taylor Campbell. (I moved the check earlier relative to the suggested patch.) Pullup candidate. To generate a diff of this commit: cvs rdiff -u -r1.376.4.5 -r1.376.4.6 src/sys/kern/vfs_syscalls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/librefuse
Module Name:src Committed By: bouyer Date: Sun Mar 20 21:21:57 UTC 2011 Modified Files: src/lib/librefuse [netbsd-5]: refuse_opt.c Log Message: Pull up following revision(s) (requested by soda in ticket #1568): lib/librefuse/refuse_opt.c: revision 1.15 fuse_opt_parse() was using uninitialized struct fuse_opt_option::data, this bug made fuse_opt_proc_t not work, if it used first ``data'' argument, and might cause memory corruption even. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.13.12.1 src/lib/librefuse/refuse_opt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/net
Module Name:src Committed By: bouyer Date: Sun Mar 20 21:28:08 UTC 2011 Modified Files: src/sys/net [netbsd-5]: bpf_filter.c Log Message: Pull up following revision(s) (requested by spz in ticket #1571): sys/net/bpf_filter.c: revision 1.42 - 1.46 via patch Avoid stack memory disclosure by keeping track during filter validation time of initialized memory. Idea taken from linux. Use __CTASSERT Use kmem instead of malloc. Requested by rmind. Fix userland build. delint. To generate a diff of this commit: cvs rdiff -u -r1.35.4.1 -r1.35.4.2 src/sys/net/bpf_filter.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/nfs
Module Name:src Committed By: riz Date: Tue Mar 29 19:34:46 UTC 2011 Modified Files: src/sys/nfs [netbsd-5]: nfs_socket.c Log Message: Pull up following revision(s) (requested by tls in ticket #1580): sys/nfs/nfs_socket.c: revision 1.175 avoid noisy nfs_timer/nfs_reply DEBUG output that occurs when the NFS server goes away. use ratelimit(9) and only print the console error once every 10 seconds. PR#31562. To generate a diff of this commit: cvs rdiff -u -r1.173.4.4 -r1.173.4.5 src/sys/nfs/nfs_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/nfs
Module Name:src Committed By: riz Date: Tue Mar 29 19:36:50 UTC 2011 Modified Files: src/sys/nfs [netbsd-5]: nfs_socket.c Log Message: Pull up following revision(s) (requested by tls in ticket #1581): sys/nfs/nfs_socket.c: revision 1.181 If send fails with EMSGSIZE for whatever reason, it's unlikely to succeed no matter how hard we retry. So just fail the request. To generate a diff of this commit: cvs rdiff -u -r1.173.4.5 -r1.173.4.6 src/sys/nfs/nfs_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/nfs
Module Name:src Committed By: riz Date: Tue Mar 29 19:38:56 UTC 2011 Modified Files: src/sys/nfs [netbsd-5]: nfs_socket.c Log Message: Pull up following revision(s) (requested by tls in ticket #1582): sys/nfs/nfs_socket.c: revision 1.185 nfs_request: fix races which break congestion window and make nfs client stuck. To generate a diff of this commit: cvs rdiff -u -r1.173.4.6 -r1.173.4.7 src/sys/nfs/nfs_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/nfs
Module Name:src Committed By: riz Date: Tue Mar 29 19:47:37 UTC 2011 Modified Files: src/sys/nfs [netbsd-5]: nfs_socket.c Log Message: Pull up following revision(s) (requested by tls in ticket #1583): sys/nfs/nfs_socket.c: revision 1.186 nfs_msg: #if 0 out tprintf for now and comment why. To generate a diff of this commit: cvs rdiff -u -r1.173.4.7 -r1.173.4.8 src/sys/nfs/nfs_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/netinet
Module Name:src Committed By: riz Date: Tue Mar 29 20:12:14 UTC 2011 Modified Files: src/sys/netinet [netbsd-5]: tcp_output.c Log Message: Pull up following revision(s) (requested by spz in ticket #1586): sys/netinet/tcp_output.c: revision 1.170 Clean up setting ECN bit in TOS. Fixes PR 44742 To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.167.10.1 src/sys/netinet/tcp_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/net
Module Name:src Committed By: riz Date: Tue Apr 5 06:10:50 UTC 2011 Modified Files: src/sys/net [netbsd-5]: bpf.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1587): sys/net/bpf.c: revision 1.163 Allocate buffers with (M_WAITOK | M_CANFAIL) instead of M_NOWAIT. M_NOWAIT cause dhcpd on a low-memory server with lots of interfaces to occasionally fail to start with ENOBUFS; (M_WAITOK | M_CANFAIL) seems to fix this. Tested on 3 different dhcp servers. To generate a diff of this commit: cvs rdiff -u -r1.141.6.1 -r1.141.6.2 src/sys/net/bpf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/nfs
Module Name:src Committed By: riz Date: Sun Apr 24 16:23:49 UTC 2011 Modified Files: src/sys/nfs [netbsd-5]: nfs_socket.c Log Message: Pull up following revision(s) (requested by tls in ticket #1600): sys/nfs/nfs_socket.c: revision 1.189 As suggested by matt@: change socket buffer reservations for NFS send/receive to 3 times max RPC size rather than 2 times. Avoids nasty TCP stalls observed at Panix. Will require increase to sbmax via sysctl for those running really huge NFS rsize/wsize (>64K). To generate a diff of this commit: cvs rdiff -u -r1.173.4.8 -r1.173.4.9 src/sys/nfs/nfs_socket.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/patch
Module Name:src Committed By: bouyer Date: Fri May 20 19:22:20 UTC 2011 Modified Files: src/usr.bin/patch [netbsd-5]: patch.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1614): usr.bin/patch/patch.c: revision 1.28 Exit with EXIT_FAILURE for invalid arguments. PR 43517. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.27.4.1 src/usr.bin/patch/patch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/sys
Module Name:src Committed By: bouyer Date: Fri May 20 19:26:01 UTC 2011 Modified Files: src/sys/sys [netbsd-5]: bitops.h Log Message: Pull up following revision(s) (requested by jym in ticket #1616): sys/sys/bitops.h: revision 1.8 Use fls64() only for types strictly bigger than 4 bytes. ok christos@. Will ask for a pull-up, using 64 bits ops even for 4-bytes int's is plain overkill. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.10.1 src/sys/sys/bitops.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Fri May 20 19:28:57 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: kern_acct.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1618): sys/kern/kern_acct.c: revision 1.91 Fix up sign-compare issue checking for free space. Should fix PR 43413 where accounting doesn't suspend properly. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.86.12.1 src/sys/kern/kern_acct.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Sat Jun 18 16:35:51 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: kern_fork.c Log Message: Pull up following revision(s) (requested by rmind in ticket #1629): sys/kern/kern_fork.c: revision 1.181 Inherit proc_t::p_mqueue_cnt on fork(). To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.171.4.1 src/sys/kern/kern_fork.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Sat Jun 18 16:42:04 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: uipc_domain.c uipc_proto.c uipc_usrreq.c Log Message: Pull up following revision(s) (requested by manu in ticket #1633): sys/kern/uipc_domain.c: revision 1.86 sys/kern/uipc_usrreq.c: revision 1.134 sys/kern/uipc_proto.c: revision 1.22 Add SOCK_SEQPACKET to PL_LOCAL sockets. Based on patch from Jesse Off, submitted 8 years ago: http://mail-index.netbsd.org/tech-kern/2003/04/14/0006.html To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.76.12.1 src/sys/kern/uipc_domain.c cvs rdiff -u -r1.21 -r1.21.12.1 src/sys/kern/uipc_proto.c cvs rdiff -u -r1.119.4.3 -r1.119.4.4 src/sys/kern/uipc_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Sun Jun 19 20:47:45 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: uipc_domain.c Log Message: Fix fallout from ticket 1633. Patch from plunky@, confirmed by manu@ (ticket author). To generate a diff of this commit: cvs rdiff -u -r1.76.12.1 -r1.76.12.2 src/sys/kern/uipc_domain.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/netatalk
Module Name:src Committed By: sborrill Date: Thu Jun 30 09:31:15 UTC 2011 Modified Files: src/sys/netatalk [netbsd-5]: aarp.c aarp.h ddp_usrreq.c Log Message: Pull up the following revisions(s) (requested by bouyer in ticket #1622): sys/netatalk/aarp.c:revision 1.35 sys/netatalk/aarp.h:revision 1.3 sys/netatalk/ddp_usrreq.c: revision 1.40 aarpprobe() is called before MOWNER_ATTACH(&aarp_mowner), leading to a DIAGNOSTIC panic when MBUFTRACE is defined and atalkd is started. Fix by moving MOWNER_ATTACH(&aarp_mowner) to ddp_init(). Fixes PR kern/44734 To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.27.12.1 src/sys/netatalk/aarp.c cvs rdiff -u -r1.2 -r1.2.86.1 src/sys/netatalk/aarp.h cvs rdiff -u -r1.33 -r1.33.10.1 src/sys/netatalk/ddp_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.sbin/makefs
Module Name:src Committed By: riz Date: Fri Jul 15 22:39:02 UTC 2011 Modified Files: src/usr.sbin/makefs [netbsd-5]: cd9660.c src/usr.sbin/makefs/cd9660 [netbsd-5]: iso9660_rrip.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #1638): usr.sbin/makefs/cd9660/iso9660_rrip.c: revision 1.9 usr.sbin/makefs/cd9660/iso9660_rrip.c: revision 1.10 usr.sbin/makefs/cd9660.c: revision 1.30 - remove unnecessary (pasto?) line on RRIP PL handling for moved dir - RRIP RE length should be 4, not 0 Apply fixes for PR bin/44114 (makefs(8) -t cd9660 -o rockridge creates corrupted cd9660fs): - makefs/cd9660.c: - cd9660_rrip_move_directory() should also update lenght[0] and name_len[0] in dir->isoDirRecord - makefs/cd9660/iso9660_rrip.c: - cd9660_rrip_finalize_node() should check rr_real_parent in node->parent, not in node itself in RRIP_PL case - cd9660_rrip_initialize_node() should update only node passed as arg so handle RRIP_PL in DOTDOT case Fixes malformed dotdot entries in deep (more than 8 level) directories moved into .rr_moved dir. Should be pulled up to netbsd-5. (no official ISO has such deep dirs, but cobalt restorecd is affected) To generate a diff of this commit: cvs rdiff -u -r1.22.2.2 -r1.22.2.3 src/usr.sbin/makefs/cd9660.c cvs rdiff -u -r1.4.18.4 -r1.4.18.5 src/usr.sbin/makefs/cd9660/iso9660_rrip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/arch
Module Name:src Committed By: riz Date: Fri Jul 15 22:43:59 UTC 2011 Modified Files: src/sys/arch/mvme68k/stand/libsa [netbsd-5]: exec_mvme.c src/sys/arch/sun68k/stand/tapeboot [netbsd-5]: boot.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #1639): sys/arch/sun68k/stand/tapeboot/boot.c: revision 1.7 via patch sys/arch/mvme68k/stand/libsa/exec_mvme.c: revision 1.16 via patch Disable LOAD_BACKWARDS on tapeboot which can't seek backwards. Fixes bootstrap tapeboot installation failure on TME reported from ryoon@. Should be pulled up to netbsd-5. (note netbsd-5 uses LOAD_NOTE instead of LOAD_BACKWARDS) Avoid backward seek on tape boot. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.15.20.1 src/sys/arch/mvme68k/stand/libsa/exec_mvme.c cvs rdiff -u -r1.5 -r1.5.88.1 src/sys/arch/sun68k/stand/tapeboot/boot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/net
Module Name:src Committed By: riz Date: Mon Aug 8 19:33:34 UTC 2011 Modified Files: src/sys/net [netbsd-5]: if.c Log Message: Pull up following revision(s) (requested by sborrill in ticket #1643): sys/net/if.c: revision 1.243 Prevent if_detach() from crashing while it walks the routing table to find and unlink routes that reference the detached ifnet: make if_rt_walktree() return ERESTART whenever it has deleted a route. Whenever rt_walktree() returns ERESTART, if_detach() restarts it. I believe that this fix resembles one by Jonathan Kollasch or by someone else, which has languished in a PR for too long. Sorry! Tested by me and by Jeff Rizzo. XXX It's supposed to be safe for rn_walktree() to apply to the routing XXX table a routine that may delete routes. Why isn't it safe in XXX practice? To generate a diff of this commit: cvs rdiff -u -r1.230.4.4 -r1.230.4.5 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/share/mk
Module Name:src Committed By: riz Date: Mon Aug 8 19:50:30 UTC 2011 Modified Files: src/share/mk [netbsd-5]: bsd.x11.mk Log Message: Pull up following revision(s) (requested by dholland in ticket #1646): share/mk/bsd.x11.mk: revision 1.98 Fix the value of "appdefaultdir" that ends up in native X .pc files. (It should be "app-defaults" but was "app-default", probably because of a typo; it's been wrong ever since this logic was put in two and a half years ago, and as app-defaults files are a legacy mechanism it took this long for anyone to notice.) Should be pulled up to -5. To generate a diff of this commit: cvs rdiff -u -r1.70.2.2 -r1.70.2.3 src/share/mk/bsd.x11.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/librefuse
Module Name:src Committed By: riz Date: Mon Aug 8 19:53:29 UTC 2011 Modified Files: src/lib/librefuse [netbsd-5]: refuse.c Log Message: Pull up following revision(s) (requested by tron in ticket #1648): lib/librefuse/refuse.c: revision 1.93 Don't ignore "userdata" argument in "fuse_main_real". This can crash a FUSE file-system that passes a non-NULL argument here. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.89.4.1 src/lib/librefuse/refuse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/librefuse
Module Name:src Committed By: riz Date: Mon Aug 8 19:55:27 UTC 2011 Modified Files: src/lib/librefuse [netbsd-5]: fuse_opt.h Log Message: Pull up following revision(s) (requested by tron in ticket #1649): lib/librefuse/fuse_opt.h: revision 1.5 PR/41250: David H. Gutteridge: librefuse fuse_opt.h header doesn't accommod= ate C++ compilation To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.18.1 src/lib/librefuse/fuse_opt.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/librefuse
Module Name:src Committed By: riz Date: Mon Aug 8 19:56:50 UTC 2011 Modified Files: src/lib/librefuse [netbsd-5]: refuse.c Log Message: Pull up following revision(s) (requested by tron in ticket #1650): lib/librefuse/refuse.c: revision 1.94 Call the FUSE init operation before we try to access the file-system. This prevents a crash in "fuse_ext2" which I previously worked around with a patch. To generate a diff of this commit: cvs rdiff -u -r1.89.4.1 -r1.89.4.2 src/lib/librefuse/refuse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/extattr
Module Name:src Committed By: riz Date: Tue Aug 9 15:55:55 UTC 2011 Modified Files: src/usr.bin/extattr [netbsd-5]: getextattr.1 getextattr.c Log Message: Pull up following revision(s) (requested by manu in ticket #1651): usr.bin/extattr/getextattr.1: revision 1.4 usr.bin/extattr/getextattr.c: revision 1.8 Improve extended attribute commands: - allow namespace to be omitted when using a namespace-prefixed attribute name, a la Linux. - Improve hexdump for getextattr -x - Add more display option for binary attributes, using vis(3) - Add a -i option to setextattr to get the attribute value from file, so that we can set binary values To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.34.1 src/usr.bin/extattr/getextattr.1 cvs rdiff -u -r1.3 -r1.3.26.1 src/usr.bin/extattr/getextattr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/drvctl
Module Name:src Committed By: riz Date: Fri Aug 12 20:55:55 UTC 2011 Modified Files: src/sbin/drvctl [netbsd-5]: drvctl.8 drvctl.c Log Message: Pull up following revision(s) (requested by jmcneill in ticket #1656): sbin/drvctl/drvctl.8: revision 1.11 sbin/drvctl/drvctl.8: revision 1.12 sbin/drvctl/drvctl.c: revision 1.11 sbin/drvctl/drvctl.c: revision 1.12 add an optional argument to the -p flag that lets you extract specific property values from the command-line: $ drvctl -p wd0 disk-info/geometry/cylinders-per-unit 620181 $ drvctl -p wd0 device-driver device-unit wd 0 $ drvctl -p wd0 nonexistent || echo "not found" not found add the -t option that modifies -l behaviour to recursively scan for child devices and print them in tree format: $ drvctl -lt usb0 uhub0 uhub6 uhidev0 ukbd0 wskbd1 uhidev1 ums0 wsmouse1 uhid0 ubt0 To generate a diff of this commit: cvs rdiff -u -r1.5.10.2 -r1.5.10.3 src/sbin/drvctl/drvctl.8 cvs rdiff -u -r1.6.10.2 -r1.6.10.3 src/sbin/drvctl/drvctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/drvctl
Module Name:src Committed By: riz Date: Sun Aug 14 23:44:48 UTC 2011 Modified Files: src/sbin/drvctl [netbsd-5]: drvctl.c Log Message: Pull up following revision(s) (requested by jmcneill in ticket #1659): sbin/drvctl/drvctl.c: patch Fix the build problem introduced by pullup ticket #1656. To generate a diff of this commit: cvs rdiff -u -r1.6.10.3 -r1.6.10.4 src/sbin/drvctl/drvctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/librmt
Module Name:src Committed By: bouyer Date: Sat Sep 17 18:50:46 UTC 2011 Modified Files: src/lib/librmt [netbsd-5]: rmtlib.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1660): lib/librmt/rmtlib.c: revisions 1.23, 1.24 Improve isrmt() check: it cannot be a rmt fd if there are no pipes open for the fd. Prevents collision with rumphijack. Also, prevent potential hyperspace memory access. Does someone want to write tests for this facility? PR/38413: Takahiro Kambe: mt(1) print some junk output when using remote tape Not all fields are valid in the ioctl to get tape info in the rmt protocol. Zero out the struct so that we don't print junk. While here, KNF. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.21.26.1 src/lib/librmt/rmtlib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sbin/ifconfig
Module Name:src Committed By: riz Date: Sun Oct 16 23:48:11 UTC 2011 Modified Files: src/sbin/ifconfig [netbsd-5]: carp.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1670): sbin/ifconfig/carp.c: revision 1.13 This should fix 'carpdev' or, at least, not break it more badly than before. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.2.1 src/sbin/ifconfig/carp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/bin/sh
Module Name:src Committed By: riz Date: Wed Nov 2 19:31:21 UTC 2011 Modified Files: src/bin/sh [netbsd-5]: expand.c Log Message: Pull up following revision(s) (requested by christos in ticket #1665): bin/sh/expand.c: revision 1.85 PR/45269: Andreas Gustafsson: Instead of falling off the edge when eating trailing newlines if the block has moved, arrange so that trailing newlines are never placed in the string in the first place, by accumulating them and adding them only after we've encountered a non-newline character. This allows also for more efficient appending since we know how much we need beforehand. From FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.79.2.1 src/bin/sh/expand.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/tools/compat
Module Name:src Committed By: riz Date: Wed Nov 2 19:43:03 UTC 2011 Modified Files: src/tools/compat [netbsd-5]: configure configure.ac nbtool_config.h.in Log Message: Pull up following revision(s) (requested by tsutsui in ticket #1676): tools/compat/configure.ac: revision 1.71 tools/compat/configure: revision 1.71 tools/compat/nbtool_config.h.in: revision 1.24 Test for and provide HAVE_SYS_ENDIAN_H. Fixes FreeBSD hosted builds (PR 42440 and PR 42470). Approved by . Regenerate. To generate a diff of this commit: cvs rdiff -u -r1.67.2.2 -r1.67.2.3 src/tools/compat/configure \ src/tools/compat/configure.ac cvs rdiff -u -r1.21.2.1 -r1.21.2.2 src/tools/compat/nbtool_config.h.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/libexec/tftpd
Module Name:src Committed By: riz Date: Wed Nov 2 19:58:23 UTC 2011 Modified Files: src/libexec/tftpd [netbsd-5]: tftpd.8 tftpd.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1677): libexec/tftpd/tftpd.c: revision 1.32 libexec/tftpd/tftpd.8: revision 1.22 libexec/tftpd/tftpd.c: revision 1.33 libexec/tftpd/tftpd.8: revision 1.23 libexec/tftpd/tftpd.c: revision 1.34 libexec/tftpd/tftpd.8: revision 1.24 fix shadowed variable Patrick Welche - add -p pathsep option - make wrap to zero work, but produce a warning While here: - fix gcc warnings, in particular variable clobbered warnings (compiling with fewer warnings does not really fix the problem) Sort options in SYNOPSIS. New sentence, new line. Use only mdoc markup. Make HTML-ready. Sync usage with man page. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.21.38.1 src/libexec/tftpd/tftpd.8 cvs rdiff -u -r1.31 -r1.31.4.1 src/libexec/tftpd/tftpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/share/termcap
Module Name:src Committed By: riz Date: Wed Nov 2 20:03:53 UTC 2011 Modified Files: src/share/termcap [netbsd-5]: termcap.src Log Message: Apply patch (requested by spz in ticket #1678): Add minimal termcap entry for MacOS X Lion. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.101.8.1 src/share/termcap/termcap.src Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: sborrill Date: Fri Nov 18 21:22:49 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: kern_module.c Log Message: Pull up the following revisions(s) (requested by tron in ticket #1688): sys/kern/kern_module.c: revision 1.84 Return ENOEXEC instead of 0 if the info of a kernel module doesn't have the expected size. This prevents kernel panics when loading broken modules. To generate a diff of this commit: cvs rdiff -u -r1.24.4.1 -r1.24.4.2 src/sys/kern/kern_module.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/uvm
Module Name:src Committed By: sborrill Date: Fri Nov 18 22:42:47 UTC 2011 Modified Files: src/sys/uvm [netbsd-5]: uvm_meter.c Log Message: Pull up the following revisions(s) (requested by christos in ticket #1691): sys/uvm/uvm_meter.c:revision 1.57 Dereference correct variable and thus stop a sysctl crash. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.49.8.1 src/sys/uvm/uvm_meter.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/dist/bind
Module Name:src Committed By: sborrill Date: Fri Nov 18 23:03:22 UTC 2011 Modified Files: src/dist/bind/bin/named [netbsd-5]: query.c src/dist/bind/lib/dns [netbsd-5]: rbtdb.c Log Message: Pull up the following revisions(s) (requested by christos in ticket #1692): dist/bind/bin/named/query.c patch dist/bind/lib/dns/rbtdb.c patch Cache lookup could return RRSIG data associated with nonexistent records, leading to an assertion failure. Fixes CVE-2011-4313. To generate a diff of this commit: cvs rdiff -u -r1.8.4.4 -r1.8.4.5 src/dist/bind/bin/named/query.c cvs rdiff -u -r1.1.1.6.4.5 -r1.1.1.6.4.6 src/dist/bind/lib/dns/rbtdb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: sborrill Date: Fri Nov 18 23:17:53 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: kern_event.c Log Message: Pull up the following revisions(s) (requested by christos in ticket #1693): sys/kern/kern_event.c: revision 1.73 PR/45618: Motoyuki OHMORI: kqueue EVFILT_TIMER with smaller timeout value makes DIAGNOSTIC kernel panic. If the computed ticks are <= 0 set it to 1. To generate a diff of this commit: cvs rdiff -u -r1.60.6.2 -r1.60.6.3 src/sys/kern/kern_event.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: sborrill Date: Sat Nov 19 21:57:13 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: kern_event.c Log Message: Pull up the following revisions(s) (requested by rmind in ticket #1695): sys/kern/kern_event.c: revision 1.74 kqueue_register: avoid calling fd_getfile() with filedesc_t::fd_lock held. Fixes PR/45479 by KOGULE Ryo. To generate a diff of this commit: cvs rdiff -u -r1.60.6.3 -r1.60.6.4 src/sys/kern/kern_event.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/libtelnet
Module Name:src Committed By: snj Date: Sat Dec 31 20:01:51 UTC 2011 Modified Files: src/lib/libtelnet [netbsd-5]: encrypt.c Log Message: Pull up following revision(s) (requested by christos in ticket #1704): lib/libtelnet/encrypt.c: revision 1.15 Avoid buffer overflow, reported by Colin Percival at FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.14.18.1 src/lib/libtelnet/encrypt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/dev
Module Name:src Committed By: snj Date: Sat Dec 31 22:11:12 UTC 2011 Modified Files: src/sys/dev [netbsd-5]: vnd.c vndvar.h Log Message: Pull up following revision(s) (requested by riz in ticket #1705): sys/dev/vnd.c: revision 1.218 sys/dev/vndvar.h: revision 1.31 Make vnd(4) work on sparse files: - Make the strategy decision a device flag and set VNF_USE_VN_RDWR for files known to be sparse. - Change handle_with_rdwr() to use POSIX_FADV_NOREUSE advise to disable read ahead and keep the size of mapped pages below 1 MByte. No objections on tech-kern@. To generate a diff of this commit: cvs rdiff -u -r1.187.4.4 -r1.187.4.5 src/sys/dev/vnd.c cvs rdiff -u -r1.23 -r1.23.10.1 src/sys/dev/vndvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/net
Module Name:src Committed By: sborrill Date: Thu Jan 5 09:47:39 UTC 2012 Modified Files: src/sys/net [netbsd-5]: if.c Log Message: Pull up the following revisions(s) (requested by obache in ticket #1708): sys/net/if.c: revision 1.246 PR/44030: ifreqn2o gets called with the parameters the wrong way around. Reverts fix for PR 42585 (ticket #1416) as the root cause of the crash is addressed by PR 44054 (pullup #1541). To generate a diff of this commit: cvs rdiff -u -r1.230.4.5 -r1.230.4.6 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/dev
Module Name:src Committed By: riz Date: Wed Jan 25 18:06:27 UTC 2012 Modified Files: src/sys/dev [netbsd-5]: fss.c fssvar.h Log Message: Pull up following revision(s) (requested by bouyer in ticket #1700): sys/dev/fss.c: revision 1.79 sys/dev/fssvar.h: revision 1.26 Fix FSSIOCSET50: needs to use the 5.0 struct fss_set, not the current one. To generate a diff of this commit: cvs rdiff -u -r1.60.4.4 -r1.60.4.5 src/sys/dev/fss.c cvs rdiff -u -r1.23.4.1 -r1.23.4.2 src/sys/dev/fssvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/ufs
Module Name:src Committed By: riz Date: Wed Jan 25 18:18:46 UTC 2012 Modified Files: src/sys/ufs/ffs [netbsd-5]: ffs_inode.c src/sys/ufs/lfs [netbsd-5]: lfs_inode.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1702): sys/ufs/lfs/lfs_inode.c: revision 1.126 sys/ufs/ffs/ffs_inode.c: revision 1.108 If ufs_balloc_range() fails, make sure to call ?fs_truncate() to reset v_writesize to the right value. If v_writesize is left larger than the allocated blocks, we may have the same issue as the one described in http://mail-index.netbsd.org/tech-kern/2010/02/02/msg007156.html To generate a diff of this commit: cvs rdiff -u -r1.99.4.1 -r1.99.4.2 src/sys/ufs/ffs/ffs_inode.c cvs rdiff -u -r1.120.10.1 -r1.120.10.2 src/sys/ufs/lfs/lfs_inode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/lib/libpuffs
Module Name:src Committed By: riz Date: Wed Jan 25 18:22:10 UTC 2012 Modified Files: src/lib/libpuffs [netbsd-5]: puffs.c Log Message: Pull up following revision(s) (requested by manu in ticket #1706): lib/libpuffs/puffs.c: revision 1.108 signal pathconf in the vector of supported ops To generate a diff of this commit: cvs rdiff -u -r1.92.4.6 -r1.92.4.7 src/lib/libpuffs/puffs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/coda
Module Name:src Committed By: riz Date: Wed Jan 25 21:20:51 UTC 2012 Modified Files: src/sys/coda [netbsd-5]: coda.h Log Message: Pull up following revision(s) (requested by gdt in ticket #1716): sys/coda/coda.h: revision 1.15 Make file_id unsigned so it does not get sign extended when promoted to a 64bit ino_t. To generate a diff of this commit: cvs rdiff -u -r1.14.52.1 -r1.14.52.2 src/sys/coda/coda.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Sun Feb 5 12:28:08 UTC 2012 Modified Files: src/sys/kern [netbsd-5]: kern_fork.c Log Message: Pull up following revision(s) (requested by rmind in ticket #1628): sys/kern/kern_fork.c: revision 1.184 via patch fork1: fix stop-on-fork case, lend a correct lock to LWP for LSSTOP state. Fixes PR/44935. To generate a diff of this commit: cvs rdiff -u -r1.171.4.1 -r1.171.4.2 src/sys/kern/kern_fork.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Sun Feb 5 12:30:13 UTC 2012 Modified Files: src/sys/kern [netbsd-5]: vfs_bio.c Log Message: Pull up following revision(s) (requested by rmind in ticket #1718): sys/kern/vfs_bio.c: revision 1.233 sysctl_dobuf: re-acquire the sysctl lock on retry path. PR/45827. To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.210.4.1 src/sys/kern/vfs_bio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/net
Module Name:src Committed By: bouyer Date: Sun Feb 5 12:34:56 UTC 2012 Modified Files: src/sys/net [netbsd-5]: route.c Log Message: Pull up following revision(s) (requested by christos in ticket #1721): sys/net/route.c: revision 1.126 Count length from the beginning of the structure not the sa_data portion. =46rom skrll@ To generate a diff of this commit: cvs rdiff -u -r1.113.4.1 -r1.113.4.2 src/sys/net/route.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/arch
Module Name:src Committed By: sborrill Date: Fri Feb 24 17:29:32 UTC 2012 Modified Files: src/sys/arch/x86/x86 [netbsd-5]: pmap.c src/sys/arch/xen/x86 [netbsd-5]: x86_xpmap.c Log Message: Pull up the following revisions(s) (requested by bouyer in ticket #1729): sys/arch/x86/x86/pmap.c:revision 1.170 via patch sys/arch/xen/x86/x86_xpmap.c: revision 1.40 via patch Fix random kernel panic on domains with large memory. May fix PR port-xen/38699 To generate a diff of this commit: cvs rdiff -u -r1.74.4.3 -r1.74.4.4 src/sys/arch/x86/x86/pmap.c cvs rdiff -u -r1.11 -r1.11.4.1 src/sys/arch/xen/x86/x86_xpmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/share/zoneinfo
Module Name:src Committed By: riz Date: Fri Mar 2 03:21:22 UTC 2012 Modified Files: src/share/zoneinfo [netbsd-5]: antarctica asia australasia europe leapseconds northamerica southamerica zone.tab Log Message: Pull up following revision(s) (requested by apb in ticket #1733): share/zoneinfo/antarctica: patch share/zoneinfo/asia: patch share/zoneinfo/australasia: patch share/zoneinfo/europe: patch share/zoneinfo/leapseconds: patch share/zoneinfo/northamerica: patch share/zoneinfo/southamerica: patch share/zoneinfo/zone.tab: patch Import tzdata2012a from ftp://munnari.oz.au/pub/tzdata2012a.tar.gz. Major changes since tzdata2011n: Chile 2011/2012 and 2012/2013 summer time date adjustments. Falkland Islands onto permanent summer time (were assuming for the foreseeable future, though 2012 is all were fairly certain of.) Armenia has abolished Summer Time. Tokelau jumped the International Date Line back last December (just the same as their near neighbour, Samoa). America/Creston is a new zone for a small area of British Columbia There will be a leapsecond 2012-06-30 23:59:60 UTC. To generate a diff of this commit: cvs rdiff -u -r1.1.1.17.12.1 -r1.1.1.17.12.2 src/share/zoneinfo/antarctica cvs rdiff -u -r1.1.1.44.2.1 -r1.1.1.44.2.2 src/share/zoneinfo/asia cvs rdiff -u -r1.17.2.1 -r1.17.2.2 src/share/zoneinfo/australasia cvs rdiff -u -r1.1.1.38.2.1 -r1.1.1.38.2.2 src/share/zoneinfo/europe cvs rdiff -u -r1.1.1.15.2.1 -r1.1.1.15.2.2 src/share/zoneinfo/leapseconds cvs rdiff -u -r1.1.1.42.2.1 -r1.1.1.42.2.2 src/share/zoneinfo/northamerica \ src/share/zoneinfo/southamerica cvs rdiff -u -r1.1.1.33.2.1 -r1.1.1.33.2.2 src/share/zoneinfo/zone.tab Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/last
Module Name:src Committed By: sborrill Date: Thu Mar 15 08:50:41 UTC 2012 Modified Files: src/usr.bin/last [netbsd-5]: want.c Log Message: Pull up the following revisions(s) (requested by dholland in ticket #1744): usr.bin/last/want.c:revision 1.15-1.16 Keep track of the timestamp of the last (thus oldest) record seen and use it to print "wtmp[x] begins" at the end. When the wtmp file is empty, use the last mod time of the wtmp file. Fixes PR/39444. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.12.1 src/usr.bin/last/want.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/sys/kern
Module Name:src Committed By: bouyer Date: Sat Mar 17 19:14:10 UTC 2012 Modified Files: src/sys/kern [netbsd-5]: kern_sig.c Log Message: Pull up following revision(s) (requested by christos in ticket #1741): sys/kern/kern_sig.c: revision 1.300 kpsignal2: do not make the signal pending twice when tracing the process, also update a comment and add an assert. Fixes PR/42309 by Nicolas Joly. To generate a diff of this commit: cvs rdiff -u -r1.289.4.7 -r1.289.4.8 src/sys/kern/kern_sig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-5] src/usr.bin/ktruss
Module Name:src Committed By: bouyer Date: Sat Mar 17 19:16:09 UTC 2012 Modified Files: src/usr.bin/ktruss [netbsd-5]: makeerrnos.sh Log Message: Pull up following revision(s) (requested by dyoung in ticket #1742): usr.bin/ktruss/makeerrnos.sh: revision 1.6 Use 'sort -n -k 3' instead of 'sort -n +2' since the former is more portable. The latter is not supported by Mac OS X Lion. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.5.2.1 src/usr.bin/ktruss/makeerrnos.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.