| Home | Sort by: relevance | last modified time | path |
| /src/tests/kernel/kqueue/ | |
| t_oneshot.c | 1.1 Sat Oct 23 18:46:26 UTC 2021 thorpej Fix a regression introduced in kern_event.c,v 1.129 that would cause "udata" to get clobbered on ONESHOT events, and add a unit test for it. Reported by martin@ (manifested in his case as a KASSERT() firing when running unit tests in COMPAT_NETBSD32). |
| t_sig.c | 1.4 Sun Oct 10 18:11:31 UTC 2021 thorpej branches: 1.4.2; 1.4.4; The knotes for EVFILT_SIGNAL and EVFILT_PROC are maintained on a single per-process list, and kern_event.c,v 1.129 has several KASSERT()s in various code paths that process this list related to the mixing of these two knote types. This new unit test is designed specifically to exercise those KASSERT()s and thus validate their assumptions. |
| Makefile | 1.9 Sat Oct 23 18:46:26 UTC 2021 thorpej Fix a regression introduced in kern_event.c,v 1.129 that would cause "udata" to get clobbered on ONESHOT events, and add a unit test for it. Reported by martin@ (manifested in his case as a KASSERT() firing when running unit tests in COMPAT_NETBSD32). |
| /src/tests/usr.bin/xlint/lint1/ | |
| d_alignof.c | 1.4 Thu May 12 00:18:35 UTC 2022 rillig lint: fix support for __alignof__, add support for __alignof Broken since lex.c 1.129 from yesterday. 1.3 Thu May 12 00:09:44 UTC 2022 rillig tests/lint: adjust tests to reflect missing support of __alignof__ The change in lex.c 1.129 attempted to add support for __alignof, in addition to the existing support for __alignof__. It failed by removing support for __alignof__, while allowing the plain 'alignof' instead. |
| msg_014.c | 1.7 Thu May 12 00:18:35 UTC 2022 rillig lint: fix support for __alignof__, add support for __alignof Broken since lex.c 1.129 from yesterday. 1.6 Thu May 12 00:09:44 UTC 2022 rillig tests/lint: adjust tests to reflect missing support of __alignof__ The change in lex.c 1.129 attempted to add support for __alignof, in addition to the existing support for __alignof__. It failed by removing support for __alignof__, while allowing the plain 'alignof' instead. |
| /src/etc/ | |
| login.conf | 1.6.8.1 Thu Apr 12 13:51:41 UTC 2018 martin Pull up following revision(s) (requested by snj in ticket #742): etc/root/dot.profile: revision 1.30 etc/skel/dot.profile: revision 1.10 etc/login.conf: revision 1.7 etc/root/dot.cshrc: revision 1.27 share/man/man7/hier.7: revision 1.129 (patch) etc/man.conf: revision 1.37 etc/skel/dot.cshrc: revision 1.8 /usr/X11R6 has been empty on most NetBSD installations since 2008, and the last few straggling ports dumped it in 2015. It's time to prune references to /usr/X11R6 from our config files. remove reference to /usr/X11R6 |
| /src/etc/rc.d/ | |
| wpa_supplicant | 1.5.4.1 Fri Jan 23 09:47:25 UTC 2015 martin Pull up following revision(s) (requested by jmcneill in ticket #443): etc/defaults/rc.conf: revision 1.129 etc/rc.d/wpa_supplicant: revision 1.6 It doesn't make sense to start wpa_supplicant from an rc.d script without the -B flag, so always prepend it to $rc_flags. |
| /src/share/man/man3/ | |
| dl_iterate_phdr.3 | 1.2.10.2 Sat Mar 17 18:28:30 UTC 2012 bouyer Pull up following revision(s) via patch (requested by skrll in ticket #1724): rescue/list.ldd: revision 1.4 lib/libc/dlfcn/dlfcn_elf.c: revision 1.7 libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.57 distrib/sets/lists/comp/mi: revision 1.1512 share/man/man3/Makefile: revision 1.56 libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.58 usr.bin/ldd/ldd.c: revision 1.15 libexec/ld.elf_so/rtld.h: revision 1.84 share/man/man3/dl_iterate_phdr.3: revision 1.1 libexec/ld.elf_so/rtld.c: revision 1.129 libexec/ld.elf_so/arch/powerpc/ppc_reloc.c: revision 1.44 libexec/ld.elf_so/rtld.h: revision 1.89 libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.36 libexec/ld.elf_so/map_object.c: revision 1.41 libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.37 libexec/ld.elf_so/arch/sparc64/mdreloc.c: revision 1.46 include/link_elf.h: revision 1.10 libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.29 libexec/ld.elf_so/arch/vax/mdreloc.c: revision 1.26 libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.34 libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.31 libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.35 libexec/ld.elf_so/Makefile: revision 1.94 libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.32 libexec/ld.elf_so/Makefile: revision 1.95 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.31 libexec/ld.elf_so/Makefile: revision 1.96 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.32 libexec/ld.elf_so/reloc.c: revision 1.98 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.33 sys/sys/exec_elf.h: revision 1.106 libexec/ld.elf_so/rtld.c: revision 1.130 libexec/ld.elf_so/load.c: revision 1.37 libexec/ld.elf_so/rtld.c: revision 1.131 libexec/ld.elf_so/load.c: revision 1.38 libexec/ld.elf_so/rtld.h: revision 1.90 libexec/ld.elf_so/headers.c: revision 1.36 libexec/ld.elf_so/rtld.h: revision 1.95 libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.30 libexec/ld.elf_so/arch/m68k/mdreloc.c: revision 1.25 libexec/ld.elf_so/symbol.c: revision 1.50 libexec/ld.elf_so/symbol.c: revision 1.51 libexec/ld.elf_so/arch/sparc/mdreloc.c: revision 1.43 libexec/ld.elf_so/symbol.c: revision 1.52 libexec/ld.elf_so/arch/sh3/mdreloc.c: revision 1.27 libexec/ld.elf_so/symbol.c: revision 1.54 PR/39240: Satoshi Suetake: Don't fail when attempting to resolve weak symbols when we are doing immediate binding, leave them alone and they will be dealt with later during lazy binding. From skrll@ Implement negative cache checks for symbol lookups. Uses the Donelist idea from FreeBSD. Use alloca(3) instead of local xmalloc for creating our DoneLists. This allows threaded programs to use us a little better, PR lib/43005. Implement dl_iterate_phdr. Somewhat taken from FreeBSD. Manual page from OpenBSD. |
| /src/share/man/man4/ | |
| btmagic.4 | 1.2.2.2 Sun Nov 21 03:05:10 UTC 2010 riz Pull up following revision(s) (requested by plunky in ticket #1407): sys/dev/bluetooth/btdev.h: revision 1.9 sys/arch/iyonix/conf/GENERIC: revision 1.60 sys/arch/sparc64/conf/GENERIC: revision 1.129 sys/dev/usb/hid.c: revision 1.30 sys/dev/usb/hid.h: revision 1.13 sys/arch/i386/conf/GENERIC: revision 1.983 usr.sbin/btdevctl/print.c: revision 1.10 sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.16 sys/arch/alpha/conf/GENERIC: revision 1.337 sys/dev/bluetooth/files.bluetooth: revision 1.14 sys/arch/evbarm/conf/GUMSTIX: revision 1.49 sys/dev/usb/usbdevs: revision 1.550 sys/arch/evbppc/conf/OPENBLOCKS266_OPT: revision 1.14 sys/arch/hpcsh/conf/GENERIC: revision 1.91 sys/dev/bluetooth/btmagic.c: revision 1.1 distrib/sets/lists/man/mi: revision 1.1210 sys/arch/amd64/conf/GENERIC: revision 1.279 sys/arch/i386/conf/ALL: revision 1.258 sys/arch/amd64/conf/XEN3_DOM0: revision 1.54 sys/arch/hpcarm/conf/JORNADA720: revision 1.78 sys/dev/usb/hid.c: revision 1.29 share/man/man4/btmagic.4: revision 1.1 hid_get_data() does not work if the size of data is less than a byte and crosses a byte boundary, and it always returns a sign-extended value. fix this by using the algorithm from libusbhid to read bytes, and provide a hid_get_udata() function to return unsigned data values. while here, const args update DPRINTF to reflect actual function name add Apple Magic Mouse product-id regen for Magic Mouse id allow for vendor-id and product-id properties, passing them through to child devices add Magic Mouse driver and manpage btmagic(4) additionally query the "PnP Information" service record to discover any USB Forum vendor-id and product-id values and store them in the property list if found. add btmagic(4) where other Bluetooth drivers are listed |
| /src/sys/arch/m68k/m68k/ | |
| compat_16_sigreturn14.s | 1.5.60.1 Thu Jun 27 19:27:27 UTC 2024 martin Pull up following revision(s) (requested by rin in ticket #724 to fix build fallout on the branch): sys/arch/m68k/m68k/compat_16_sigreturn14.s: revision 1.6 sys/arch/mvme68k/mvme68k/locore.s: revision 1.129 sys/arch/news68k/news68k/locore.s: revision 1.84 sys/arch/hp300/hp300/locore.s: revision 1.183 sys/arch/m68k/m68k/compat_13_sigreturn13.s: revision 1.8 sys/arch/m68k/m68k/sigreturn.s: file removal sys/arch/m68k/include/pte_motorola.h: revision 1.10 sys/arch/atari/atari/locore.s: revision 1.125 sys/arch/amiga/amiga/locore.s: revision 1.169 sys/arch/sun2/sun2/locore.s: revision 1.37 sys/arch/next68k/next68k/locore.s: revision 1.84 sys/arch/x68k/x68k/locore.s: revision 1.130 sys/arch/sun3/sun3x/locore.s: revision 1.77 sys/arch/cesfic/cesfic/locore.s: revision 1.45 sys/arch/m68k/conf/files.m68k: revision 1.53 sys/arch/sun3/sun3/locore.s: revision 1.109 sys/arch/luna68k/luna68k/locore.s: revision 1.81 sys/arch/mac68k/mac68k/locore.s: revision 1.182 Define PTE used in the pmap module int terms of the bit definitions in mmu_{51,40}.h. Make compat_13_sigreturn13.s and compat_16_sigreturn14.s build as their own stand-alone files and G/C the now-empty sigreturn.s. |
| /src/sys/arch/vax/boot/xxboot/ | |
| start.S | 1.4.118.1 Sat Apr 20 09:58:23 UTC 2013 bouyer Pull up following revision(s) (requested by martin in ticket #865): sys/arch/vax/include/disklabel.h: revision 1.7 sys/arch/vax/boot/xxboot/start.S: revision 1.5 sys/sys/bootblock.h: revision 1.55 sys/sys/disklabel.h: revision 1.113 usr.sbin/installboot/arch/vax.c: revision 1.14 usr.sbin/installboot/arch/vax.c: revision 1.15 sys/kern/sys_generic.c: revision 1.129 Revert VAX MAXPARTITION bump to 16, adjusting it to 12 instead. Fix bootblocks and installboot for VAX 780 and other machines booting via VMB.EXE. |
| /src/sys/arch/vax/include/ | |
| disklabel.h | 1.5.8.2 Sat Apr 20 09:58:22 UTC 2013 bouyer Pull up following revision(s) (requested by martin in ticket #865): sys/arch/vax/include/disklabel.h: revision 1.7 sys/arch/vax/boot/xxboot/start.S: revision 1.5 sys/sys/bootblock.h: revision 1.55 sys/sys/disklabel.h: revision 1.113 usr.sbin/installboot/arch/vax.c: revision 1.14 usr.sbin/installboot/arch/vax.c: revision 1.15 sys/kern/sys_generic.c: revision 1.129 Revert VAX MAXPARTITION bump to 16, adjusting it to 12 instead. Fix bootblocks and installboot for VAX 780 and other machines booting via VMB.EXE. |
| /src/sys/arch/i386/include/ | |
| cpu.h | 1.129 Sun Sep 03 09:21:26 UTC 2006 xtraeme branches: 1.129.2; 1.129.4; 1.129.6; Conditionalize *_get_bus_clock() functions inside of #ifdef ENHANCED_SPEEDSTEP to fix build when ENHANCED_SPEEDSTEP is not defined. Reported by Geoff Wing. Sun Sep 03 09:21:26 UTC 2006 xtraeme branches: 1.129.2; 1.129.4; 1.129.6; Conditionalize *_get_bus_clock() functions inside of #ifdef ENHANCED_SPEEDSTEP to fix build when ENHANCED_SPEEDSTEP is not defined. Reported by Geoff Wing. .2; 1.129.4; 1.129.6; Conditionalize *_get_bus_clock() functions inside of #ifdef ENHANCED_SPEEDSTEP to fix build when ENHANCED_SPEEDSTEP is not defined. Reported by Geoff Wing. .4; 1.129.6; Conditionalize *_get_bus_clock() functions inside of #ifdef ENHANCED_SPEEDSTEP to fix build when ENHANCED_SPEEDSTEP is not defined. Reported by Geoff Wing. 1.125.2.4 Thu Sep 07 14:00:04 UTC 2006 tron Pull up following revision(s) (requested by xtraeme in ticket #114): sys/arch/i386/include/cpu.h: revision 1.129 sys/arch/i386/i386/identcpu.c: revision 1.40 Conditionalize *_get_bus_clock() functions inside of #ifdef ENHANCED_SPEEDSTEP to fix build when ENHANCED_SPEEDSTEP is not defined. Reported by Geoff Wing. 1.129.6.2 Wed Sep 12 10:05:02 UTC 2007 msaitoh Pull up following patches (requested by xtraeme in ticket #809) share/man/man4/options.4 patch sys/arch/i386/conf/files.i386 patch sys/arch/i386/i386/est.c delete sys/arch/i386/i386/identcpu.c patch sys/arch/i386/include/cpu.h patch sys/arch/x86/conf/files.x86 patch sys/arch/x86/include/cpuvar.h patch sys/arch/x86/x86/est.c new file sys/arch/x86/x86/intel_busclock.c new file sys/arch/amd64/amd64/identcpu.c patch sys/arch/amd64/conf/GENERIC patch Add support for the VIA C7-M and Eden processors in the Enhanced Speedstep driver. amd64: The Enhanced Speedstep driver is now able to work on EM64T CPUs running in 64bit mode. 1.129.6.1 Fri Apr 20 20:31:26 UTC 2007 bouyer branches: 1.129.6.1.2; Pull up following revision(s) (requested by mlelstv in ticket #575): sys/arch/i386/i386/est.c sync with 1.37 sys/arch/i386/i386/ipifuncs.c sync with 1.16 sys/arch/x86/include/cpu_msr.h sync with 1.4 sys/arch/x86/include/intrdefs.h sync with 1.8 sys/arch/x86/include/powernow.h sync with 1.9 sys/arch/x86/x86/powernow_k8.c sync with 1.20 sys/arch/x86/x86/msr_ipifuncs.c sync with 1.8 sys/arch/amd64/amd64/ipifuncs.c sync with 1.9 sys/arch/i386/i386/identcpu.c patch sys/arch/i386/i386/machdep.c patch sys/arch/i386/include/cpu.h patch sys/arch/x86/conf/files.x86 patch sys/arch/x86/x86/x86_machdep.c patch sys/arch/amd64/amd64/machdep.c patch Add MSR write IPI handler for x86. Use it and the RUN_ONCE framework to make est and powernow drivers work properly with SMP. .6.1 Fri Apr 20 20:31:26 UTC 2007 bouyer branches: 1.129.6.1.2; Pull up following revision(s) (requested by mlelstv in ticket #575): sys/arch/i386/i386/est.c sync with 1.37 sys/arch/i386/i386/ipifuncs.c sync with 1.16 sys/arch/x86/include/cpu_msr.h sync with 1.4 sys/arch/x86/include/intrdefs.h sync with 1.8 sys/arch/x86/include/powernow.h sync with 1.9 sys/arch/x86/x86/powernow_k8.c sync with 1.20 sys/arch/x86/x86/msr_ipifuncs.c sync with 1.8 sys/arch/amd64/amd64/ipifuncs.c sync with 1.9 sys/arch/i386/i386/identcpu.c patch sys/arch/i386/i386/machdep.c patch sys/arch/i386/include/cpu.h patch sys/arch/x86/conf/files.x86 patch sys/arch/x86/x86/x86_machdep.c patch sys/arch/amd64/amd64/machdep.c patch Add MSR write IPI handler for x86. Use it and the RUN_ONCE framework to make est and powernow drivers work properly with SMP. 1.129.6.1.2.1 Sun Sep 23 21:36:18 UTC 2007 wrstuden Sync with somewhat-recent netbsd-4. 1.129.4.1 Sun Dec 10 07:16:11 UTC 2006 yamt sync with head. |
| /src/sys/dev/scsipi/ | |
| atapi_wdc.c | 1.129 Tue Oct 17 18:52:51 UTC 2017 jdolecek branches: 1.129.2; 1.129.4; 1.129.6; reintroduce ATACH_IRQ_WAIT flag for attachments using wdcintr(), only process the interrupt when the flag is set - this fixes spurious interrupt during post-reset drive setup in wdc_ata_bio_start(), and wdc_atapi_start() while those functions set WDCTL_IDS, this seems to be ignored by certain (maybe all) PCI-IDE controllers; usually the implicit KERNEL_LOCK() would prevent the interrupt anyway, but not when the start routine is started from the atabus thread, which doesn't take it fixes 'panic: wdc_ata_bio_intr: bad state' reported on current-users by Chavdar Ivanov Tue Oct 17 18:52:51 UTC 2017 jdolecek branches: 1.129.2; 1.129.4; 1.129.6; reintroduce ATACH_IRQ_WAIT flag for attachments using wdcintr(), only process the interrupt when the flag is set - this fixes spurious interrupt during post-reset drive setup in wdc_ata_bio_start(), and wdc_atapi_start() while those functions set WDCTL_IDS, this seems to be ignored by certain (maybe all) PCI-IDE controllers; usually the implicit KERNEL_LOCK() would prevent the interrupt anyway, but not when the start routine is started from the atabus thread, which doesn't take it fixes 'panic: wdc_ata_bio_intr: bad state' reported on current-users by Chavdar Ivanov .2; 1.129.4; 1.129.6; reintroduce ATACH_IRQ_WAIT flag for attachments using wdcintr(), only process the interrupt when the flag is set - this fixes spurious interrupt during post-reset drive setup in wdc_ata_bio_start(), and wdc_atapi_start() while those functions set WDCTL_IDS, this seems to be ignored by certain (maybe all) PCI-IDE controllers; usually the implicit KERNEL_LOCK() would prevent the interrupt anyway, but not when the start routine is started from the atabus thread, which doesn't take it fixes 'panic: wdc_ata_bio_intr: bad state' reported on current-users by Chavdar Ivanov .4; 1.129.6; reintroduce ATACH_IRQ_WAIT flag for attachments using wdcintr(), only process the interrupt when the flag is set - this fixes spurious interrupt during post-reset drive setup in wdc_ata_bio_start(), and wdc_atapi_start() while those functions set WDCTL_IDS, this seems to be ignored by certain (maybe all) PCI-IDE controllers; usually the implicit KERNEL_LOCK() would prevent the interrupt anyway, but not when the start routine is started from the atabus thread, which doesn't take it fixes 'panic: wdc_ata_bio_intr: bad state' reported on current-users by Chavdar Ivanov 1.129.6.4 Sat Sep 22 09:22:59 UTC 2018 jdolecek separate ata_xfer slot allocation and the memory allocation, so that there can be more queued xfers than number of supported slots by controller, and use a pool instead of custom pre-allocation primarily to help PR kern/52614 remove no longer needed custom wd(4) logic for flush cache switch also wd(4) trim/suspend/setcache/wdioctlstrategy to sleep waiting for the memory, they are all called from process context and this avoids spurious failures 1.129.6.3 Mon Sep 17 19:30:26 UTC 2018 jdolecek move ATAPI-only members of ata_xfer to an union struct to further save space 1.129.6.2 Mon Sep 17 18:36:14 UTC 2018 jdolecek move low-level protocol handlers hooks from ata_xfer to separate struct, initialized statically primarily to reduce ata_xfer struct size, but also improves readibility, and enforces consistency 1.129.6.1 Fri Aug 31 19:08:03 UTC 2018 jdolecek refactor ata_xfer to be just dumb structure; move all callouts/condvars out retry callout to wd(4); reset callout and the active/cmd finish condvars to channel queue; change code using the condvars so it works if there are multiple waiters simplify the async wait code for cmds, replace ata_wait_xfer()/ata_wake_xfer() with ata_wait_cmd() fix the callout_invoking/ack race handling code for timeouts to actually have chance to work; change mvsata(4) to use generic timeout func towards resolution of kern/52614 1.129.4.4 Tue Apr 21 18:42:38 UTC 2020 martin Sync with HEAD 1.129.4.3 Mon Apr 13 08:04:48 UTC 2020 martin Mostly merge changes from HEAD upto 20200411 |
| /src/sys/nfs/ | |
| nfs_serv.c | 1.129 Fri Jul 27 10:03:58 UTC 2007 yamt branches: 1.129.4; 1.129.6; 1.129.8; 1.129.10; stop nfs tick when we have nothing to do. Fri Jul 27 10:03:58 UTC 2007 yamt branches: 1.129.4; 1.129.6; 1.129.8; 1.129.10; stop nfs tick when we have nothing to do. .4; 1.129.6; 1.129.8; 1.129.10; stop nfs tick when we have nothing to do. .6; 1.129.8; 1.129.10; stop nfs tick when we have nothing to do. .8; 1.129.10; stop nfs tick when we have nothing to do. 1.129.10.2 Fri Jul 27 10:03:59 UTC 2007 yamt stop nfs tick when we have nothing to do. 1.129.10.1 Fri Jul 27 10:03:58 UTC 2007 yamt file nfs_serv.c was added on branch matt-mips64 on 2007-07-27 10:03:59 +0000 1.129.8.1 Sun Oct 14 11:49:03 UTC 2007 yamt sync with head. 1.129.6.3 Sun Mar 23 02:05:08 UTC 2008 matt sync with HEAD 1.129.6.2 Wed Jan 09 01:57:52 UTC 2008 matt sync with HEAD |
| /src/sys/arch/hp300/hp300/ | |
| trap.c | 1.129 Sun Mar 04 05:59:50 UTC 2007 christos branches: 1.129.2; 1.129.4; 1.129.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. Sun Mar 04 05:59:50 UTC 2007 christos branches: 1.129.2; 1.129.4; 1.129.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. .2; 1.129.4; 1.129.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. .4; 1.129.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 1.125.8.2 Tue Sep 11 08:01:36 UTC 2007 msaitoh Pull up following revision(s) (requested by mhitch in ticket #866): sys/arch/atari/atari/trap.c: 1.92 sys/arch/mac68k/mac68k/trap.c: 1.129 sys/arch/amiga/amiga/trap.c: 1.116 sys/arch/mvme68k/mvme68k/trap.c: 1.91 sys/arch/news68k/news68k/trap.c: 1.54 sys/arch/sun3/sun3/trap.c: 1.131 sys/arch/next68k/next68k/trap.c: 1.68 sys/arch/luna68k/luna68k/trap.c: 1.47 sys/arch/cesfic/cesfic/trap.c: 1.36 sys/arch/x68k/x68k/trap.c: 1.90 sys/arch/hp300/hp300/trap.c: 1.132 68030 and 68040 processors consider the read portion of a read-modify-write transfer as a write to ensure the memory is writable before starting any transfer. The fault status information does not reflect this in the 'read' status bit (i.e. it shows up as a read access), so faults with a RMW access to non-writable memory was not getting the correct protection. The page would be read-only and the instruction would fault over and over. A specific example is when a process forks, and the child process attempts to execute a RMW access to a data page, which is read-only because it's CoP Copy-On-Write. When checking if the page needs to be writablek, also check the locked transfer and treat any locked transfer as a write. 68060 already handled this correctly, since it has separate read and write fault bits, and both are set on a RMW access and the trap code was checking the write status bit. Fixes PR#36848. 1.129.10.3 Wed Oct 03 19:23:20 UTC 2007 garbled Sync with HEAD 1.129.10.2 Tue Jun 26 18:12:26 UTC 2007 garbled Sync with HEAD. 1.129.10.1 Tue May 22 17:26:50 UTC 2007 matt Update to HEAD. 1.129.4.1 Wed Jul 11 19:59:16 UTC 2007 mjf Sync with head. 1.129.2.4 Mon Dec 03 18:35:59 UTC 2007 ad Sync with HEAD. |
| /src/sys/dev/usb/ | |
| ukbd.c | 1.129 Thu Sep 26 07:25:31 UTC 2013 skrll branches: 1.129.4; 1.129.6; Remove usbd_do_request_async. It's callback was calling usbd_free_xfer from softint context. Adjust callers appropriately - usbd_clear_endpoint_stall_async is already triggered via a usb_task, so simply call usbd_do_request. - uhidev_set_report_async had one caller in ukbd_set_leds. Convert this usage to use usb_task as well. Discussed with mrg@ Thu Sep 26 07:25:31 UTC 2013 skrll branches: 1.129.4; 1.129.6; Remove usbd_do_request_async. It's callback was calling usbd_free_xfer from softint context. Adjust callers appropriately - usbd_clear_endpoint_stall_async is already triggered via a usb_task, so simply call usbd_do_request. - uhidev_set_report_async had one caller in ukbd_set_leds. Convert this usage to use usb_task as well. Discussed with mrg@ .4; 1.129.6; Remove usbd_do_request_async. It's callback was calling usbd_free_xfer from softint context. Adjust callers appropriately - usbd_clear_endpoint_stall_async is already triggered via a usb_task, so simply call usbd_do_request. - uhidev_set_report_async had one caller in ukbd_set_leds. Convert this usage to use usb_task as well. Discussed with mrg@ 1.129.6.10 Mon Aug 28 17:52:28 UTC 2017 skrll Sync with HEAD 1.129.6.9 Sun Feb 05 13:40:46 UTC 2017 skrll Sync with HEAD 1.129.6.8 Mon Dec 05 10:55:18 UTC 2016 skrll Sync with HEAD 1.129.6.7 Sun May 29 08:44:31 UTC 2016 skrll Sync with HEAD 1.129.6.6 Mon Apr 06 15:18:13 UTC 2015 skrll Sync with HEAD 1.129.6.5 Sat Mar 21 11:33:37 UTC 2015 skrll Add prefixes to attach_arg structure member names. No functional change. 1.129.6.4 Thu Mar 19 17:26:43 UTC 2015 skrll Do the same as OpenBSD and get rid of the *_handle typedefs and use plain structures insteads |
| /src/sys/dev/raidframe/ | |
| rf_driver.c | 1.129 Fri May 27 22:48:24 UTC 2011 yamt branches: 1.129.4; 1.129.10; 1.129.14; 1.129.16; don't forget to destroy mutex. Fri May 27 22:48:24 UTC 2011 yamt branches: 1.129.4; 1.129.10; 1.129.14; 1.129.16; don't forget to destroy mutex. .4; 1.129.10; 1.129.14; 1.129.16; don't forget to destroy mutex. .10; 1.129.14; 1.129.16; don't forget to destroy mutex. .14; 1.129.16; don't forget to destroy mutex. 1.129.16.1 Mon Dec 17 00:25:41 UTC 2012 riz Pull up following revision(s) (requested by msaitoh in ticket #753): sys/dev/raidframe/rf_driver.c: revision 1.131 Fix off by one read. 1.129.14.3 Sun Dec 03 11:37:31 UTC 2017 jdolecek update from HEAD 1.129.14.2 Mon Feb 25 00:29:30 UTC 2013 tls resync with head 1.129.14.1 Tue Nov 20 03:02:32 UTC 2012 tls Resync to 2012-11-19 00:00:00 UTC 1.129.10.1 Mon Dec 17 00:25:27 UTC 2012 riz Pull up following revision(s) (requested by msaitoh in ticket #753): sys/dev/raidframe/rf_driver.c: revision 1.131 Fix off by one read. |
| /src/bin/ps/ | |
| print.c | 1.129 Wed Apr 11 18:52:05 UTC 2018 christos branches: 1.129.2; use EXIT_FAILURE instead of 1 Wed Apr 11 18:52:05 UTC 2018 christos branches: 1.129.2; use EXIT_FAILURE instead of 1 1.129.2.4 Tue Apr 21 19:37:33 UTC 2020 martin Ooops, restore accidently removed files from merge mishap 1.129.2.3 Tue Apr 21 18:41:05 UTC 2020 martin Sync with HEAD 1.129.2.2 Mon Apr 13 07:45:06 UTC 2020 martin Mostly merge changes from HEAD upto 20200411 1.129.2.1 Mon Jun 10 21:41:03 UTC 2019 christos Sync with HEAD |
| /src/sys/dev/isa/ | |
| files.isa | 1.129 Mon Jun 02 03:57:16 UTC 2003 gmcgarry branches: 1.129.2; Driver for GPIB controllers boards based on the uPD7210 GPIB controller, including boards made by Captial Equipment Corp. Mon Jun 02 03:57:16 UTC 2003 gmcgarry branches: 1.129.2; Driver for GPIB controllers boards based on the uPD7210 GPIB controller, including boards made by Captial Equipment Corp. 1.129.2.9 Thu Nov 10 14:05:37 UTC 2005 skrll Sync with HEAD. Here we go again... 1.129.2.8 Fri Apr 01 14:29:52 UTC 2005 skrll Sync with HEAD. 1.129.2.7 Fri Mar 04 16:43:13 UTC 2005 skrll Sync with HEAD. Hi Perry! 1.129.2.6 Mon Jan 17 19:31:11 UTC 2005 skrll Sync with HEAD. 1.129.2.5 Tue Sep 21 13:29:43 UTC 2004 skrll Fix the sync with head I botched. 1.129.2.4 Sat Sep 18 14:47:46 UTC 2004 skrll Sync with HEAD. 1.129.2.3 Fri Sep 03 00:45:18 UTC 2004 skrll Sync with HEAD 1.129.2.2 Thu Aug 12 11:41:43 UTC 2004 skrll Sync with HEAD. |
| /src/sys/sys/ | |
| conf.h | 1.129 Wed Nov 07 15:56:23 UTC 2007 ad branches: 1.129.14; Merge tty changes from the vmlocking branch. Wed Nov 07 15:56:23 UTC 2007 ad branches: 1.129.14; Merge tty changes from the vmlocking branch. 1.129.14.9 Sat Jan 17 13:29:40 UTC 2009 mjf Sync with HEAD. 1.129.14.8 Mon Jun 02 13:24:32 UTC 2008 mjf Sync with HEAD. 1.129.14.7 Mon Apr 14 16:23:56 UTC 2008 mjf - remove comments that are no longer true - add support to devfsd(8) and devfsctl(4) to handle wedges - add cpuctl device registration - extract the alloc part out of device_register_name() into a common function that can be used by the new device_register_sync(), which is used to synchronously create device files 1.129.14.6 Sun Apr 06 09:58:52 UTC 2008 mjf - after some discussion with agc@ i agreed it would be a good idea to move device_unregister_* to device_deregister_* to be more like the pmf(9) functions, especially since a lot of the time the function calls are next to each other. - add device_register_name() support for dk(4). 1.129.14.5 Sat Apr 05 23:33:23 UTC 2008 mjf - add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing as these are always needed. - convert many, many drivers over to the New Devfs World Order. For a list of device drivers yet to be converted see, http://www.netbsd.org/~mjf/devfs-todo.html. - add a new device_unregister_all(device_t) function to remove all device names associated with a device_t, which saves us having to construct device names when the driver is detached. - add a DEV_AUDIO type for devices. 1.129.14.4 Thu Apr 03 00:43:11 UTC 2008 mjf Sync with HEAD. 1.129.14.3 Thu Apr 03 11:37:26 UTC 2008 mjf - Make distrib/sets and sys/fs/devfs catch up with dctl rename to devfsctl. - The visibility of a node is now properly determined in devfs. - device_lookup_info() has grown an argument to distinguish whether we're looking for a character or block device, since it's possible for the same dev_t value to be used for a character device and a different block device. 1.129.14.2 Sat Mar 29 16:17:56 UTC 2008 mjf - etc/devfsd.conf: Add some rules to give nodes like /dev/tty and /dev/null better default modes, i.e. 0666. - sbin/init: Run devfsd -s before going to multiuser. - sys/arch: Provide arm32, i386, sparc with a mem_init() function to request device nodes for /dev/null, /dev/zero, etc. - sys/dev: Convert rnd, wd, agp, raid, cd, sd, wsdisplay, wskbd, wsmouse, wsmux, tty, bpf, swap to devfs New World Order. - sys/fs/devfs: Make the visibility attribute of device nodes configurable. Also provide a function to mount a devfs on boot. - sys/kern: Add a new boot flag, -n. This disables devfs support. Unless the -n flag is specified the kernel will mount a devfs file system on boot. |
| /src/sys/fs/puffs/ | |
| puffs_vnops.c | 1.129 Wed Sep 10 19:25:33 UTC 2008 christos branches: 1.129.2; 1.129.4; 1.129.8; replace 0xa0 with space from Andy Shevchenko Wed Sep 10 19:25:33 UTC 2008 christos branches: 1.129.2; 1.129.4; 1.129.8; replace 0xa0 with space from Andy Shevchenko .2; 1.129.4; 1.129.8; replace 0xa0 with space from Andy Shevchenko .4; 1.129.8; replace 0xa0 with space from Andy Shevchenko 1.129.8.1 Wed Apr 21 00:28:13 UTC 2010 matt sync to netbsd-5 1.129.4.11 Wed Nov 02 20:11:12 UTC 2011 riz Pull up following revision(s) (requested by manu in ticket #1679): sys/fs/puffs/puffs_vnops.c: revision 1.157 sys/fs/puffs/puffs_vnops.c: revision 1.158 sys/fs/puffs/puffs_vnops.c: revision 1.159 sys/fs/puffs/puffs_vfsops.c: revision 1.97 sys/fs/puffs/puffs_vfsops.c: revision 1.99 sys/fs/puffs/puffs_vnops.c: revision 1.160 sys/fs/puffs/puffs_vfsops.c: revision 1.100 sys/miscfs/syncfs/sync_subr.c: revision 1.47 sys/fs/puffs/puffs_node.c: revision 1.21 sys/fs/puffs/puffs_node.c: revision 1.22 sys/fs/puffs/puffs_msgif.c: revision 1.88 sys/fs/puffs/puffs_msgif.c: revision 1.89 sys/fs/puffs/puffs_vnops.c: revision 1.156 Make sure ioflush does not sleep in PUFFS code path, waiting for a mutex, a memory allocation, or a response from the filesystem. This avoids deadlocks in the following situations: 1) when memory is low: ioflush waits the fileystem, the fielsystem waits for memory 2) when the filesystem does not respond (e.g.: network outage ona distributed filesystem) Fix the build that was broken by struct lwp *updateproc reference in RUMP-visible code. Instead of checking that updateproc (aka ioflush, aka syncer) will not sleep in PUFFS code, I check for any kernel thread: after all none of them are designed to hang awaiting for a remote filesystem operation to complete. Roll back the change that forced kernel threads to not sleep in PUFFS. The change does not make consensus, since only pagedaemon should need it. Other threads will tolerate sleeping, and problems here are only symptoms that something is going wrong in memory management. The cause, not the symptoms, need to be fixed. Make sure pagedaemon does not sleep for memory in puffs_vnop_sleep. Add KASSERT on any sleeping memory allocation to check it cannot happen again. Remove #ifdef DIAGNOSTIC guards around KASSERT, as the macro contains them 1.129.4.10 Sat Sep 17 18:53:30 UTC 2011 bouyer Pull up following revision(s) (requested by manu in ticket #1666): sys/fs/puffs/puffs_sys.h: revision 1.78 via patch sys/fs/puffs/puffs_node.c: revision 1.20 via patch sys/fs/puffs/puffs_vnops.c: revision 1.155 via patch Add a mutex for operations that touch size (setattr, getattr, write, fsync). This is required to avoid data corruption bugs, where a getattr slices itself within a setattr operation, and sets the size to the stall value it got from the filesystem. That value is smaller than the one set by setattr, and the call to uvm_vnp_setsize() trigged a spurious truncate. The result is a chunk of zeroed data in the file. Such a situation can easily happen when the ioflush thread issue a VOP_FSYNC/puffs_vnop_sync/flushvncache/dosetattrn while andother process do a sys_stat/VOP_GETATTR/puffs_vnop_getattr. This mutex on size operation can be removed the day we decide VOP_GETATTR has to operated on a locked vnode, since the other operations that touch size already require that. 1.129.4.9 Sun Jul 17 15:36:03 UTC 2011 riz Pull up following revision(s) (requested by manu in ticket #1645): lib/libc/sys/Makefile.inc 1.207 via patch lib/libc/sys/extattr_get_file.2 patch lib/libpuffs/dispatcher.c 1.34,1.36 via patch lib/libpuffs/puffs.c 1.107 via patch lib/libpuffs/puffs.h 1.115,1.118 via patch sys/fs/puffs/puffs_msgif.h 1.71,1.76 via patch sys/fs/puffs/puffs_vfsops.c 1.88 via patch sys/fs/puffs/puffs_vnops.c 1.145,1.154 via patch sys/kern/vfs_xattr.c 1.24-1.27 via patch sys/kern/vnode_if.c 1.87 via patch sys/sys/Makefile 1.133 via patch sys/sys/extattr.h 1.6 via patch sys/sys/vnode_if.h 1.81 via patch sys/ufs/ffs/ffs_vnops.c patch sys/ufs/ufs/ufs_extattr.c 1.31,1.34 via patch * support extended attributes * bump major due to structure growth * add some spare space * remove ABI sillyness Support extended attributes. Fix multiple non compliances in our Linux-like extattr API, and make it public so that it can be used. Improve a bit listxattr(2). It attemps to list both system and user extended attributes, and it faled if calling user did not have privilege for reading system EA. Now we just lise user EA and skip system EA in reading them is not allowed. Fix bug introduced in previous commuit: Do not vrele() a vnode we did not obtained. Improve UFS1 extended attributes usability - autocreate attribute backing file for new attributes - autoload attributes when issuing extattrctl start - when autoloading attributes, do not display garbage warning when looking up entries that got ENOENT Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the filesystem in which format extended attribute shall be listed. There are currently two formats: - NUL-terminated strings, used for listxattr(2), this is the default. - one byte length-pprefixed, non NUL-terminated strings, used for extattr_list_file(2), which is obtanined by setting the EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9) This approach avoid the need for converting the list back and forth, except in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may have requested EXTATTR_LIST_PREFIXLEN. 1.129.4.8 Sat Jun 18 16:17:38 UTC 2011 bouyer Pull up following revision(s) (requested by manu in ticket #1623): lib/libpuffs/puffs.c: revision 1.116 via patch sys/fs/puffs/puffs_vnops.c: revision 1.151 via patch Call advlock method if supplied 1.129.4.7 Sat Jan 16 17:52:13 UTC 2010 bouyer Pull up following revision(s) (requested by pooka in ticket #1244): sys/fs/puffs/puffs_vnops.c: revision 1.142 Since VOP_GETATTR() does not require a locked vnode, resolve and reference the puffs_node before sending the request to the file server. This diminishes the window where the inode can be reclaimed and be invalidated before it is accessed (but does not completely eliminate the race, as that is a caller problem which we cannot fix here). |
| /src/etc/skel/ | |
| dot.cshrc | 1.7.36.1 Thu Apr 12 13:51:41 UTC 2018 martin Pull up following revision(s) (requested by snj in ticket #742): etc/root/dot.profile: revision 1.30 etc/skel/dot.profile: revision 1.10 etc/login.conf: revision 1.7 etc/root/dot.cshrc: revision 1.27 share/man/man7/hier.7: revision 1.129 (patch) etc/man.conf: revision 1.37 etc/skel/dot.cshrc: revision 1.8 /usr/X11R6 has been empty on most NetBSD installations since 2008, and the last few straggling ports dumped it in 2015. It's time to prune references to /usr/X11R6 from our config files. remove reference to /usr/X11R6 |
| dot.profile | 1.9.26.1 Thu Apr 12 13:51:41 UTC 2018 martin Pull up following revision(s) (requested by snj in ticket #742): etc/root/dot.profile: revision 1.30 etc/skel/dot.profile: revision 1.10 etc/login.conf: revision 1.7 etc/root/dot.cshrc: revision 1.27 share/man/man7/hier.7: revision 1.129 (patch) etc/man.conf: revision 1.37 etc/skel/dot.cshrc: revision 1.8 /usr/X11R6 has been empty on most NetBSD installations since 2008, and the last few straggling ports dumped it in 2015. It's time to prune references to /usr/X11R6 from our config files. remove reference to /usr/X11R6 |
| /src/include/ | |
| link_elf.h | 1.7.28.2 Sat Mar 17 18:28:35 UTC 2012 bouyer Pull up following revision(s) via patch (requested by skrll in ticket #1724): rescue/list.ldd: revision 1.4 lib/libc/dlfcn/dlfcn_elf.c: revision 1.7 libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.57 distrib/sets/lists/comp/mi: revision 1.1512 share/man/man3/Makefile: revision 1.56 libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.58 usr.bin/ldd/ldd.c: revision 1.15 libexec/ld.elf_so/rtld.h: revision 1.84 share/man/man3/dl_iterate_phdr.3: revision 1.1 libexec/ld.elf_so/rtld.c: revision 1.129 libexec/ld.elf_so/arch/powerpc/ppc_reloc.c: revision 1.44 libexec/ld.elf_so/rtld.h: revision 1.89 libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.36 libexec/ld.elf_so/map_object.c: revision 1.41 libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.37 libexec/ld.elf_so/arch/sparc64/mdreloc.c: revision 1.46 include/link_elf.h: revision 1.10 libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.29 libexec/ld.elf_so/arch/vax/mdreloc.c: revision 1.26 libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.34 libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.31 libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.35 libexec/ld.elf_so/Makefile: revision 1.94 libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.32 libexec/ld.elf_so/Makefile: revision 1.95 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.31 libexec/ld.elf_so/Makefile: revision 1.96 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.32 libexec/ld.elf_so/reloc.c: revision 1.98 libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.33 sys/sys/exec_elf.h: revision 1.106 libexec/ld.elf_so/rtld.c: revision 1.130 libexec/ld.elf_so/load.c: revision 1.37 libexec/ld.elf_so/rtld.c: revision 1.131 libexec/ld.elf_so/load.c: revision 1.38 libexec/ld.elf_so/rtld.h: revision 1.90 libexec/ld.elf_so/headers.c: revision 1.36 libexec/ld.elf_so/rtld.h: revision 1.95 libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.30 libexec/ld.elf_so/arch/m68k/mdreloc.c: revision 1.25 libexec/ld.elf_so/symbol.c: revision 1.50 libexec/ld.elf_so/symbol.c: revision 1.51 libexec/ld.elf_so/arch/sparc/mdreloc.c: revision 1.43 libexec/ld.elf_so/symbol.c: revision 1.52 libexec/ld.elf_so/arch/sh3/mdreloc.c: revision 1.27 libexec/ld.elf_so/symbol.c: revision 1.54 PR/39240: Satoshi Suetake: Don't fail when attempting to resolve weak symbols when we are doing immediate binding, leave them alone and they will be dealt with later during lazy binding. From skrll@ Implement negative cache checks for symbol lookups. Uses the Donelist idea from FreeBSD. Use alloca(3) instead of local xmalloc for creating our DoneLists. This allows threaded programs to use us a little better, PR lib/43005. Implement dl_iterate_phdr. Somewhat taken from FreeBSD. Manual page from OpenBSD. |