Displaying 1 50 of 765,133 commits (0.096s)

NetBSD — sys/dev/fdt fdt_intr.c

Avoid using the "interrupt-map" table on our own interrupts.

This is needed by the rk3399.dtsi's pcie0 node, which needs to map its
interrupts an entity other than itself.

Suggested by jmcneill@
Delta File
+3 -3 sys/dev/fdt/fdt_intr.c
+3 -3 1 file

NetBSD — sys/dev/ic mvsata.c, sys/dev/scsipi atapi_wdc.c

pass correct status + error to *_atapi_phase_complete(), so that
the function is actually able to recognize when there was an error;
tested via reading a cd0 device in QEMU with ejected cdrom

bug was introduced with jdolecek-ncq branch

fixes PR kern/53724 by Andreas Gustafsson
Delta File
+6 -7 sys/dev/ic/mvsata.c
+6 -7 sys/dev/scsipi/atapi_wdc.c
+12 -14 2 files

NetBSD — distrib/macppc/floppies Makefile, distrib/macppc/floppies/bootfloppy Makefile

install kernel for ppc601 floppies and iso

NetBSD — sys/arch/macppc/conf GENERIC_601

Add scroll support, wsmouse
Delta File
+12 -4 sys/arch/macppc/conf/GENERIC_601
+12 -4 1 file

NetBSD — sys/arch/macppc/stand/bootxx bootxx.c, sys/arch/macppc/stand/ofwboot Locore.c

PR 51495/port-macppc

Allow ppc601 to boot off hard disk

NetBSD — sys/dev/ata ata.c ata_wdc.c, sys/dev/ic mvsata.c

hold channel lock during whole ata_dmaerr()/ata_downgrade_mode() -
according to code inspection this is safe, none of the set_modes
hooks execute anything which would be taking the lock

adresses PR kern/53714 by Andreas Gustafsson

NetBSD — sys/arch/x86/x86 cpu.c

Add a comment explaining an important rule. Just to better highlight that
this rule is actually not respected.
Delta File
+11 -2 sys/arch/x86/x86/cpu.c
+11 -2 1 file

NetBSD — lib/libnvmm Makefile

No need to install shared libraries to /lib.
Delta File
+1 -3 lib/libnvmm/Makefile
+1 -3 1 file

NetBSD — doc CHANGES-8.1

Ticket #1091
Delta File
+13 -1 doc/CHANGES-8.1
+13 -1 1 file

NetBSD — sys/dev/usb usbdevs_data.h usbdevs.h

regen for ticket #1091
Delta File
+1,103 -1,093 sys/dev/usb/usbdevs_data.h
+5 -2 sys/dev/usb/usbdevs.h
+1,108 -1,095 2 files

NetBSD — sys/dev/usb usb_quirks.c usbdi_util.c

