summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-03Enumerate all i2c devices on the bus. Mark their nodes as attached evenMark Kettenis
if we didn't attach a device driver to avoid enumerating them again in the acpi device tree walk. ok deraadt@
2017-12-03pledge(2) elfrdsetroot:Theo Buehler
- pledge(2) "stdio" after managing arguments (opening files) - add $OpenBSD$ markers on elfrd_size.c and elfrdsetroot.h - add a check for NULL on malloc(3) call in elfrd_size.c from semarie, ok deraadt
2017-12-03Abandon nagging about "_" violating RFC 952. This removes the needKenneth R Westerback
for a custom res_hnok(), so just use the libc version of res_hnok(). Requested by deraadt@
2017-12-03Rename ci_number to ci_cpuid to match other archs.Martin Pieuchot
ok visa@, kettenis@, deraadt@
2017-12-03Include dtbs for Wandboard rev D1 including the i.MX 6QuadPlus variant.Jonathan Gray
Requires U-Boot >= 2017.11 and dtb >= 4.15-rc1.
2017-12-03syncJonathan Gray
2017-12-02syncTheo de Raadt
2017-12-02Adapt to change in 0ZOtto Moerbeek
2017-12-02make 0Z do what the original dc and gnu bcc do; ok tom@Otto Moerbeek
2017-12-02post-patch -> pre-configureAntoine Jacoutot
2017-12-02Add a caveat wrt use of non-decimal fractional notation; from kshe; ok jmc@Otto Moerbeek
2017-12-02switching to _pbuild is tricky, you can't take it back.Marc Espie
in particular, disable future PORTS_PRIVSEP mechanisms under pkg_create, because we should already be running as _pbuild by this point.
2017-12-01Redo the calculation of the alignment and placement of static TLS data toPhilip Guenther
correctly take into account the segment p_align. Previously, anything with a size belong the natural alignment or with alignment larger than the natural one would either not be intialized correctly, be misaligned, or result in the TIB being misaligned. Problems reported by Charles Collicutt (charles (at) collicutt.co.uk) ok kettenis@
2017-12-01The RFC specifies that in an SA payload the proposals must be numberedPatrick Wildt
starting with number 1. Subsequent proposals must be one more than the previous proposal. ok sthen@
2017-12-01Turns out that, as specified in the RFC, the initial Child SA does notPatrick Wildt
do PFS and is assumed to be secured using the DH exchange in the first handshake. Thus there is no KE/N payload in the IKE_AUTH exchange and we must not include a DH group other than None, which essentially means we must not supply any DH transforms in the IKE_AUTH messages. So now we skip adding the DH transforms for initiating and responding to IKE_AUTH messages. ok sthen@
2017-12-01fix buglet in split_number() and optimize count_digits();Otto Moerbeek
from kshe with a twist from myself; ok tb@
2017-12-01arm64 is now also a _syspatch_archTheo Buehler
2017-12-01In the macppc installer, switch the default answer for the partitionStefan Sperling
table question from "HFS" to "MBR". Most people will want to run OpenBSD exclusively on such machines these days. ok kettenis@
2017-12-01Add quotes around the name of (unconfigured) devices like we do for otherMark Kettenis
iic(4) controllers. ok jcs@
2017-12-01Avoid using an uninitialized variable.Visa Hankala
Found by gcc. OK jca@
2017-12-01Fix white spaces and shorten long line.Alexander Bluhm
2017-12-01Consistently .Xr the corresponding wide char functions from char- andIngo Schwarze
string-handling <stdio.h> functions, like we already do it for <string.h>. Includes a smaller patch from <kshe59 at zoho dot eu>, OK jmc@.
2017-12-01add missing argument name; from <kshe59 at zoho dot eu>; OK jmc@;Ingo Schwarze
while here, consistently use .Fo to cure execessive line lengths
2017-12-01Simplify the reverse PCB lookup logic. The PF_TAG_TRANSLATE_LOCALHOSTAlexander Bluhm
security check prevents that the user accidentally configures redirect where a divert-to would be appropriate. Instead of spreading the logic into tcp and udp input, check the flag during PCB listen lookup. This also reduces parameters of in_pcblookup_listen(). OK visa@
2017-12-01update currency exchange rates;Jason McIntyre
2017-12-01remove deprectaed linkX notation;Jason McIntyre
from lucas gabriel vuotto
2017-12-01and enable new testOtto Moerbeek
2017-12-01extra tests for Z (upcoming implementation change)Otto Moerbeek
2017-11-30Fix the IPL and flags of the MP-safe crypto taskq. Now a sane IPLVisa Hankala
is passed to the mutex implementation, and the queue actually runs without the kernel lock. Tested by dhill@ OK mikeb@, dhill@, kettenis@
2017-11-30add bgw;Jason McIntyre
2017-11-30Replace `coremask' with `numcores'.Visa Hankala
2017-11-30Prefer `numcores' to `coremask'. The former is probably easierVisa Hankala
to use than the latter.
2017-11-30Fix typos in comments.Nayden Markatchev
OK florian@
2017-11-30Add bgw(4) man page.Mark Kettenis
2017-11-30Fix variable expansion.Visa Hankala
From Rafael Neves
2017-11-30Add bgw(4), a driver for a family of Bosch acceleration sensors.Mark Kettenis
ok deraadt@, mlarkin@
2017-11-30Add support for rejecting IKE SA messages. This means that we can replyPatrick Wildt
to IKE SA INIT messages with no proposal chosen, as we already do for Child SAs. For that the error "adding" is done in a new function shared by both send error handlers. We need two "send error" functions because the init error is unencrypted, while all later ones are not. Now we can add more cases, like Child SA not found or that the DH group is not what we expect. Save the IKE SA INIT responses, even if it's an error message, so we can retransmit it if the response is lost on the way back to the initiator and he tries again. This also helps mitigate DoS attacks as specified in the RFC. Only if it is indeed a new attempt, like after an INVALID KE PAYLOAD response, we can drop the old SA so that iked(8) can attempt to create a new SA. ok sthen@
2017-11-30vn_open(9) does not pass the open(2) flags to VOP_CREATE(9) so we can'thelg
support FBT_CREATE. Fall back to FBT_MKNOD + FBT_OPEN so that a valid sequence of FUSE messages is sent to the file system when creating files. input from mpi@, otto@
2017-11-30Default unknowns to application/octet-stream instead of x-not-regular-file.Anthony J. Bentley
This makes more sense and matches what the latest "other" file(1) now does. ok nicm@
2017-11-30use the same macro consistently for the various carp balancing modes;Jason McIntyre
2017-11-30no more arp mode for carp; from martin rettbergJason McIntyre
2017-11-30When performing vmctl reload and a previously configured vm is running,ccardenas
exit with an EALREADY vs EPERM. ok mlarkin@
2017-11-30__MAP_NOFAULT doesn't make sense with anon mappings, so return EINVAL ifPhilip Guenther
that is attempted. Minor cleanups: - Eliminate some always false and always true tests against MAP_ANON - We treat anon mappings with neither MAP_{SHARED,PRIVATE} as MAP_PRIVATE so explicitly indicate that ok kettenis@ beck@
2017-11-30Per https://patchwork.kernel.org/patch/5838821/, the documented check of ACPIPhilip Guenther
mwait info against CPUID is wrong; loosen the test per Intel's suggestion. While here, fix the wrapping of dmesg lines when reporting bogus C-state info. ok mlarkin@ kettenis@ (who pointed out the email from Intel)
2017-11-30Add regress to ensure that execve bypasses pledgepath checks (for now)Bob Beck
2017-11-29Mixing -url with any of -host, -port, or -path should be a usage errorPhilip Guenther
instead of trying to work and then triggering a double-free(). problem noted by trondd (trondd (at) kagu-tsuchi.com) ok beck@
2017-11-29Add support for GPIO-signaled events.Mark Kettenis
ok mlarkin@
2017-11-29vmd(8): fix broken IRR bit setting for the slave PIC. Noticed by claudioMike Larkin
when he tried to make a vm with 4 network interfaces. ok claudio
2017-11-29fix double dot;Jason McIntyre
2017-11-29add -i to SYNOPSIS/usage() and sundry tweaks;Jason McIntyre
ok beck