summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-06Use an unsigned loop variable to avoid a comparison between signedAlexander Bluhm
and unsigned. Makes the test compile again. OK inoguchi@
2017-03-06Localize the 'hn' and 'if' variables in enable_network().Robert Peichaer
Document why renaming the 'if' variable in ifstart() is not allowed. OK tb@, krw@
2017-03-06syncTheo de Raadt
2017-03-06Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)Otto Moerbeek
with the added feature that released memory is cleared. Much input from various developers. ok deraadt@ tom@
2017-03-06recallocarray bumpOtto Moerbeek
2017-03-06Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)Otto Moerbeek
with the added feature that released memory is cleared. Much input from various developers. ok deraadt@ tom@
2017-03-06size is unsigned so using ==0 not <=0 when checking for buffer exhaustionTodd C. Miller
2017-03-06Pull in a change from the bind 8 resolver that fixes a potentialTodd C. Miller
crash when given a large hex number as part of the dotted quad. OK deraadt@ jsg@
2017-03-06Using .Nd only makes sense in the NAME section.Ingo Schwarze
Warn if that macro occurs elsewhere. Triggered by a question from Dag-Erling Smoergrav <des @ FreeBSD>.
2017-03-06Clean up and simplify the tls1_PRF() implementation now that we have aJoel Sing
single EVP MD for the PRF hash. ok beck@ inoguchi@
2017-03-06URIs need different escaping; reported by reyk@Ingo Schwarze
2017-03-06Do not print uninitialized variable in DPRINTFN().Martin Pieuchot
From Christian Ludwig.
2017-03-06domaininit() doesn't need splnet().Martin Pieuchot
At this stage the scheduler isn't setup, which means the 'softnet' isn't running yet, so input packets aren't processed. Prodded by a question from guenther@, ok bluhm@
2017-03-06Move the guts of route_output() meesing with the routing table in theirMartin Pieuchot
own function. ok bluhm@
2017-03-06Guard headers to make sure userland do not look at them.Martin Pieuchot
ok bru@
2017-03-06Use 'inline' rather than _any of_ __the __other__ variants__.Martin Pieuchot
ok bru@
2017-03-06Use nitems() when passing all known parameters to wsmouse_configure().Martin Pieuchot
ok bru@
2017-03-06It is unsafe to dereference ``xfer'' after calling the callback as itMartin Pieuchot
might free it. Prevent a use-after-free in various aynchronous cases. Found while looking at another user-after-free pointed out by ehrhardt@.
2017-03-06Collect strings correctly when on terminals that don't support UTF-8.Nicholas Marriott
2017-03-06When redrawing a combined UTF-8 characters in its existing position,Nicholas Marriott
need to save and restore the cursor so that the next character goes into the right place.
2017-03-06Kill global list of IPv6 addresses.Martin Pieuchot
ok bluhm@
2017-03-06Prefix functions dealing with routing messages with 'rtm_' and keepMartin Pieuchot
them all in net/rtsock.c. This allows to easily spot which functions are doing a copyout(9) when dealing with the routing midlayer. ok phessler@, bluhm@, dhill@, krw@, claudio@
2017-03-06Just exit 1 instead of printing usage on error.Antoine Jacoutot
prodded by deraadt@
2017-03-06De-platformize exynos. Disable exdisplay(4) for now.Mark Kettenis
2017-03-06Attach exiic(4) using the FDT.Mark Kettenis
2017-03-06Remove unused unit number from softc.Mark Kettenis
2017-03-06Check l->hosts before dereferencing; fixes potential null pointer deref.Darren Tucker
ok djm@
2017-03-06linenum is unsigned long so use %lu in log formats. ok deraadt@Darren Tucker
2017-03-05match GENERICTheo de Raadt
2017-03-05Turn exgpio(4) into a pinctrl driver.Mark Kettenis
2017-03-05first batch of -T markdown testsIngo Schwarze
2017-03-05Infrastructure for -T markdown tests.Ingo Schwarze
This is needed because -T marksdown is expected to receive less maintenance than -T ascii, so we need automation to make sure that regular parser maintenance doesn't break this output mode.
2017-03-05Stop using and copying the on-disk /etc/hosts file to the bsd.rdRobert Peichaer
/tmp dir during upgrade. Create and use a minimal hosts file instead to avoid that a big hosts file fills up the small bsd.rd / filesystem as reported recently by Ted Roby. Note that network interface configuration using hostnames instead of ip addresses in hostname.if(5) relies on the on-disk /etc/hosts file which is not used anymore during upgrade. discussed with many ok tb@, halex@ 'sure' deraadt@
2017-03-05Clear pending interrupts and mask them all.Mark Kettenis
2017-03-05The current code in exuartcnputc() that tries to make sure the characterMark Kettenis
written is actually transmitted doesn't seem to work. Instead, wait until there is room in the TX FIFO before writing the character. This works only in FIFO mode, but that's how u-boot configures the chip. ok patrick@
2011-12-04test some simple macros; written while working on -TmanIngo Schwarze
2017-03-05Correctly convert an SSLv2 challenge into an SSLv3/TLS client random byJoel Sing
truncating or left zero padding. ok beck@ inoguchi@ sthen@
2017-03-056.2 key for future packagesChristian Weisgerber
2017-03-05bump one more 2016Theo Buehler
2017-03-05Provide a rolling handshake hash that commences as soon as the cipherJoel Sing
suite has been selected, and convert the final finish MAC to use this handshake hash. This is a first step towards cleaning up the current handshake buffer/digest code. ok beck@ inoguchi@
2017-03-05Convert various handshake message generation functions to CBB.Joel Sing
ok beck@ inoguchi@
2017-03-05Add an initial regress test that covers the server-side of libssl, byJoel Sing
providing SSL_accept() with fixed ClientHello messages.
2017-03-05When we're unable to determine which NCQ command failed, fail all activeJonathan Matthew
commands rather than proceeding to an assertion failure. This matches how we handle the same condition with non-queued commands, and the behaviour of every other ahci driver I can find. Add a printf there so we might get some idea of how often this condition arises and what happens afterwards. ok dlg@
2017-03-05We've fixed PID handling, so update the comment describing ps_mainprocPhilip Guenther
2017-03-05Update to unicode 8Andrew Fresh
OK schwarze@
2017-03-05Teach the ddb disassembler about most of the vm* instructionsPhilip Guenther
ok mlarkin@
2017-03-05Handle unshared amaps in uvm_coredump_walkmap() such that untouched pagesPhilip Guenther
don't get written out to the core file but rather are represented via segments which have memory size greater than their file size. This shrinks core files and eliminates a case where core dumping fails with EFAULT. This can still happen in the shared amap case. Based on a problem report from (and testing by) semarie@ ok stefan@
2017-03-05Generating a coredump requires walking the map twice; changePhilip Guenther
uvm_coredump_walkmap() to do both with a callback in between so it can hold locks/change state across the two. ok stefan@
2017-03-05Go back to only specifying --target when building cross.Jonathan Gray
The OpenBSD triple includes the OpenBSD version. When this recently changed binutils started building prefixed tools when moving to a new OpenBSD version which isn't what we want. ok kettenis@
2017-03-04remove/tweak some cd-related text.T.J. Townsend
ok deraadt