Pull up following revision(s) (requested by manu in ticket #1091):

        sys/dev/usb/usb_quirks.c: revision 1.88,1.89 (via patch)
        sys/dev/usb/usbdi_util.c: revision 1.72 (via patch)
        sys/dev/usb/usb_quirks.h: revision 1.28 (via patch)
        sys/dev/usb/usbdi_util.h: revision 1.48
        sys/dev/usb/usbdevs: revision 1.760,1.761 (via patch)

Add PN533 based NFC devices

 -

Workaround PN533 USB descriptor corruption

During normal operation, the PN533 chip may corrupt its USB configuration,
interface and endpoint descriptors. The device descriptor remains unaffected.

Since the descriptors are documented to be immutable, we can work around
the problem by providing hard-coded descriptors instead of pulling them
from the device.

Userland implementation such as NFC tools' libnfc use the same approach,
but this kernel quirk is still necessary so that the device can be
attached on reboot, after its USB descriptors got corrupted.


    [3 lines not shown]

NetBSD — sys/arch/arm/acpi gic_acpi.c gicv3_acpi.c, sys/arch/arm/cortex files.cortex

Support building kernels with ACPI and no PCI.

NetBSD — sys/arch/arm/fdt gic_fdt.c

Only attach v2m if PCI support is present
Delta File
+12 -4 sys/arch/arm/fdt/gic_fdt.c
+12 -4 1 file

NetBSD — doc CHANGES-8.1

Tickets #1090 and #1092
Delta File
+12 -1 doc/CHANGES-8.1
+12 -1 1 file

NetBSD — sys/kern uipc_usrreq.c, sys/netipsec keysock.c

Pull up following revision(s) (requested by roy in ticket #1092):

        sys/netipsec/keysock.c: revision 1.66
        sys/kern/uipc_usrreq.c: revision 1.187

Don't call soroverflow when we return the error to the sender.

Thanks to thorpej@ for a sanity check.
Delta File
+7 -5 sys/kern/uipc_usrreq.c
+5 -3 sys/netipsec/keysock.c
+12 -8 2 files

NetBSD — sys/dev/usb ugen.c

Pull up following revision(s) (requested by manu in ticket #1090):

        sys/dev/usb/ugen.c: revision 1.141

Enfore USB timeout on ugen(4) write operations
Delta File
+10 -10 sys/dev/usb/ugen.c
+10 -10 1 file

NetBSD — doc CHANGES-8.1

Ticket #1089
Delta File
+8 -1 doc/CHANGES-8.1
+8 -1 1 file

NetBSD — external/bsd/nsd/include config.h, sys/kern uipc_syscalls.c uipc_socket.c

Pull up following revision(s) (requested by hannken in ticket #1089):

        external/bsd/nsd/include/config.h: revision 1.5
        sys/kern/uipc_syscalls.c: revision 1.198
        sys/kern/uipc_syscalls.c: revision 1.199
        sys/kern/uipc_socket.c: revision 1.267

Update getsockopt(SO_ERROR) to behave like soreceive() and
return and clear so->so_rerror if so->so_error is zero.

Ok: christos@

 -

Don't defer errors from sendmmsg().  This matches the linux manpage.

Defer errors from recvmmsg() through so_rerror and
tests and return a deferred error on entry.

Ok: christos@

 -

sys_recvmmsg: don't defer an error that already gets returned.


    [3 lines not shown]

NetBSD — lib Makefile

Do not build a compat i386 version of libnvmm.
Delta File
+2 -2 lib/Makefile
+2 -2 1 file

NetBSD — external/bsd/nsd/include config.h

Re-enable {send,recv}mmsg now they are working.
Delta File
+0 -2 external/bsd/nsd/include/config.h
+0 -2 1 file

NetBSD — sys/kern uipc_syscalls.c

sys_recvmmsg: don't defer an error that already gets returned.
Delta File
+8 -9 sys/kern/uipc_syscalls.c
+8 -9 1 file

NetBSD — doc CHANGES-8.1

Tickets #1086 - #1088
Delta File
+16 -1 doc/CHANGES-8.1
+16 -1 1 file

NetBSD — sys/kern kern_proc.c

Pull up following revision(s) (requested by maxv in ticket #1088):

        sys/kern/kern_proc.c: revision 1.219 (via patch)

Fix buffer overflow, which can lead to severe information leak. Detected
by kASan.
Delta File
+4 -3 sys/kern/kern_proc.c
+4 -3 1 file

NetBSD — sys/net if_gif.c

    Pull up following revision(s) (requested by knakahara in ticket #1087):
    
            sys/net/if_gif.c: revision 1.145
    
    Fix ALTQ on gif(4). Reported and tested by Anthony Mallet, advised by Greg Troxel, 
thanks.
    
    l2tp(4) and ipsecif(4) don't support ALTQ yet. So, they don't require this fix.
    
    XXX pullup-8
Delta File
+4 -3 sys/net/if_gif.c
+4 -3 1 file

NetBSD — bin/sh parser.c

Pull up following revision(s) (requested by kre in ticket #1086):

        bin/sh/parser.c: revision 1.152

PR bin/53712

Avoid crash from redirect on null compound command.
Delta File
+3 -3 bin/sh/parser.c
+3 -3 1 file

NetBSD — sys/kern kern_proc.c

Fix buffer overflow, which can lead to severe information leak. Detected
by kASan.
Delta File
+4 -3 sys/kern/kern_proc.c
+4 -3 1 file

NetBSD — sys/compat/netbsd32 netbsd32_socket.c

Fix inverted logic, which leads to buffer overflow. Detected by kASan.

NetBSD — tests/kernel h_segv.c

Make fenv.h optional for this test to unbreak the vax build.
Delta File
+6 -2 tests/kernel/h_segv.c
+6 -2 1 file

NetBSD — sys/dev/pci pcidevs_data.h pcidevs.h

 Regen.
Delta File
+3,428 -3,388 sys/dev/pci/pcidevs_data.h
+17 -3 sys/dev/pci/pcidevs.h
+3,445 -3,391 2 files

NetBSD — sys/dev/pci pcidevs

 Add some Intel 100 series and C230 series devices.
Delta File
+15 -1 sys/dev/pci/pcidevs
+15 -1 1 file

NetBSD — sys/net if_gif.c

    Fix ALTQ on gif(4). Reported and tested by Anthony Mallet, advised by Greg Troxel, 
thanks.
    
    l2tp(4) and ipsecif(4) don't support ALTQ yet. So, they don't require this fix.
    
    XXX pullup-8
Delta File
+4 -3 sys/net/if_gif.c
+4 -3 1 file

NetBSD — sbin/slattach slattach.8

Improve examples and netmask information (from Dan Plassche)
Delta File
+16 -4 sbin/slattach/slattach.8
+16 -4 1 file

NetBSD — usr.sbin/sliplogin sliplogin.8

FILES section from Dan Plassche
Delta File
+12 -2 usr.sbin/sliplogin/sliplogin.8
+12 -2 1 file

NetBSD — external/gpl3/gcc.old/dist/gcc/doc gcc.info cpp.info

pull across from gcc/: regen after GCC 6.5.

NetBSD — external/gpl3/gcc/dist/gcc/doc gcc.info cpp.info

regen after GCC 6.5.

NetBSD — tools/gcc gcc-version.mk

our GCC 6.5 is "nb4 20181109".
Delta File
+2 -2 tools/gcc/gcc-version.mk
+2 -2 1 file

NetBSD — doc 3RDPARTY

note GCC 6.5 was released (and imported.)
Delta File
+3 -3 doc/3RDPARTY
+3 -3 1 file

NetBSD — external/gpl3/gcc.old Makefile.gcc_path Makefile.hooks, external/gpl3/gcc.old/dist MD5SUMS NEWS

merge GCC 6.5.0 into gcc.old.

NetBSD — sys/arch/arm/rockchip rk3399_cru.c

Add clock information for RK3399 PCIe
Delta File
+32 -2 sys/arch/arm/rockchip/rk3399_cru.c
+32 -2 1 file

NetBSD — sys/arch/arm/fdt pcihost_fdt.c

Add MSI/MSI-X support.
Delta File
+58 -8 sys/arch/arm/fdt/pcihost_fdt.c
+58 -8 1 file

NetBSD — sys/arch/arm/fdt gic_fdt.c

Add GICv2m support
Delta File
+70 -10 sys/arch/arm/fdt/gic_fdt.c
+70 -10 1 file

NetBSD — external/gpl3/gcc.old/dist/gcc ipa-icf-gimple.c gimple-ssa-backprop.c, external/gpl3/gcc.old/dist/gcc/config/aarch64 cortex-a57-fma-steering.c

merge GCC 6.5 into gcc.old (properly this time.)

NetBSD — external/gpl3/gcc.old Makefile.gcc_path, external/gpl3/gcc.old/dist MD5SUMS NEWS

merge GCC 6.5 into gcc.old (properly this time.)

NetBSD — external/gpl3/gcc.old Makefile.gcc_path, external/gpl3/gcc.old/dist MD5SUMS NEWS

merge GCC 6.5 into gcc.old (properly this time.)

NetBSD — share/mk bsd.own.mk

disorder police
Delta File
+2 -2 share/mk/bsd.own.mk
+2 -2 1 file

NetBSD — distrib/sets/lists/base md.amd64, distrib/sets/lists/comp md.amd64

Fix the libnvmm sets, do the same as libx86_64.

NetBSD — sys/arch/arm/dts sun50i-a64-pinebook.dts

    pull across this patch:
    
       
https://github.com/anarsoul/linux-2.6/commit/26b3d6f8ffa77cb05066c11967a498d6dacbdc42#diff-61a0580c3eaa34a373cc7ee7ee46dd2a
    
    ---
    arm64: allwinner: a64: enable Bluetooth On Pinebook
    
    Pinebook has an RTL8723CS WiFi + BT chip, BT is connected to UART1
    and uses PL4 as BT reset, PL5 as device wake GPIO, PL6 as host wake GPIO
    the I2C controlling signals are connected to R_I2C bus.
    
    Enable it in the device tree.
    
    Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
    ---
    
    this enables:
    
    [     1.000019] com1 at simplebus1: ns16550a, working fifo
    [     1.000019] com1: interrupting on GIC irq 33
    
    to attach.  more work with firmware and btattach will be required,
    for the BT to be actually functional.

NetBSD — sys/kern kern_time.c

Fix stack info leak. There are 4 bytes of padding in struct timeval. Looks
like there are other leaks related to timeval in this file.

[  133.414352] kleak: Possible leak in copyout: [len=16, leaked=4]
[  133.414352] #0 0xffffffff80224d0a in kleak_note <netbsd>
[  133.424360] #1 0xffffffff80224d8a in kleak_copyout <netbsd>
[  133.434361] #2 0xffffffff80b5fd79 in sys___gettimeofday50 <netbsd>
[  133.434361] #3 0xffffffff8025a89c in sy_call <netbsd>
[  133.444351] #4 0xffffffff8025aace in sy_invoke <netbsd>
[  133.454365] #5 0xffffffff8025ab54 in syscall <netbsd>
Delta File
+3 -2 sys/kern/kern_time.c
+3 -2 1 file

NetBSD — sys/arch/amd64/amd64 machdep.c

Fix stack info leak. There is a big padding in struct sigframe_siginfo.

[  224.006287] kleak: Possible leak in copyout: [len=920, leaked=92]
[  224.016977] #0 0xffffffff80224d0a in kleak_note <netbsd>
[  224.026268] #1 0xffffffff80224d8a in kleak_copyout <netbsd>
[  224.026268] #2 0xffffffff802224b5 in sendsig_siginfo <netbsd>
[  224.036261] #3 0xffffffff80b51564 in sendsig <netbsd>
[  224.046475] #4 0xffffffff80b51282 in postsig <netbsd>
[  224.046475] #5 0xffffffff80b2fc5d in lwp_userret <netbsd>
[  224.056273] #6 0xffffffff8025a951 in mi_userret <netbsd>
[  224.066277] #7 0xffffffff8025ab89 in syscall <netbsd>
Delta File
+3 -3 sys/arch/amd64/amd64/machdep.c
+3 -3 1 file

NetBSD — sys/kern kern_exec.c

Fix stack info leak. There are 2x4 bytes of padding in struct ps_strings.

[  223.896199] kleak: Possible leak in copyout: [len=32, leaked=8]
[  223.906430] #0 0xffffffff80224d0a in kleak_note <netbsd>
[  223.906430] #1 0xffffffff80224d8a in kleak_copyout <netbsd>
[  223.918363] #2 0xffffffff80b1e26c in copyoutpsstrs <netbsd>
[  223.926560] #3 0xffffffff80b1e331 in copyoutargs <netbsd>
[  223.936216] #4 0xffffffff80b21768 in execve_runproc <netbsd>
[  223.946225] #5 0xffffffff80b21cc9 in execve1 <netbsd>
[  223.946225] #6 0xffffffff8025a89c in sy_call <netbsd>
[  223.956225] #7 0xffffffff8025aace in sy_invoke <netbsd>
[  223.966232] #8 0xffffffff8025ab54 in syscall <netbsd>
Delta File
+4 -2 sys/kern/kern_exec.c
+4 -2 1 file