Displaying 1 50 of 633,030 commits (0.133s)

NetBSD — sys/rump/librump/rumpvfs rumpfs.c

PR/52738: Martin Husemann: rumpfs does not support mtime
Delta File
+51 -8 sys/rump/librump/rumpvfs/rumpfs.c
+51 -8 1 file

NetBSD — external/bsd/tre/dist/lib tre-match-backtrack.c

Fix an apparent typo.

NetBSD — share/man/man9 vnodeops.9

Fix locking info for VOP_RECLAIM.
Delta File
+3 -3 share/man/man9/vnodeops.9
+3 -3 1 file

NetBSD — distrib/sets/lists/debug mi, distrib/sets/lists/tests mi

ATF test program for PR kern/52738: check for mtime updates after rewriting
a file.

NetBSD — sys/net rtsock.c

Avoid using a zero family mask.
Delta File
+8 -3 sys/net/rtsock.c
+8 -3 1 file

NetBSD — sys/net if.c

remove useless cast, initialize family.
Delta File
+4 -3 sys/net/if.c
+4 -3 1 file

NetBSD — external/bsd/tre/dist/lib tre-match-approx.c tre-match-parallel.c

    Fix memory leak when input contains illegal multibyte sequence, partially
    taken from musl libc:

NetBSD — external/bsd/tre/dist/lib tre-match-backtrack.c

ret should be reg_errcode_t.

NetBSD — external/bsd/tre/dist/lib regexec.c

    nmatch and pmatch should be ignored when regex was compiled with REG_NOSUB,
    partially taken from musl libc:
Delta File
+14 -4 external/bsd/tre/dist/lib/regexec.c
+14 -4 1 file

NetBSD — external/bsd/tre/dist/lib tre-compile.c

NetBSD — external/bsd/tre/dist/lib tre-compile.c

NetBSD — external/bsd/tre/dist/lib tre-parse.c tre-compile.c

NetBSD — sys/sys tls.h

Remove the _rtld_tls_static_setup() leftover from sys/tls.h

This prototype is dead and there are no users.
This function isn't defined anywhere.
Delta File
+1 -2 sys/sys/tls.h
+1 -2 1 file

NetBSD — share/dict web2

Improve previous: the usual spelling for the name is "Colleen", not
"Coleen". The latter does apparently exist though so don't remove it.
Delta File
+1 -0 share/dict/web2
+1 -0 1 file

NetBSD — bin/sh output.c eval.c

Implement the -X option - an apparent variant of -x which sends all trace
output to the stderr which existed when the -X option was (last) enabled.
It also enables tracing by enabling -x (and when reset, +X, also resets
the 'x' flag (+x)).  Note that it is still -x/+x which actually
enables/disables the trace output.   Hence "apparent variant" - what -X
actually does (aside from setting -x) is just to lock the trace output,
rather than having it follow wherever stderr is later redirected.
Delta File
+156 -8 bin/sh/output.c
+37 -36 bin/sh/eval.c
+38 -2 bin/sh/sh.1
+10 -4 bin/sh/options.c
+11 -2 bin/sh/output.h
+4 -2 bin/sh/var.c
+2 -1 bin/sh/option.list
+258 -55 7 files

NetBSD — bin/sh output.c output.h

