Displaying 1 50 of 869,334 commits (0.096s)

NetBSD — doc CHANGES-8.0

Tickets #100, #101, #106, #107, #109
Delta File
+90 -1 doc/CHANGES-8.0
+90 -1 1 file

NetBSD — sbin/route route.c route.8, sys/net rtsock.c if_llatbl.c

    Pull up following revision(s) (requested by ozaki-r in ticket #107):
            usr.sbin/arp/arp.c: revision 1.56
            sys/net/rtsock.c: revision 1.218
            sys/net/if_llatbl.c: revision 1.20
            usr.sbin/arp/arp.c: revision 1.57
            sys/net/rtsock.c: revision 1.219
            sys/net/if_llatbl.c: revision 1.21
            usr.sbin/arp/arp.c: revision 1.58
            tests/net/net_common.sh: revision 1.19
            sys/netinet6/nd6.h: revision 1.84
            sys/netinet6/nd6.h: revision 1.85
            tests/net/arp/t_arp.sh: revision 1.23
            sys/netinet6/in6.c: revision 1.246
            tests/net/arp/t_arp.sh: revision 1.24
            sys/netinet6/in6.c: revision 1.247
            tests/net/arp/t_arp.sh: revision 1.25
            sys/netinet6/in6.c: revision 1.248
            tests/net/arp/t_arp.sh: revision 1.26
            usr.sbin/ndp/ndp.c: revision 1.49
            tests/net/arp/t_arp.sh: revision 1.27
            tests/net/ndp/t_ndp.sh: revision 1.20
            tests/net/arp/t_arp.sh: revision 1.28
            tests/net/ndp/t_ndp.sh: revision 1.21
            tests/net/arp/t_arp.sh: revision 1.29
            tests/net/ndp/t_ndp.sh: revision 1.22

    [119 lines not shown]
Delta File
+334 -51 tests/net/arp/t_arp.sh
+293 -9 tests/net/ndp/t_ndp.sh
+61 -70 usr.sbin/arp/arp.c
+85 -27 sys/net/rtsock.c
+61 -45 usr.sbin/ndp/ndp.c
+7 -57 sys/netinet6/nd6.c
+172 -90 17 files not shown
+1,013 -349 23 files

NetBSD — sys/arch/arm/sunxi files.sunxi

Add A83T files
Delta File
+8 -1 sys/arch/arm/sunxi/files.sunxi
+8 -1 1 file

NetBSD — sys/netinet6 icmp6.c

Pull up following revision(s) (requested by knakahara in ticket #106):
        sys/netinet6/icmp6.c: revision 1.212
fix PR kern/52353. implemented by ozaki-r at n.o. I just commit by proxy.
XXX need to pullup to -8.
Delta File
+11 -2 sys/netinet6/icmp6.c
+11 -2 1 file

NetBSD — sys/dev/fdt gpiokeys.c

Pull up following revision(s) (requested by jmcneill in ticket #101):
        sys/dev/fdt/gpiokeys.c: revision 1.3
        sys/dev/fdt/gpiokeys.c: revision 1.4
Read the initial key state at startup so we only trigger events on state
changes. Prevents a misconfigured power button from shutting us down at
boot.
Only read gpio pin if the pin is valid
Delta File
+4 -2 sys/dev/fdt/gpiokeys.c
+4 -2 1 file

NetBSD — sys/netinet ip_output.c

Pull up following revision(s) (requested by roy in ticket #100):
        sys/netinet/ip_output.c: revision 1.280
        sys/netinet/ip_output.c: revision 1.282
When outputting, search for the sending address on the sending interface
rather than blindly picking the first matcing address from any interface
when testing source address validity.
This allows another interface to have the same address, but be detached.
Rename u to udst, .dst to .sa and .dst4 to sin.
Create sockaddr for the source address in usrc so it won't stamp on udst.
This fixes a regression caused in r1.280
Delta File
+17 -15 sys/netinet/ip_output.c
+17 -15 1 file

NetBSD — doc CHANGES

wbsio(4): Add 12 devices.
Delta File
+4 -1 doc/CHANGES
+4 -1 1 file

NetBSD — sys/dev/isa wbsio.c wbsioreg.h

 Add Winbond W83627DHG-P, W83627SF, W83627UHG, W83667HGB, W83687THF, W83697UG,
Nuvoton NCT5104D, NCT6775, NCT6779, NCT6791, NCT6792 and NCT6793.
Delta File
+63 -39 sys/dev/isa/wbsio.c
+64 -0 sys/dev/isa/wbsioreg.h
+127 -39 2 files

NetBSD — libexec/httpd bozohttpd.8

fix ordering of a couple of words.  from Edgar Pettijohn in PR#52375.
thanks!
Delta File
+2 -2 libexec/httpd/bozohttpd.8
+2 -2 1 file

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

 Regen.
Delta File
+4,538 -4,516 sys/dev/pci/pcidevs_data.h
+9 -2 sys/dev/pci/pcidevs.h
+4,547 -4,518 2 files

NetBSD — sys/dev/pci pcidevs

 Add Atom Z8000 devices from "Intel Atom Z8000 Processor Series Datasheet
(Volume 2 of 2)".
Delta File
+8 -1 sys/dev/pci/pcidevs
+8 -1 1 file

NetBSD — sys/netinet tcp_input.c tcp_var.h, sys/netipsec ipsec.c key.h

Rename key_alloc* functions (NFC)

We shouldn't use the term "alloc" for functions that just look up
data and actually don't allocate memory.

NetBSD — sys/netinet6 icmp6.c

fix PR kern/52353. implemented by ozaki-r at n.o. I just commit by proxy.

XXX need to pullup to -8.
Delta File
+11 -2 sys/netinet6/icmp6.c
+11 -2 1 file

NetBSD — sys/arch/arm/arm32 exception.S, sys/arch/arm/include/arm32 frame.h

split PUSHFRAMEINSVC into two pieces so that we can insert some additional
instructions in the middle in undefinedinstruction_bounce, namely to add
some additional space on the stack before the trapframe for undefineds from
SVC mode.  this extra space allows dtrace to emulate a "push" instruction.
the initial version was from me and some improvements were from nick.

NetBSD — sys/arch/arm/sunxi sun8i_a83t_ccu.c sun8i_a83t_gpio.c, sys/arch/evbarm/conf SUNXI

Add support for Allwinner A83T SoC.

NetBSD — common/lib/libc/stdlib _strtol.h _strtoul.h, tests/lib/libc/stdlib t_strtol.c

Fix ISO C compliance: strtol of "0xX" should give the largest valid
numeric prefix, which is 0.

NetBSD — distrib/utils/embedded/conf armv7.conf

Test for kernel build directory before reading DTB list

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

gdt_prepframes() is called with a number of pages, don't convert to a number
of pages again. This didn't fail because we're called with only one page, and
the conversion from '1' to pages resulted in 1 again.
Delta File
+3 -3 sys/arch/xen/x86/cpu.c
+3 -3 1 file

NetBSD — sys/arch/i386/i386 gdt.c

gdt_size is now in bytes, but the HYPERVISOR_set_gdt() expects a number
of entries and has not been converted.
Xen/i386 now boots again.
Delta File
+6 -5 sys/arch/i386/i386/gdt.c
+6 -5 1 file

NetBSD — sys/kern uipc_socket2.c uipc_socket.c

move the timestamp stuff to uipc_socket.c because it already has the compat
includes.
Delta File
+2 -35 sys/kern/uipc_socket2.c
+29 -2 sys/kern/uipc_socket.c
+31 -37 2 files

NetBSD — sys/netinet6 ip6_input.c

remove unnecessary casts; use sizeof(var) instead of sizeof(type).
Delta File
+9 -10 sys/netinet6/ip6_input.c
+9 -10 1 file

NetBSD — sys/netinet ip_input.c

remove unnecessary casts (no functional change)
Delta File
+6 -6 sys/netinet/ip_input.c
+6 -6 1 file

NetBSD — sys/kern uipc_socket2.c, sys/netinet ip_input.c udp_usrreq.c

Merge the two copies SO_TIMESTAMP/SO_OTIMESTAMP processing to a single
function, and add a SOOPT_TIMESTAMP define reducing compat pollution from
5 places to 1.

NetBSD — doc CHANGES-6.2

1419, 1420, 1423, 1427, 1428, 1434
Delta File
+34 -1 doc/CHANGES-6.2
+34 -1 1 file

NetBSD — sys/miscfs/procfs procfs_map.c

Pull up following revision(s) (requested by tsutsui in ticket #1434):
        sys/miscfs/procfs/procfs_map.c: revision 1.45
Maps don't change that frequently between reads, so don't give up and
do what linux does (support reading from an offset).
Delta File
+12 -12 sys/miscfs/procfs/procfs_map.c
+12 -12 1 file

NetBSD — usr.bin/ftp fetch.c

Pull up following revision(s) (requested by nonaka in ticket #1428):
        usr.bin/ftp/fetch.c: revision 1.227
Use the first name we requested the http/https URL for, not any name we ended
up with after random redirects.
Delta File
+8 -2 usr.bin/ftp/fetch.c
+8 -2 1 file

NetBSD — usr.sbin/traceroute6 traceroute6.c

Pull up following revision(s) (requested by is in ticket #1427):
        usr.sbin/traceroute6/traceroute6.c: revision 1.43
PR/47304: Kouki Ooyatsu: -s (source IPv6 address to be used) option does not
work because the wrong variable is used.

NetBSD — usr.bin/ftp fetch.c

Pull up following revision(s) (requested by nonaka in ticket #1423):
        usr.bin/ftp/fetch.c: revision 1.226
handle proxy authentication correctly.
Delta File
+41 -6 usr.bin/ftp/fetch.c
+41 -6 1 file

NetBSD — share/man/man3 bits.3

Pull up following revision(s) (requested by riastradh in ticket #1420):
        share/man/man3/bits.3: revision 1.17
These have been able to handle uintmax-width masks since creation.
Delta File
+2 -7 share/man/man3/bits.3
+2 -7 1 file

NetBSD — sys/kern subr_xcall.c

Pull up following revision(s) (requested by ozaki-r in ticket #1419):
        sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632
Delta File
+5 -8 sys/kern/subr_xcall.c
+5 -8 1 file

NetBSD — doc CHANGES-6.1.6

1419
Delta File
+6 -1 doc/CHANGES-6.1.6
+6 -1 1 file

NetBSD — sys/kern subr_xcall.c

Pull up following revision(s) (requested by ozaki-r in ticket #1419):
        sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632
Delta File
+5 -8 sys/kern/subr_xcall.c
+5 -8 1 file

NetBSD — doc CHANGES-6.0.7

1419
Delta File
+6 -1 doc/CHANGES-6.0.7
+6 -1 1 file

NetBSD — sys/kern subr_xcall.c

Pull up following revision(s) (requested by ozaki-r in ticket #1419):
        sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632
Delta File
+5 -8 sys/kern/subr_xcall.c
+5 -8 1 file

NetBSD — sys/arch/arm/include/arm32 pmap.h

KNF two comments
Delta File
+9 -5 sys/arch/arm/include/arm32/pmap.h
+9 -5 1 file

NetBSD — sys/arch/arm/arm32 arm32_kvminit.c

Now that we can... mark kernel text as non-writable on MMUs that support
it.

NetBSD — sys/arch/arm/include/arm32 pmap.h

Re-define the L*_PROT_RO for MMUs that don't really support RO mapping
and adjust l2pte_set_{writeable,readony} to the new values.

This allows RO mappings for MMUs that actually support them.
Delta File
+14 -10 sys/arch/arm/include/arm32/pmap.h
+14 -10 1 file

NetBSD — sys/dev/fdt gpiokeys.c

Only read gpio pin if the pin is valid
Delta File
+4 -3 sys/dev/fdt/gpiokeys.c
+4 -3 1 file

NetBSD — sys/dev/fdt gpiokeys.c

Read the initial key state at startup so we only trigger events on state
changes. Prevents a misconfigured power button from shutting us down at
boot.
Delta File
+3 -2 sys/dev/fdt/gpiokeys.c
+3 -2 1 file

NetBSD — sys/arch/sparc64/conf files.sparc64, sys/arch/sparc64/dev power.c power.h

Remove unused "power @ ebus" device, we use the firmware to handle power/
reboot.

NetBSD — sys/arch/arm/sunxi sunxi_gpio.c, sys/arch/evbarm/conf SUNXI

Attach gpio(4) to sunxigpio

NetBSD — sys/dev/gpio gpio.c gpiovar.h

Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Delta File
+15 -2 sys/dev/gpio/gpio.c
+2 -1 sys/dev/gpio/gpiovar.h
+17 -3 2 files

NetBSD — sys/netipsec ipsec_input.c ipsec_output.c

Simplify; we can assume sav->tdb_xform cannot be NULL while it's valid

NetBSD — etc/rc.d network

Revert previous - not a typo, even though it looks like one
Delta File
+2 -2 etc/rc.d/network
+2 -2 1 file

NetBSD — sys/netipsec key.c

Avoid updating sav directly

On SADB_UPDATE a target sav was updated directly, which was unsafe.
Instead allocate another sav, copy variables of the old sav to
the new one and replace the old one with the new one.
Delta File
+36 -10 sys/netipsec/key.c
+36 -10 1 file

NetBSD — etc/rc.d network

PR misc/52370

Correct typo.

XXX pullup 8, pullup 7
Delta File
+2 -2 etc/rc.d/network
+2 -2 1 file

NetBSD — sys/netipsec key.c

Fix usages of sadb_msg_errno
Delta File
+6 -6 sys/netipsec/key.c
+6 -6 1 file

NetBSD — sys/dev/pci if_wm.c

 Move the location of wm_get_hw_control() in wm_init_locked() again. Doing
it "after" wm_reset() is required for some AMT based machines to linkup
1Gbps. Tested with HP dc7700.
Delta File
+9 -6 sys/dev/pci/if_wm.c
+9 -6 1 file

NetBSD — sys/opencrypto xform.c

Apply C99-style struct initialization to enc_xform, auth_hash and comp_algo
Delta File
+191 -68 sys/opencrypto/xform.c
+191 -68 1 file

NetBSD — sys/opencrypto xform.h

KNF
Delta File
+5 -3 sys/opencrypto/xform.h
+5 -3 1 file