summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-28Switch geteblks()'s size argument from int to size_t. It's called withMartin Natano
unsigned variables as argument in most places anyway. Decrease the chance of signedness/range mismatch issues. ok stefan
2017-02-28Untangle abstract sleep modes from ACPI sleep states. This paves the wayMartin Natano
for further work in the area. idea and ok deraadt ok mlarkin
2017-02-28Reflect recent net/route.c change. Adding a conflicting route noMartin Pieuchot
longer increment a 'use' counter.
2017-02-28Use rtable_match() rather than rtalloc(9) when adding a new route.Martin Pieuchot
rtalloc(9) should be reserved for the hot path otherwise it's hard to interpret the value of the 'use' counter. ok claudio@
2017-02-28Some refactoring in ip6_input() needed to un-KERNEL_LOCK() the IPv6Martin Pieuchot
forwarding path. Rename ip6_ours() in ip6_local() as this function dispatches packets to the upper layer. Introduce ip6_ours() and get rid of 'goto hbhcheck'. This function will be later used to enqueue local packets. As a bonus this reduces differences with IPv4. Inputs and ok bluhm@
2017-02-28Prevent a MP race in rtable_lookup().Martin Pieuchot
If an ART node is linked to multiple route entries, in the MPATH case, it is not safe to dereference ``an_dst''. This non-refcounted pointer can be changed at any time by another CPU. So get rid of the pointer and use the first destination of a route entry when comparing sockaddrs. This allows us so remove a pointer from 'struct art_node' and save 5Mb of memory in an IPv4 fullfeed. ok jmatthew@, claudio@, dlg@
2017-02-28Sort vm.conf(5) config options alphabeticallyReyk Floeter
OK mlarkin@
2017-02-28Use fmt_scaled(3) in vmctl status output to print curmem/maxmemReyk Floeter
This matches the accepted input in vmctl start and vm.conf that supports using M, G, T etc. instead of a hardcoded MB. It also allows to shrink the column size as the unit will be scaled automatically. OK mlarkin@
2017-02-28build with USER_PCICONF to enable /dev/pci*Jonathan Gray
2017-02-28Remove mpls_raw_usrreq() prototype, that function is gone.Claudio Jeker
2017-02-28Use a do{}while loop with ssize_t return value when calling tls_read()Philip Guenther
problem noted by and ok jsg@
2017-02-28small memleak: free fd_set on connection timeout (though we are heading toDamien Miller
exit anyway). From Tom Rix in bz#2683
2017-02-27This test cannot pass while pf on localhost filters packets statefully.Alexander Bluhm
If the local pf is enabled, write a temporary stateless pass rule into the regress anchor.
2017-02-27update an example in the relayd.conf manpage, that was not convertedSebastian Benoit
to the new syntax 2 years ago. Found by Michael W. Lucas, thanks! ok tb@
2017-02-27Sync comments about install.md variables with reality.Robert Peichaer
2017-02-27Do not turn on pf in a regression test, require that it has beenAlexander Bluhm
enabled before. Better skip the test than create unexpected side effects.
2017-02-27Remove support for pkg.conf in light of the consolidation towardsRobert Peichaer
a single configuration file for the OpenBSD repository location. The pkg_* tools now use installurl(5) to find the package repository. NOTE: /etc/installurl only contains a single URL pointing to a mirror. Use the PKG_PATH environment variable to specify more than one package repository. prodded by and OK deraadt@ aja@
2017-02-27xdm -> xenodm(1)Matthieu Herrb
2017-02-27Retire the AF_MPLS protosw struct. Nothing is using it and the code was superClaudio Jeker
basic anyway. Simplifies the code a lot also by calling the mpls sysctl no longer via the protosw but instead directly. OK mpi@ on a previous diff. Also tested by renato@ who actually found a bug which is now fixed.
2017-02-27Add IPsec tests for ipip encapsulation.Alexander Bluhm
2017-02-27pms/elantech-v4: configure wsmouse for handling compat-modeUlf Brosziewski
ok @matthieu @stsp @mpi
2017-02-27use Dv, for consistency; from bruno flueckigerJason McIntyre
2017-02-27pms/synaptics: configure wsmouse for handling compat-modeUlf Brosziewski
ok @matthieu @stsp @mpi
2017-02-27Build hppa kernels with -ffreestanding.Mark Kettenis
2017-02-27Handle touchpad input in wsmouse.Ulf Brosziewski
The wstpad file contains the core of a touchpad-input driver that is coupled with wsmouse. It is active in compat-mode if wsmouse has been configured for it. ok @matthieu @stsp @mpi
2017-02-27Replace openpty(3) with local function that uses pre-opened /dev/ptm fdReyk Floeter
This allows more flexibility for upcoming changes and better pledge. We also didn't use half of the features of libutil's openpty function. Additionally, make sure that the ttys are closed correctly on shutdown. OK gilles@
2017-02-27errant dot; from klemens nanniJason McIntyre
2017-02-27framework for some performance stats as a -V... option (like how muchMarc Espie
of a package you actually downloaded, or how many packages you touch) okay aja@
2017-02-27If splitw -b is used, insert the new pane before the current one in theNicholas Marriott
pane list. This means the numbering is in order (for example for display-panes) and fixes a problem with redrawing the active pane borders.
2017-02-27Add size checks for imsg received over the control socket.Reyk Floeter
Additionally, make sure that vmd never fatal()s when receiving an invalid imsg from an arbitrary user over the control socket. OK gilles@
2017-02-27Print the DNSSEC OKAY flag as "DO", like in upstream tcpdumpJeremie Courreges-Anglas
ok florian@
2017-02-27Add support for RES_USE_DNSSECJeremie Courreges-Anglas
RES_USE_DNSSEC is implemented by setting the DNSSEC DO bit in outgoing queries. The resolver is then supposed to set the AD bit in the reply if it managed to validate the answer through DNSSEC. Useful when the application doesn't implement validation internally. This scheme assumes that the validating resolver is trusted and that the communication channel between the validating resolver and and the client is secure. ok eric@ gilles@
2017-02-27Recognize and allow bits AD and CD in DNS replies.Jeremie Courreges-Anglas
Needed for RES_USE_DNSSEC support. ok eric@ gilles@
2017-02-27Put a common flags field in the query struct, rather than in someJeremie Courreges-Anglas
elements of the union. This field is for internal asr flags. The flags in "struct rrset" and "struct ni" are different kinds of flags. ok eric@
2017-02-27bump block size for dd; 39x faster on my system.Stuart Henderson
ok tom@
2017-02-27Add support for the older generation spec of PSCI, which supportsPatrick Wildt
shutdown and reset only if the function id is explicitly provided in the device tree. For the newer implementations we are supposed to be using the specified function ids only. With and ok jsg@
2017-02-27RELRO means the __{got,plt}_{start,end} symbols are superfluousPhilip Guenther
ok kettenis@
2017-02-27Implement D and U modifiers to ar; with D the uid/gid/mode/time on the updatedPhilip Guenther
archive members are set to deterministic values. U cancels D. This should simplify the syspatch work. Based on a diff by daniel@ ok millert@ deraadt@ kettenis@
2017-02-26Use mkdir -p instead of install -d to create the obj/util directory.Theo Buehler
The latter defaults to 755, which doesn't play nicely with BUILDUSER. Problem reported by jmc and Jan Stary; tested by myself and jmc. ok ajacoutot
2017-02-26Our certbegin/certend is always PIC, so remove the non-PIC MD_SECT_CALL_FUNC()Mark Kettenis
implementations. ok guenther@
2017-02-26Switch to xenodm(1).Matthieu Herrb
Do it now deraadt@
2017-02-26Use a long branch (using movw/movt) to implement MD_SECT_CALL_FUNC.Mark Kettenis
Necessary (but perhaps not suffcient) to build large binaries on arm. ok guenther@
2017-02-26Move away from BN_zero, the one returning an int is deprecated and theOtto Moerbeek
new one is a void function. From Daniel Cegielka.
2017-02-26Define cache line size for the per-cpu API.Visa Hankala
2017-02-26syncJonathan Gray
2017-02-26build pcidump on arm64Jonathan Gray
2017-02-25pledge stdio before parsing the http responseBob Beck
ok tb@
2017-02-25Implement support for generating movw/movt relocations on arm in gas(1).Mark Kettenis
Ported from FreeBSD's GPLv2 version of binutils. ok guenther@
2017-02-25move vendor HIDs into their drivers, clean up some unused definesJoshua Stein
ok kettenis
2017-02-25attach acpithinkpad to LEN0268 HID found on newer thinkpadsJoshua Stein