Rearrange "struct output" to be slightly more friendly (I think)
to I32 P64 systems - keep nextc first, as that's used in macros,
and nleft next, as that's used (and both are updated) in the same macro,
which is used frequently, this increases the chance they're in the
same cache line (unchanged from before).   Beyond that it matters less,
so just shuffle a bit to avoid internal padding when pointers are 64 bits.
Note that there are just 3 of these structs (currently), even if there was
to be a memory saving (there probably won't be, trailing padding will eat it)
it would be of the order of 12 or 24 bytes total, so all this really
just panders to my sense of rightness....

Note to anyone who might be tempted, please don't update the struct
initializers to use newer C forms - eventually sh is planned to become
a host tool, and a separable package, so it wants to remain able to be
compiled using older (though at least ansi) compilers that implement only
older C variants.
Delta File
+5 -5 bin/sh/output.c
+2 -2 bin/sh/output.h
+7 -7 2 files

NetBSD — usr.bin/config mkioconf.c

Don't print instances we've already printed.
Delta File
+3 -3 usr.bin/config/mkioconf.c
+3 -3 1 file

NetBSD — games/fortune/datfiles fortunes2-o.real fortunes2

revert removals while there is an active discussion on what to do.

NetBSD — usr.bin/config sem.c

Remove a stray left over debug printf that crashes the builds (ab==NULL).
Delta File
+2 -3 usr.bin/config/sem.c
+2 -3 1 file

NetBSD — share/dict web2

Add missing words beginning with 'c' from FreeBSD's copy of src/share/dict/web2.
Delta File
+46 -0 share/dict/web2
+46 -0 1 file

NetBSD — share/dict web2

Add missing words beginning with 'b' from FreeBSD's copy of src/share/dict/web2.
Delta File
+43 -0 share/dict/web2
+43 -0 1 file

NetBSD — share/dict web2

Add capitalised variants missed on the last run.
Delta File
+3 -0 share/dict/web2
+3 -0 1 file

NetBSD — usr.bin/make var.c, usr.bin/make/unit-tests varcmd.mk varcmd.exp

Do not append to variable set on command line

POSIX requires that variables set on the command line
be immutable.
Var_Append needs to pass FIND_CMD and skip append
if found variable has VAR_FROM_CMD flag set.

NetBSD — games/fortune/datfiles fortunes fortunes2-o.real

Remove a few offensive quotes, put in as many new quotes.

PR bin/52735

NetBSD — games/fortune/datfiles fortunes

add quote about libraries offending everyone
Delta File
+3 -0 games/fortune/datfiles/fortunes
+3 -0 1 file

NetBSD — external/cddl/osnet/sys/sys kmem.h

Let's define symbols before using them.

NetBSD — sys/conf files

Catch up with the new config version.
Delta File
+2 -2 sys/conf/files
+2 -2 1 file

NetBSD — usr.bin/config sem.c mkioconf.c

Allow multiple attachments methods to the same child+parent combination:

    foo* at bar? with baz
    foo* at bar? with barf

Do this by scanning the list of iba's and allocating a new cfparent for
each. Keep track of the shared parent+child combinations by using the
same id for them.

NetBSD — usr.bin/config sem.c

- Factor out the remove_pspec code into a function.
- Avoid NULL pointer when printing an error.
Delta File
+36 -25 usr.bin/config/sem.c
+36 -25 1 file

NetBSD — usr.bin/config main.c

add more debugging, no functional change.
Delta File
+13 -4 usr.bin/config/main.c
+13 -4 1 file

NetBSD — tests/lib/libc/sys t_ptrace_wait.c

PR kern/52167 strikes on sparc64 too.

NetBSD — external/cddl/osnet/sys/sys kmem.h

use symbolic constant for 0

NetBSD — share/misc acronyms-o.real

Add "HFIC" and "HSIC" - as seen on IRC recently.
Delta File
+3 -1 share/misc/acronyms-o.real
+3 -1 1 file

NetBSD — usr.bin/config main.c

avoid creating infinite loops.
Delta File
+17 -4 usr.bin/config/main.c
+17 -4 1 file

NetBSD — sys/arch/arm/vexpress vexpress_platform.c

Fix clcd node path for newer dtb

NetBSD — doc CHANGES-8.0

Delta File
+57 -1 doc/CHANGES-8.0
+57 -1 1 file

NetBSD — distrib/sets/lists/debug mi, distrib/sets/lists/tests mi

Pull up following revision(s) (requested by ozaki-r in ticket #357):
        distrib/sets/lists/debug/mi: 1.228
        distrib/sets/lists/tests/mi: 1.765-1.766
        etc/mtree/NetBSD.dist.tests: 1.149
        sys/net/npf/npf_ctl.c: 1.49
        tests/net/ipsec/Makefile: 1.10
        tests/net/ipsec/algorithms.sh: 1.6
        tests/net/ipsec/natt_terminator.c: 1.1
        tests/net/ipsec/t_ipsec_natt.sh: 1.1
        tests/net/net_common.sh: 1.23-1.24
        usr.sbin/npf/npfctl/npfctl.c: 1.54
Handle esp-udp for NAT-T
Fix npfclt reload on rump kernels
It fails because npfctl cannot get an errno when it calls ioctl to the (rump)
kernel; npfctl (libnpf) expects that an errno is returned via proplib,
however, the rump library of npf doesn't so. It happens because of mishandlings
of complicate npf kernel options.
PR kern/52643
Fix showing translated port (ntohs-ed twice wrongly)
Add test cases of NAT-T (transport mode)
A small C program is added to make a special socket (UDP_ENCAP_ESPINUDP)
and keep it to handle UDP-encapsulated ESP packets.

    [7 lines not shown]

NetBSD — usr.bin/systat main.c

add missing 'b' to the optstring.  alpha-sort the option handling.
Delta File
+9 -9 usr.bin/systat/main.c
+9 -9 1 file

NetBSD — sys/dev/usb xhci.c

Pull up following revision(s) (requested by msaitoh in ticket #356):
        sys/dev/usb/xhci.c: revision 1.76
Wait 1ms first. Existing Intel xHCI requies 1ms delay to prevent system hang
Delta File
+7 -3 sys/dev/usb/xhci.c
+7 -3 1 file

NetBSD — bin/sh parser.c

Pull up following revision(s) (requested by kre in ticket #355):
        bin/sh/parser.c: revision 1.145
PR bin/52715
Correct a (relatively harmless) use after free in prompt expansion
processing [detected by asan.]
Relatively harmless: as (while incorrect) the way the data is (was)
used more or less guaranteed that the buffer contents would be
unaltered until well after they are (were) no longer wanted (this
is the expanded prompt string, it is just output (or copied into
libedit internal storage) and forgotten.
This should make no visible difference to anyone (not using asan or
Delta File
+90 -17 bin/sh/parser.c
+90 -17 1 file

NetBSD — sys/netinet6 nd6.c in6_ifattach.c

Pull up following revision(s) (requested by ozaki-r in ticket #354):
        sys/netinet6/in6_ifattach.c: revision 1.113
        sys/netinet6/nd6.c: revision 1.238
Use psref instead of pserialize because that code is sleepable
Use psref instead of pserialize because that code is sleepable
Delta File
+6 -7 sys/netinet6/nd6.c
+7 -5 sys/netinet6/in6_ifattach.c
+13 -12 2 files

NetBSD — sys/net if_llatbl.c if_llatbl.h, sys/netinet if_arp.c in.c

Pull up following revision(s) (requested by ozaki-r in ticket #353):
        sys/net/if_llatbl.c: 1.22
        sys/net/if_llatbl.h: 1.13
        sys/netinet/if_arp.c: 1.254
        sys/netinet/in.c: 1.208-1.209
        sys/netinet6/in6.c: 1.249-1.250
        sys/netinet6/nd6.c: 1.237
Remove redundant KASSERTMSG
The function is static, has just one caller and the caller does the same check.
Fix a deadlock between a route update and lltable
It happens because rtalloc1 is called from lltable with holding
If a route update is in action, rtalloc1 would wait for its completion with
holding IF_AFDATA_WLOCK. At the same moment, a softint (e.g., arpintr) may try
to take IF_AFDATA_WLOCK and get stuck on it. Unfortunately the stuck softint
prevents the route update from progressing because the route update calls
psref_target_destroy that needs the softint to complete.
A resource allocation graph of the senario looks like this:
    route update =(psref_target_destroy)=> softint => IF_AFDATA_WLOCK
    =(rt_update_wait)=> route update
Fix the deadlock by pulling rtalloc1 out of the lltable codes inside
Note that the deadlock happens only if NET_MPSAFE is enabled.

NetBSD — sys/external/bsd/ipf/netinet ip_state.c

Pull up following revision(s) (requested by sborrill in ticket #352):
        sys/external/bsd/ipf/netinet/ip_state.c: 1.9-1.10
When growing the state, remember to grow the seed array, otherwise we'll end
up accessing memory we did not allocate.
put back the cast.
Delta File
+45 -20 sys/external/bsd/ipf/netinet/ip_state.c
+45 -20 1 file

NetBSD — doc CHANGES-7.2

Delta File
+9 -1 doc/CHANGES-7.2
+9 -1 1 file

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

Pull up following revision(s) (requested by joerg in ticket #1448):
        common/lib/libc/stdlib/_strtol.h: revision 1.11
        common/lib/libc/stdlib/_strtoul.h: revision 1.11
        tests/lib/libc/stdlib/t_strtol.c: revision 1.7
Fix ISO C compliance: strtol of "0xX" should give the largest valid
numeric prefix, which is 0.

NetBSD — external/cddl/osnet/sys/sys kmem.h

our pool code needs either PR_SLEEP or PR_NOWAIT; arrange for that explaining
the current choice :-)
Delta File
+24 -3 external/cddl/osnet/sys/sys/kmem.h
+24 -3 1 file

NetBSD — external/bsd/tre/dist ChangeLog.old

Add ChangeLog.old, which has been newly added to github repository.
Delta File
+815 -0 external/bsd/tre/dist/ChangeLog.old
+815 -0 1 file


Update libtre to the latest git source as of 20171117.
Delta File
+3 -3 doc/3RDPARTY
+2 -1 doc/CHANGES
+5 -4 2 files

NetBSD — external/bsd/tre/lib tre.pc

Add tre.pc to be installed into /usr/lib/pkgconfig (not yet).
Delta File
+10 -0 external/bsd/tre/lib/tre.pc
+10 -0 1 file