summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-17Change build infrastructure to allow building both gcc and clang. ThisMark Kettenis
doesn't actually flip the switch yet, so aarch64 continues to be the only architecture for which we build clang. ok jsg@, deraadt@
2017-04-17Recognize nl_langinfo(CODESET) return values "646" and "" as aliasesIngo Schwarze
for "US-ASCII", useful for different versions of NetBSD and Solaris. Found by dtucker@ and by Tom G. Christensen <tgc at jupiterrise dot com>. OK dtucker@ deraadt@
2017-04-17Test syslogd(8) "last message repeated" feature and -r option.Alexander Bluhm
2017-04-17Add syslogd(8) option -r to suppress the summary line for pipe andAlexander Bluhm
remote loghost as they are most commonly used for automated log processing. With -rr the "last message repeated" feature can be disabled completely. OK sthen@ deraadt@ jmc@
2017-04-17test display of long URIsIngo Schwarze
2017-04-17implement display of long .Lk URIs to match -TasciiIngo Schwarze
2017-04-17Skip objc tests with clang.Mark Kettenis
2017-04-17Fix handling of trailing punctuation in .Lk.Ingo Schwarze
This macro is unusual in so far as trailing punction needs to remain inside the scope because it must be inside, not after the display of long URIs in terminal output mode. Improves formatting of fw_update(1), help(1), less(1), sendbug(1), acx(4), inet6(4), ipsec(4), oce(4), isakmpd.conf(5), afterboot(8), release(8), traceroute(8).
2017-04-17Change COMPILER_VERSION tests which limited additional warnings to gcc4Jonathan Gray
to instead skip them on gcc3 as clang can handle -Wpointer-sign and -Wold-style-definition.
2017-04-17We need to update the ia6_updatetime when changing the vltime/pltimeFlorian Obser
vio ioctl(2). Otherwise ifconfig shows the wrong times since vltime/pltime are calculated from this value on export. The handling of router advertisements does the right thing. OK bluhm
2017-04-17Don't bother moving the cursor for empty lines.Nicholas Marriott
2017-04-17Remove a couple of redraw flags that no longer have any effect.Nicholas Marriott
2017-04-16Memory leak, from David CARLIER.Nicholas Marriott
2017-04-16Use EL1 to clear lines when redrawing the leftmost pane, rather thanNicholas Marriott
spaces.
2017-04-16from brad: document rgephyJason McIntyre
2017-04-16Disable colored diagnostics in LLVM's lld.Patrick Wildt
Requested by deraadt@
2017-04-16According to termcap(3), char PC, *BC, *UP need to be extern. Fixes anTheo Buehler
ld(1) error found by mestre a while ago. fix suggested and ok naddy
2017-04-16Always evaluate expression in BUG_ON() macro to avoid unused variableAlexander Bluhm
warnings. Makes non diagnostic kernel compile. OK kettenis@
2017-04-16Make sure these tests print "SKIPPED" if the necessary variables aren't set.Mark Kettenis
The current code doesn't work since the magic .BEGIN target runs before the regress target that prints "SKIPPED" and the .BEGIN target fails when the variables aren't set. ok bluhm@
2017-04-16syncTheo de Raadt
2017-04-16Define EXT_IMPLICIT_NBIT like we do on sparc64 and mips64. Makes vaiousMark Kettenis
long double math stuff (including printf) actually work. While there remove 'struct ieee_ldouble', which isn't defined on other architectures. ok deraadt@
2017-04-16Use INT_MAX instead of SIZE_MAX as the maximum file size we can handle.Mark Kettenis
Fixes this test on 64-bit architectures. ok visa@
2017-04-16Define DEF_WEAK like we do for ld.so to fix building this with clang.Mark Kettenis
ok millert@, deraadt@
2017-04-16Move comments into a block and uses {} to unconfuse reading.Theo de Raadt
2017-04-16Use %zu to print a size_t.Mark Kettenis
2017-04-16Replace fetch_and_add() with atomic_inc_int_nv() from <sys/atomic.h>Visa Hankala
to make the code more similar to sparc64's. OK mpi@, guenther@, kettenis@
2017-04-16Flip previously warm pages in the buffer cache to memory above the DMABob Beck
region if uvm tells us it is available. nits from deraadt@ ok krw@ guenther@ kettenis@
2017-04-16Statistics for high memory flips in the buffer cacheBob Beck
nits from deraadt@ ok krw@ guenther@ kettenis@
2017-04-16Remove some defines marked #ifdef notyet, which really is #ifdef notever.Mark Kettenis
Reduces the diffs with other architectures.
2017-04-16Always return nonzero from _longjmp too.Mark Kettenis
ok jsg@
2017-04-16Remove unused rnd_seed variable. Upstream made the same change 4 days ago.Mark Kettenis
Fixes compiling this test using clang on arm64.
2017-04-16remove -g from CFLAGS at florian's requestJonathan Gray
2017-04-16Different compilers and versions of compilers have different warnings.Jonathan Gray
Remove -Werror to give code a greater chance of building. ok deraadt@ florian@
2017-04-16Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)Antoine Jacoutot
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example accordingly. ok florian@ benno@ millert@
2017-04-16backout previous, data_len is not always initializedOtto Moerbeek
2017-04-16Remove -Werror to make dhcrelay6 on gcc3 architecture successfully.Kenji Aoyama
ok reyk
2017-04-15Build sparc64 kernels with -ffreestanding.Mark Kettenis
2017-04-15Document RB_TIMEBAD; delete RB_* that are obsolete/unimplementedPhilip Guenther
ok visa@ deraadt@
2017-04-15more streamlining, with help from bluhm;Jason McIntyre
2017-04-15After forced unmount of a file system that has other mount pointsAlexander Bluhm
in it, dangling mounts could remain. When unmounting check the hierarcy and unmount recursively. Also prevent that a new mount appears during the scan. Joint work with natano@; testing and OK krw@
2017-04-15Build full mandoc.db(5) databases by default using makewhatis(8)Ingo Schwarze
without -Q during the build and in weekly(8). According to tests by many developers, makewhatis(8) takes a few minutes at most even on slower hardware like octeon, loongson, ALIX, RPI3, Soekris, cubox, softiron etc., and security(8) is often worse than makewhatis(8). In case this causes excessive weekly(8) run times on even slower (~50 MHz-class) CPUs, consider adding "MAKEWHATISARGS=-Q" to /etc/weekly.local on machines that feel unhappy. OK sthen@ kettenis@ millert@ deraadt@
2017-04-15Take implementation for getsocket() from arp(8). This bringsAlexander Bluhm
routing table filter and pledge(2) to ndp(8) modes -s and -d. OK florian@
2017-04-15Name global variable for routing socket rtsock like in ndp(8).Alexander Bluhm
OK florian@
2017-04-15Let ndp(8) use the process's current routing table by default.Alexander Bluhm
from Pierre Emeriaud; OK jca@ claudio@ Sync code and man page with arp(8). OK florian@
2017-04-15The tlb flushes in pmap_set_{l1,l2,l3} use ranges that don't fully make sense.Mark Kettenis
But those tlb flushes shouldn't be necessary anyway, so simply remove them. Simplify the tlb flushing code now that we no longer flush ranges, and revive the branch that doesn't flush a specific ASID for the kernel pmap since its mappings are global. ok patrick@, visa@
2017-04-15Handle R_SPARC_WPLT30 relocations against a local symbol. Fixes building theMark Kettenis
audio/openal port with clang. ok guenther@
2017-04-15regenFlorian Obser
2017-04-15update to 4.1.16rc1Florian Obser
tests & OK sthen (if there are more changes coming for 4.1.16 release we will just commit them on top)
2017-04-15Fix format string in ACPI_MEMDEBUG blockPhilip Guenther
From Anton Lindqvist (anton.lindqvist(at)gmail.com)
2017-04-15Sync bus_dmamap_load_raw() with amd64 for better constraint checking.Visa Hankala
Needed by xhci(4).