summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-26Import Unbound 1.4.16 to work on in-tree (not yet linked to the build).Stuart Henderson
These are the direct sources from NLnet Labs upstream, minus these: compat contrib libunbound/python pythonmod testcode testdata winrc ok deraadt@ jakob@
2016-06-22Add support for the second GMX interface on Octeon II. This enablesVisa Hankala
ports eth[0-3] on 8-port EdgeRouters. Currently, port eth0 maps to network interface cnmac4, eth1 to cnmac5 etc. ok dlg@, tested by martijn@
2016-06-22have a consistent exit code when looking for stuffMarc Espie
2016-06-22In iwm(4), clear the in_assoc flag when going down. This flag affects behaviourStefan Sperling
early during startup, e.g. where the BSSID for the MAC context is copied from. Pointed out by Imre Vadasz.
2016-06-22Remove code from iwm(4) which sends DTIM and TSF information to theStefan Sperling
firmware based on information from the wireless stack. Letting the firmware deal with these details by itself seems to work better. Fixes association issues with 8260 hardware for me and Bryan Vyhmeister. Also tested by jcs@.
2016-06-22Make iwm(4) explicitly send multicast frames at the lowest rate, instead ofStefan Sperling
picking a rate from the firmware RS table. This matches what other drivers do. Also, pass the correct Tx rate to BPF (tcpdump) for 5GHz, and don't loop over CCK rates when building the Link-Quality command's RS table for 5GHz. tested by myself and jcs@
2016-06-22Add curly braces that were missed in rev 1.651. Add parenthesis to make theMark Kettenis
condition in the if statement more readable while I'm there. ok phessler@, benno@, florian@
2016-06-22Identify UMIP feature, if available.Mike Larkin
ok millert, kettenis, deraadt
2016-06-22dont need a traliing \ on a line in c code, it's not a macro definition.David Gwynne
from patrick keshishian
2016-06-22rework art_walk so it will behave in an mpsafe world.David Gwynne
art_walk now explicitly takes the same lock used to serialise change made via rtable_insert and _delete, so it can safely adjust the refcnts on tables while it recurses into them. they need to still exist when returning out of the recursion. it uses srps to access nodes and drops the lock before calling the callback function. this is because some callbacks sleep (eg, copyout in the sysctl code that dumps an rtable to userland), which you shouldnt hold a lock accross. other callbacks attempt to modify the rtable (eg, marking routes as down when then interface theyre on goes down), which tries to take the lock again, which probably wont work in the future. ok jmatthew@ mpi@
2016-06-22syncTheo de Raadt
2016-06-22Main Hyper-V nexus driver, work in progress.Mike Belopuhov
ok mlarkin, deraadt
2016-06-22Setup Hyper-V hypercall page and an IDT vector.Mike Belopuhov
ok mlarkin, kettenis, deraadt
2016-06-21use the same argument name for -f in usage() as in SYNOPSIS;Jason McIntyre
2016-06-21do not allow whitespace in macro names, i.e. "this is" = "a variable".Sebastian Benoit
change this in all config parsers in our tree that support macros. problem reported by sven falempin. feedback from henning@, stsp@, deraadt@ ok florian@ mikeb@
2016-06-21Make usage string match the man page.Alexandre Ratchov
suggested by jmc@
2016-06-21To assist debugging TCP connection reuse with NAT, expand theAlexander Bluhm
existing log in pf_state_key_attach() from the failed to the reuse case. OK mikeb@
2016-06-21Remove code to generate uboot tags. It hardcoded information for a singleMark Kettenis
board and a device tree is required by our kernel now. ok patrick@, jsg@
2016-06-21When handling DT_TEXTREL only set the mapping to READ+WRITE, ignoreTheo de Raadt
possible EXEC permission for the section, because the proper permission is set late, and there are no thread concerns here. Avoids W^X issues in oddball cases. ok guenther kettenis
2016-06-21add support to efifb for drawing a console on a coreboot framebufferJoshua Stein
if coreboot's memory table is found, it has a framebuffer entry, and there is no previously attached efi, vga, or serial console. useful on chromebooks that have no legacy vga device to get an early console before inteldrm(4) attaches or, for newer chipsets, a full console and X with wsfb(4). ok kettenis
2016-06-21Handle textrels like other architectures do.Theo de Raadt
ok kettenis guenther
2016-06-21the manpage documents that af-to does not work on pass out rules, butSebastian Benoit
the pf.conf parser allows it, which leads a non working configuration being loaded. this changes the parser to make pass out .. af-to an error. ok henning@ mikeb@
2016-06-21Add sc_cookie in sigcontext, as same as other ports.Kenji Aoyama
From Miod Vallat, tested by him and me. ok deraadt@
2016-06-21pass file name thru to Subst for better error messages.Marc Espie
reported by Adam Wolk
2016-06-21some formatting and comma tweaks; ok ratchovJason McIntyre
2016-06-21fix typos in comments and spacingAlexandre Ratchov
2016-06-21Update manual to "new" audioctl:Alexandre Ratchov
- stress that its purpose is to set and get variables, it isn't a configuration tool (there's nothing to configure anymore) - document all audio driver variables - document the difference between /dev/audioctl0 and /dev/audio0 - give an example of how to test hardware capabilities with audioctl ok semarie@, with help from jmc@, fix from Michael W. Bombardieri
2016-06-21Reimplement audioctl using new api in a simper way.Alexandre Ratchov
- group all encoding parameters in a signle string, ex. "s16le", this way we use the same naming scheme as aucat, sndiod and many ports. - remove "properties" as they are not used any longer - remove the list of encodings as there's no benefit in having it. We don't have lists for other parameters (sample rates, channel numbers) either. - add -q option, to look like sysctl - remove unused -a option - stop using symlinks in /dev, most other software doesn't use them. ok semarie@
2016-06-21Disable DSA_FLAG_NO_EXP_CONSTTIME, always enable constant-time behavior.Brent Cook
Improved patch from Cesar Pereida. See https://github.com/libressl-portable/openbsd/pull/61 for more details. ok beck@
2016-06-21Fix a bug loading the default certificate path locations.Brent Cook
The files would only be loaded if the CAfile or CApath locations were succesfully loaded first. Original patch from OpenSSL: https://github.com/openssl/openssl/commit/fe9b85c3cb79f1e29e61f01de105b34ce8177190 ok beck@
2016-06-21Make creation of text-relocations a fatal error by default, with -znotextPhilip Guenther
to permit it and -ztext to reenable the default of forbidding it. ok kettenis@
2016-06-20with new fork+reexec, in case of failure in init of any child processGilles Chehade
causing it to exit, we could end up with a NULL deref in parent. free commit offered by eric@, ok gilles@
2016-06-20change the "nexthop 1.2.3.4 now valid: via 192.168.0.1" message to log_debug()Sebastian Benoit
ok deraadt@ florian@ stsp@ phessler@
2016-06-20I2C driver for the Maxim DS1307 Real Time Clock chip.Marcus Glocker
The chip has been found on a Sun Fire V210 as a second RTC hooked up to the SMU. Setting the time there has the advantage that it remains after a boot since the internal V210 RTC will be synced by the DS1307 at boot time. Not linked to sparc64 yet since it will overwrite the internal RTC handler. ok deraadt
2016-06-20In iwm(4), send PHY DB commands as async commands.Stefan Sperling
This means we won't sleep and wait for the firmware to send an interrupt when it's done processing the command. For unknown reasons, sometimes the firmware never wakes the driver after a phy db command so the driver gives up partway through the hardware init sequence. We already have a DELAY in place after each phy db command we send to give the firmware some time for processing, so skipping the sleep is not expected to cause problems. If it does, we'll have to revisit this change. For now, this change makes iwm(4) work better in bsd.rd. Problem reported by Remi Locherer on bugs@, and confirmed by kettenis@. Lots of help with testing and ok tb@
2016-06-20rework the splfoo implementation so it can provide splraise.David Gwynne
sparc was like sparc64 (or more likely sparc64 was like sparc) in that the spl api was build with macros that created inline functions that the spl were implemented as. this rework provides an splraise that the splfoo macros are defined to. because the code sequences for spl0, splraise, and splx are relatively long, ive turned them into functions. tested by (and thanks go to) miod@ tobiasu@
2016-06-20Tweak umb(4) man page, mostly for brevity.Stefan Sperling
ok gerhard
2016-06-20Add a bit more verbosity to tmpfs mount(8) output.Antoine Jacoutot
ok millert@ feedback/ok natano@
2016-06-20Make umb(4) less verbose by default. 'ifconfig umb0 debug' enables verbose mode.Stefan Sperling
ok mpi deraadt gerhard
2016-06-19At least display the DT_GNU_HASH tag nicelyPhilip Guenther
ok kettenis@
2016-06-19Update docs to match our local time_t changesPhilip Guenther
2016-06-19Rework how umb(4) attaches such that it also works with devices that implementMark Kettenis
both NCM 1.0 and MBIM. ok gerhard@
2016-06-19Add define for NCM.Mark Kettenis
ok gerhard@
2016-06-19KTRPOINT() takes a KTR_* value, not a KTRFAC_* value.Philip Guenther
problem noted and based on diff by Michal Mazurek (akfaew (at) jasminek.net) ok jmc@
2016-06-19Move the RB_ code from doas.h to env.c, and limit the environment interface to aMartijn van Duren
simple prepenv function. OK tedu@
2016-06-19a little nicer formatting; from miodJason McIntyre
2016-06-19no more lock(9);Jason McIntyre
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2016-06-19Replace some expensive evals.Antoine Jacoutot
2016-06-19omap4 uart is compatible with omap3 uart but has it's own compatible stringJonathan Gray