summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-11need sys/atomic.h to get atomic_{set,clear}bits_intDavid Gwynne
2015-02-11need sys/atomic.h for atomic_{set,clear}bits_int.David Gwynne
2015-02-11Show error code in DPRINTF error messages within iwm_send_phy_db_data.Stefan Sperling
2015-02-11we dont need sys/lock.h because we dont use lockmgr, but we do needDavid Gwynne
sys/atomic.h for atomic_setbits_int.
2015-02-11Document P_CANTSLEEPPhilip Guenther
2015-02-11zero ecx before cpuid(1), for some Cyrix processors do not reallyMiod Vallat
support cpuid with other values than zero, and leave the ecx register unchanged. ok kettenis@
2015-02-11Minimal attachment to build-test dwc2(4).Masao Uebayashi
2015-02-11make the rwlock implementation MI.David Gwynne
each arch used to have to provide an rw_cas operation, but now we have the rwlock code build its own version. on smp machines it uses atomic_cas_ulong. on uniproc machines it avoids interlocked instructions by using straight loads and stores. this is safe because rwlocks are only used from process context and processes are currently not preemptible in our kernel. so alpha/ppc/etc might get a benefit. ok miod@ kettenis@ deraadt@
2015-02-11Merge in a commit from upstream..Brad Smith
- Fix scrubber with harden-glue turned off to reject NS (and other not-address) records. ok sthen@
2015-02-10atomic_{cas,swap}_ptr takes a volatile void *, not a volatile void **.David Gwynne
this makes mips64 consistent with the api and all other archs. testing and ok miod@
2015-02-10Be less chatty on constraint errors.Reyk Floeter
OK deraadt@
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@
2015-02-10Convert to uiomove()Miod Vallat
2015-02-10Adjust usb(9) API differences to at least compile.Masao Uebayashi
2015-02-10Testing indicates TX is broken for 11a in iwm(4) so stop advertising 11aStefan Sperling
support to the net80211 layer for now. Discussed with phessler.
2015-02-10Don't use an uninitialized variable when a PT_LOAD segment withPhilip Guenther
alignment 0 or 1 is encountered. The result before was just a spurious failure by execve(), though I had to manually mangle a binary to hit this case: segments are all long-aligned or better in practice. uninitialized variable noted by Maxime Villard (rustyBSD (at) gmx.fr) ok and prod jsg@
2015-02-10Adjust various kernel API differences.Masao Uebayashi
2015-02-10Wireless drivers call if_input() via ieee80211_input() which set `rcvif'Martin Pieuchot
on every received mbuf, so there's no need to initialize this pointer in the drivers. Tested by and ok phessler@
2015-02-10Convert tsleep(9)/wakeup(9) usages.Masao Uebayashi
2015-02-10Replace hand rolled code with m_defrag().Brad Smith
ok pelikan@
2015-02-10Whitespace.Masao Uebayashi
2015-02-10syncTheo de Raadt
2015-02-10Convert timeout(9)/taskq(9) usages.Masao Uebayashi
2015-02-10Keep track of the last time we scanned the leases to find expiredKenneth R Westerback
ones that needed to be booted out of the pf table process. This avoids removing the same addess over and over. Problem report and original diff from Bertrand Provost.
2015-02-10Trivial conversion to uiomove()Miod Vallat
2015-02-10Convert sun4 eeprom access to uiomove()Miod Vallat
2015-02-10Convert to uiomove().Miod Vallat
ok guenther@
2015-02-10pounce on a reallocarray opportunity before teduTheo de Raadt
2015-02-10Convert to uiomove().Miod Vallat
2015-02-10In iwm(4), call ieee80211_media_init() after overriding net80211 stateStefan Sperling
machine methods, like other drivers do.
2015-02-10remove extra word in previous;Jason McIntyre
2015-02-10The attach procedure of iwm(4) was setting up the MAC address correctlyStefan Sperling
but forgot about other information obtained from firmware, like the map of supported channels. Completely re-attach the net80211 layer after first successful firmware load. Fixes output of 'ifconfig iwm0 media'.
2015-02-10Merge in a commit from upstream..Brad Smith
- Fix validation failure in case upstream forwarder (ISC BIND) does not have the same trust anchors and decides to insert unsigned NS record in authority section. ok sthen@
2015-02-10Merge in a commit from upstream..Brad Smith
- Fix tcp waiting list for zone transfers where the bind and connect calls fail. ok sthen@
2015-02-10Convert uiomovei() with a constant size argument to uiomove().Miod Vallat
2015-02-10Another uiomovei(,sizeof,) -> uiomoveMiod Vallat
2015-02-10Switch uiomovei(..., sizeof whatever, ...) to uiomove().Miod Vallat
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
- rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@
2015-02-10In iwm(4), don't reinvent the standard rate set tables.Stefan Sperling
Just use the equivalent definitions provided by net80211.
2015-02-10iwn(4) error says 'firmware too short', not 'firmware file too short'.Stefan Sperling
Fix the man page.
2015-02-10The iwm(4) messages listed (but commented) under DIAGNOSTICS inStefan Sperling
this man page are not lies anymore so uncomment them all.
2015-02-10Sync iwm(4)'s fatal firmware error message with the one used by iwn(4).Stefan Sperling
2015-02-10tweak previous;Jason McIntyre
2015-02-10Oops, I accidently reverted the two previous commits in syslog.conf.5.Alexander Bluhm
Bring back revision 1.29.
2015-02-10Make error check consistent in all recvfrom(2) callbacks.Alexander Bluhm
OK henning@
2015-02-10Fix typo in previous commit.Alexander Bluhm
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@
2015-02-10Be more careful to not generate empty .In, .St, and .Xr nodes.Ingo Schwarze
That could happen when their first argument was another called macro, causing a NULL pointer access in .St validation found by jsg@ with afl. Make in_line_argn() easier to understand by using one state variable rather than two.
2015-02-10Introduce an openssl(1) certhash command.Joel Sing
This is effectively a reimplementation of the functionality provided by the previously removed c_rehash Perl script. The c_rehash script had a number of known issues, including the fact that it needs to run openssl(1) multiple times and that it starts by removing all symlinks before putting them back, creating atomicity issues/race conditions, even when nothing has changed. certhash is self-contained and is intended to be stable - no changes should be made unless something has actually changed. This means it can be run regularly in a production environment without causing certificate lookup failures. Further testing and improvements will happen in tree. Discussed with tedu@
2015-02-10Convert malloc(9)/free(9) usages.Masao Uebayashi