openbsd
6 years agoRedrawing status is needed after changing window flags or title does not
nicm [Thu, 28 Dec 2017 12:10:50 +0000 (12:10 +0000)]
Redrawing status is needed after changing window flags or title does not
update if status line is off, GitHub issue 1191.

6 years agoSynch pin defenitions with Linux and add support for the Allwinner GR8 and
kettenis [Thu, 28 Dec 2017 11:39:11 +0000 (11:39 +0000)]
Synch pin defenitions with Linux and add support for the Allwinner GR8 and
Allwinner R40.

6 years agopf drops IPv4 packets with any options by default. For IPv6 the
bluhm [Thu, 28 Dec 2017 11:37:44 +0000 (11:37 +0000)]
pf drops IPv4 packets with any options by default.  For IPv6 the
same is already done for options header.  Add the routing extension
header to the list that need "allow-opts" to pass.
OK sashan@ visa@

6 years agoDelete information about bulk builds already found in bulk(8).
cheloha [Thu, 28 Dec 2017 04:42:40 +0000 (04:42 +0000)]
Delete information about bulk builds already found in bulk(8).

Direct the reader there instead.

ok espie@

7 years agoAdd size for free() in the AMD K10/K11 pstate driver.
fcambus [Wed, 27 Dec 2017 17:41:54 +0000 (17:41 +0000)]
Add size for free() in the AMD K10/K11 pstate driver.

It was done already on i386, but not on amd64.

OK brynet@

7 years agolog specific error when connect() fails.
benno [Wed, 27 Dec 2017 15:53:30 +0000 (15:53 +0000)]
log specific error when connect() fails.
ok claudio@, feedback bluhm@

7 years agoAdd sizes for free() in the Geode LX Security Block crypto accelerator.
fcambus [Wed, 27 Dec 2017 15:10:16 +0000 (15:10 +0000)]
Add sizes for free() in the Geode LX Security Block crypto accelerator.

OK visa@

7 years agoInitialize memhook such that /dev/mem access doesn't attempt to map pages
kettenis [Wed, 27 Dec 2017 14:13:05 +0000 (14:13 +0000)]
Initialize memhook such that /dev/mem access doesn't attempt to map pages
at address zero.  Spotted by Artturi Alm.

ok patrick@

7 years agoTurns out linker scripts in lld are still subtly broken and aligning
kettenis [Wed, 27 Dec 2017 13:57:40 +0000 (13:57 +0000)]
Turns out linker scripts in lld are still subtly broken and aligning
sections doesn't work when the -r option is used.  Disable the unmapping
code again until lld gets fixed.

7 years agoDraw command prompt correctly with status line off.
nicm [Wed, 27 Dec 2017 13:55:42 +0000 (13:55 +0000)]
Draw command prompt correctly with status line off.

7 years agoMake octeon_intr_establish() assume edge triggering with CIU3.
visa [Wed, 27 Dec 2017 13:16:53 +0000 (13:16 +0000)]
Make octeon_intr_establish() assume edge triggering with CIU3.
This makes the API usable with edge triggered interrupt sources.

7 years agoEnsure interrupt delivery is disabled when setting interrupt
visa [Wed, 27 Dec 2017 13:14:42 +0000 (13:14 +0000)]
Ensure interrupt delivery is disabled when setting interrupt
delivery entry.

7 years agoAdd -Wshadow to Makefile and fix the resulting warnings. Many of
millert [Wed, 27 Dec 2017 13:02:57 +0000 (13:02 +0000)]
Add -Wshadow to Makefile and fix the resulting warnings.  Many of
the warnings are due to the use of globals with generic names,
specifically "options" and "path".  I've renamed "options" to
"sh_options" since it holds the shell options and "path" to
"search_path".  OK jca@ tb@

7 years agoImplement OF_getpropint64().
kettenis [Wed, 27 Dec 2017 11:40:14 +0000 (11:40 +0000)]
Implement OF_getpropint64().

ok jca@, tom@, patrick@, visa@

7 years agostep one in avoiding unneccesary init of chunk_info;
otto [Wed, 27 Dec 2017 10:05:23 +0000 (10:05 +0000)]
step one in avoiding unneccesary init of chunk_info;
some cleanup; tested by sthen@ on a ports build

7 years agosync (if_bwfm_pci.h)
sthen [Wed, 27 Dec 2017 00:00:49 +0000 (00:00 +0000)]
sync (if_bwfm_pci.h)

7 years agoregen
kettenis [Tue, 26 Dec 2017 23:47:41 +0000 (23:47 +0000)]
regen

7 years agoAdd two IDT PCIe switches found in a SPARC T4-1 and tweak another one to
kettenis [Tue, 26 Dec 2017 23:47:17 +0000 (23:47 +0000)]
Add two IDT PCIe switches found in a SPARC T4-1 and tweak another one to
not include the revision of the chip.

7 years agoCherry-pick a change from LLD to make the behavior of the -v option
patrick [Tue, 26 Dec 2017 21:01:02 +0000 (21:01 +0000)]
Cherry-pick a change from LLD to make the behavior of the -v option
more closer to GNU linkers.  This should help with autoconf/libtool
compatibility in ports.

Requested by Brad
"no objection" kettenis@

7 years agoUpdate to compiler-rt 5.0.1.
patrick [Tue, 26 Dec 2017 20:59:44 +0000 (20:59 +0000)]
Update to compiler-rt 5.0.1.

ok kettenis@

7 years agoCherry-pick a change from LLVM that marks specific pseudo memory
patrick [Tue, 26 Dec 2017 19:34:27 +0000 (19:34 +0000)]
Cherry-pick a change from LLVM that marks specific pseudo memory
instructions to have side effects so the optimizer does not reorder
them across fnstcw/fldcw sequences.  Fixes a bug seen in sqlite3 on
i386.

ok kettenis@

7 years agoMissed in previous
jca [Tue, 26 Dec 2017 19:12:22 +0000 (19:12 +0000)]
Missed in previous

Spotted by patrick@, thanks

7 years agoThe hack for /dev/fd support on systems without it was removed a
millert [Tue, 26 Dec 2017 19:10:31 +0000 (19:10 +0000)]
The hack for /dev/fd support on systems without it was removed a
long time ago.  Update the comments and replace test_stat() calls
with stat() since test_stat() now just calls stat() directly.  Also
rename the "mode" parameter to "amode" in test_eaccess() to match
access(2) and make it clear that this is the access mode and not
the file mode.  OK jca@

7 years agoCorrect register numbers for AXP809.
kettenis [Tue, 26 Dec 2017 17:16:33 +0000 (17:16 +0000)]
Correct register numbers for AXP809.

7 years agoAs the divert-to pf state is not connected, it is not linked to the
bluhm [Tue, 26 Dec 2017 17:03:46 +0000 (17:03 +0000)]
As the divert-to pf state is not connected, it is not linked to the
incpb and so not removed when the socket is closed.  Packets matching
reply and reply-to states are linked to the sockets immediately.
So these states must go away when the socket is closed.  Check this
with the output of "pfctl -s states" after running the Perl scripts.

7 years agosync
jca [Tue, 26 Dec 2017 15:24:38 +0000 (15:24 +0000)]
sync

7 years agoUse a version script to limit exported symbols
jca [Tue, 26 Dec 2017 15:23:33 +0000 (15:23 +0000)]
Use a version script to limit exported symbols

ok ratchov@ kettenis@

7 years agosync
kettenis [Tue, 26 Dec 2017 15:14:22 +0000 (15:14 +0000)]
sync

7 years agoAdd ARM EABI runtime aliases to the GCC runtime functions that we include
kettenis [Tue, 26 Dec 2017 15:11:17 +0000 (15:11 +0000)]
Add ARM EABI runtime aliases to the GCC runtime functions that we include
in libc.

ok patrick@, jsg@, guenther@

7 years agodrm/i915: call kunmap_px on pt_vaddr
kettenis [Tue, 26 Dec 2017 13:22:36 +0000 (13:22 +0000)]
drm/i915: call kunmap_px on pt_vaddr

From Matthew Auld
44a7102484db0ddfa6f855b57ffe0566f739b55a in mainline linux

Pointed out by Martin Ziemer

7 years agoSync Allwinner A64 pin defenitions with Linux.
kettenis [Tue, 26 Dec 2017 12:58:59 +0000 (12:58 +0000)]
Sync Allwinner A64 pin defenitions with Linux.
Add support for the 2nd A64 controller.
Add Allwinner A33 support.

7 years agoImplement support for the "next-generation" clock bindings for the
kevlo [Tue, 26 Dec 2017 09:31:51 +0000 (09:31 +0000)]
Implement support for the "next-generation" clock bindings for the
Allwinner A23/A33.

ok kettenis@

7 years agoFix channel initialization by not using the same loop variable in nested
patrick [Tue, 26 Dec 2017 00:51:29 +0000 (00:51 +0000)]
Fix channel initialization by not using the same loop variable in nested
for-loops.  Oops.

7 years agoMarkup SIGHUP and rework sentence; ok jmc@
anton [Mon, 25 Dec 2017 16:01:35 +0000 (16:01 +0000)]
Markup SIGHUP and rework sentence; ok jmc@

7 years agosync
patrick [Mon, 25 Dec 2017 12:09:20 +0000 (12:09 +0000)]
sync

7 years agomemcpy from the right place. at this point, the used variable is not
tedu [Mon, 25 Dec 2017 02:11:19 +0000 (02:11 +0000)]
memcpy from the right place. at this point, the used variable is not
relevant. from Mark Karpilovskij.
ok millert

7 years agoTedu files that got removed in LLVM 5.0.1.
patrick [Mon, 25 Dec 2017 00:41:59 +0000 (00:41 +0000)]
Tedu files that got removed in LLVM 5.0.1.

7 years agoUpdate to LLVM 5.0.1 which apparently includes plenty of bugfixes.
patrick [Sun, 24 Dec 2017 23:29:52 +0000 (23:29 +0000)]
Update to LLVM 5.0.1 which apparently includes plenty of bugfixes.

Requested by Brad
Tested by me on amd64
Tested by bluhm on i386
Tested by kettenis on arm64, armv7 and sparc64

7 years agoRe-enable the code that unmaps the startup code. This was temporarily
kettenis [Sun, 24 Dec 2017 23:24:45 +0000 (23:24 +0000)]
Re-enable the code that unmaps the startup code.  This was temporarily
disabled while lld was growing up, but forgotten about when gap.o was
added back.

ok deraadt@

7 years agoMerge LLVM 5.0.1 release.
patrick [Sun, 24 Dec 2017 23:19:13 +0000 (23:19 +0000)]
Merge LLVM 5.0.1 release.

7 years agoImport LLVM 5.0.1 release including clang, lld and lldb.
patrick [Sun, 24 Dec 2017 23:15:17 +0000 (23:15 +0000)]
Import LLVM 5.0.1 release including clang, lld and lldb.

7 years agoConsolidate printf(3) calls at the end of main().
cheloha [Sun, 24 Dec 2017 22:12:49 +0000 (22:12 +0000)]
Consolidate printf(3) calls at the end of main().

Makes reading the classification algorithm easier.

ok tb@

7 years agoAdd a PCI attachment driver for bwfm(4). It's not finished, but it's
patrick [Sun, 24 Dec 2017 19:50:56 +0000 (19:50 +0000)]
Add a PCI attachment driver for bwfm(4).  It's not finished, but it's
already past the point where development can occur out of the tree.
With this I can successfully scan for access points and tell the chip
to attach to an SSID.  RX path should work as well, but since I forgot
to bring the antenna with me to my parents, the reception is a bit
horrible in the metal enclosure.

There are a few reasons this driver is rather big.  First we set up the
ARM Cores, uploading the firmware and kicking it off.  Then we need to
read all needed information from the registers.  Once that is done we
have to set up countless buffers.  There are 2 TX rings and 3 RX rings,
plus N TX rings for the actual data that is yet to be implemented.

Merry Christmas!

ok kettenis@

7 years agoFor systems where the cpu node in the device tree has a "clocks" property,
kettenis [Sun, 24 Dec 2017 19:43:51 +0000 (19:43 +0000)]
For systems where the cpu node in the device tree has a "clocks" property,
implement hw.cpuspeed using the clock framework.

ok patrick@

7 years agoFor systems where the cpu node in the device tree has a "clocks" property,
kettenis [Sun, 24 Dec 2017 19:42:51 +0000 (19:42 +0000)]
For systems where the cpu node in the device tree has a "clocks" property,
implement hw.cpuspeed using the clock framework.

ok patrick@

7 years agoImplement A10/A20 CPU clock.
kettenis [Sun, 24 Dec 2017 18:24:06 +0000 (18:24 +0000)]
Implement A10/A20 CPU clock.

7 years agoUse more libm.
cheloha [Sun, 24 Dec 2017 16:59:50 +0000 (16:59 +0000)]
Use more libm.

adj360() is a modulo operation: use fmod(3) to simplify things.

Adding 0.5 to the phase to steer implicit truncation is a hack:
use lround(3) to simplify things.

Product of a discussion with pjanzen@/jca@/tb@ regarding floating-point
rounding and the importance of correctly classifying a gibbous moon.

ok pjanzen@ jca@ tb@

7 years agoSomes fixes for the VIA PadLock drivers.
fcambus [Sun, 24 Dec 2017 16:19:27 +0000 (16:19 +0000)]
Somes fixes for the VIA PadLock drivers.

- Do not ignore the return value of m_copyback() on i386
- Always free sc->op_buf before returning on both amd64 and i386,
  pointed out by mikeb@, thanks!

OK mikeb@

7 years agoThere was a corner case where linking the inp to the state key did
bluhm [Sun, 24 Dec 2017 14:18:19 +0000 (14:18 +0000)]
There was a corner case where linking the inp to the state key did
work in pf.  The function pf_inp_link() takes the state key from
the mbuf and not the one pf_find_state() has just found.  Introduce
a new function pf_state_key_link_inpcb() that links the given state
key and inpcb together with some sanity checks.
OK sashan@

7 years agoAllow SD/MMC controller drivers to allocate their own DMA mapping structure
kettenis [Sun, 24 Dec 2017 12:55:52 +0000 (12:55 +0000)]
Allow SD/MMC controller drivers to allocate their own DMA mapping structure
to account for any relevant hardware constraints.

ok stsp@

7 years agoGenerate SIGBUS/BUS_ADRALN when we see a SP Alignment Exception from userland.
kettenis [Sun, 24 Dec 2017 10:32:25 +0000 (10:32 +0000)]
Generate SIGBUS/BUS_ADRALN when we see a SP Alignment Exception from userland.

ok jsg@

7 years agoFix one possible buffer overflow and one underflow. Also some minor
millert [Sun, 24 Dec 2017 01:50:50 +0000 (01:50 +0000)]
Fix one possible buffer overflow and one underflow.  Also some minor
cleanups.  From Jan Kokemueller.  OK deraadt@

7 years agoAvoid comparing equal lines twice when running without -i.
tb [Sun, 24 Dec 2017 00:11:43 +0000 (00:11 +0000)]
Avoid comparing equal lines twice when running without -i.

From kshe, ok jca

7 years agoAs we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
cheloha [Sat, 23 Dec 2017 20:58:14 +0000 (20:58 +0000)]
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).

While here, use err(3) instead of errx(3) if adjtime(2) fails.

Discussed/tweaked with/by tb@ and jca@.

ok tb@ jca@

7 years agoAs we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
cheloha [Sat, 23 Dec 2017 20:53:07 +0000 (20:53 +0000)]
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).

ok tb@ jca@

7 years agoUse the monotonic clock for logging progress in cdio(1) and ftp(1).
cheloha [Sat, 23 Dec 2017 20:04:23 +0000 (20:04 +0000)]
Use the monotonic clock for logging progress in cdio(1) and ftp(1).

Keeps the progress log from blipping or stalling if, e.g., the
system time is changed in the midst of a rip or a transfer.

ok tb@ jca@

7 years agoregen
mlarkin [Sat, 23 Dec 2017 18:35:41 +0000 (18:35 +0000)]
regen

7 years agoAdd missing Sunrise Point-H I2C controller PCI IDs
mlarkin [Sat, 23 Dec 2017 18:34:54 +0000 (18:34 +0000)]
Add missing Sunrise Point-H I2C controller PCI IDs

7 years agoMake it clear that MFS can be used for the noperm permission holding DESTDIR.
sthen [Sat, 23 Dec 2017 16:20:21 +0000 (16:20 +0000)]
Make it clear that MFS can be used for the noperm permission holding DESTDIR.
(If anyone needs a bit more handholding than is in release(8), the faq page
https://www.openbsd.org/faq/faq5.html#Release has more information about
setting this up).

Much simplified from, but inspired by, various diffs from ians@.  ok tb@ jmc@

7 years agoRemove stray space.
kettenis [Sat, 23 Dec 2017 15:04:46 +0000 (15:04 +0000)]
Remove stray space.

7 years agoSync Allwinner H3/H5 pin definitions with Linux.
kettenis [Sat, 23 Dec 2017 12:55:26 +0000 (12:55 +0000)]
Sync Allwinner H3/H5 pin definitions with Linux.

7 years agothe trick to get signal names requires skipping over POSIX stuff we don't
espie [Sat, 23 Dec 2017 12:35:47 +0000 (12:35 +0000)]
the trick to get signal names requires skipping over POSIX stuff we don't
have now.

as seen by landry@

7 years agoAvoid null-pointer dereference wen a device tree refers to a pin-function
kettenis [Sat, 23 Dec 2017 12:28:45 +0000 (12:28 +0000)]
Avoid null-pointer dereference wen a device tree refers to a pin-function
that doesn't exist.

7 years agoscrolling: take care of noise.
bru [Sat, 23 Dec 2017 10:50:15 +0000 (10:50 +0000)]
scrolling: take care of noise.

7 years agoSince ikev2_init_recv() is supposed to only handle responses to an
patrick [Sat, 23 Dec 2017 10:30:54 +0000 (10:30 +0000)]
Since ikev2_init_recv() is supposed to only handle responses to an
exchange that we initiatiated, we are not allowed to respond to such
a msg.  Also we don't need the DH check in ikev2_sa_initiator_dh() as
it's only called when we initiate, so the check would not run, or when
we get a Create Child SA response, where an error should only lead to
us having another attempt at an exchange.

Found by and ok markus@

7 years agoRemove dead assignment.
fcambus [Sat, 23 Dec 2017 10:30:25 +0000 (10:30 +0000)]
Remove dead assignment.

Now that we call rasops_putchar_rotated(), we don't need ri anymore.

OK kettenis@

7 years agoUse regmap interface to tweak "SYSREG" PHY configuration registers and
kettenis [Sat, 23 Dec 2017 10:23:34 +0000 (10:23 +0000)]
Use regmap interface to tweak "SYSREG" PHY configuration registers and
remove exsysreg(4).  The exsysreg(4) driver would no longer attach
as syscon(4) would match its node in the device tree.  As a result the
driver corss-call would panic.

Makes te Odroid-XU4 work again.

7 years agoenable snooping on Intel 200 Series HDA
jsg [Sat, 23 Dec 2017 01:44:24 +0000 (01:44 +0000)]
enable snooping on Intel 200 Series HDA

7 years agomatch on intel 200 series
jsg [Sat, 23 Dec 2017 01:42:31 +0000 (01:42 +0000)]
match on intel 200 series

7 years agoregen
jsg [Sat, 23 Dec 2017 01:34:35 +0000 (01:34 +0000)]
regen

7 years agoadd ids for intel coffee lake-s and series 200/300 pch
jsg [Sat, 23 Dec 2017 01:33:51 +0000 (01:33 +0000)]
add ids for intel coffee lake-s and series 200/300 pch

7 years agoclarify that -i only affects the comparison of ASCII characters;
schwarze [Sat, 23 Dec 2017 00:52:33 +0000 (00:52 +0000)]
clarify that -i only affects the comparison of ASCII characters;
OK jmc@ tb@

7 years agoFix memory leak in screen_redraw_make_pane_status.
nicm [Fri, 22 Dec 2017 23:16:41 +0000 (23:16 +0000)]
Fix memory leak in screen_redraw_make_pane_status.

7 years agoSince export accepts several variables, put them on a single line; ok tb@
anton [Fri, 22 Dec 2017 21:19:10 +0000 (21:19 +0000)]
Since export accepts several variables, put them on a single line; ok tb@

7 years agoCope with the fact, that the DHCLIENT route label is gone which
rpe [Fri, 22 Dec 2017 19:41:49 +0000 (19:41 +0000)]
Cope with the fact, that the DHCLIENT route label is gone which
helped to find out if the default route was configured by dhclient.

Check if the interface connected to the default route is in the
dhcp interface group which accomplishes the same functionality.

With feedback from and OK krw@

7 years agoIf we use the cookie-based interrupt API on sun4v, whe shouldn't put the
kettenis [Fri, 22 Dec 2017 15:52:36 +0000 (15:52 +0000)]
If we use the cookie-based interrupt API on sun4v, whe shouldn't put the
interrupts in the lookup table.  On machines like the Oracle T7-2 this
would make the code believe that there is interrupt sharing, but since
we bypass intr_list_handler() when using the cookie-based interrupt API,
we wouldn't properly acknowledge the interrupt.

This fixes the last remaining problem with interrupts on the Oracle T7-2.

7 years ago1. Use unfiltered deltas for scrolling. 2. (Re-)Simplify the edge area
bru [Fri, 22 Dec 2017 15:21:04 +0000 (15:21 +0000)]
1. Use unfiltered deltas for scrolling.  2. (Re-)Simplify the edge area
setup.

7 years agoDo not try to set default value on user options (they don't have one),
nicm [Fri, 22 Dec 2017 10:18:51 +0000 (10:18 +0000)]
Do not try to set default value on user options (they don't have one),
from Charles Howard in GitHub issue 1161.

7 years agoRemove duplicate WheelUp/WheelDown entries in list, GitHub issue 1184.
nicm [Fri, 22 Dec 2017 10:16:36 +0000 (10:16 +0000)]
Remove duplicate WheelUp/WheelDown entries in list, GitHub issue 1184.

7 years agoAdd some comments what the tests are doing.
bluhm [Thu, 21 Dec 2017 23:27:17 +0000 (23:27 +0000)]
Add some comments what the tests are doing.

7 years agoExpand u_short and u_int to unsigned short and unsigned int
millert [Thu, 21 Dec 2017 21:04:38 +0000 (21:04 +0000)]
Expand u_short and u_int to unsigned short and unsigned int
respectively to avoid compilation errors when one of the POSIX or
X/OPEN version macros is defined.  Also sync the field descriptions
with kqueue.2.  OK deraadt@

7 years agotypo;
jmc [Thu, 21 Dec 2017 21:03:49 +0000 (21:03 +0000)]
typo;

7 years agoAdopt comments to previous change
rpe [Thu, 21 Dec 2017 19:22:14 +0000 (19:22 +0000)]
Adopt comments to previous change

7 years agoStop creating a dhclient.conf in the install script, now
krw [Thu, 21 Dec 2017 15:14:45 +0000 (15:14 +0000)]
Stop creating a dhclient.conf in the install script, now
that 'send host-name' is the default behaviour for
dhclient.

ok rpe@

7 years agoCall if_start() directly to send the EAPOL key.
mpi [Thu, 21 Dec 2017 12:09:38 +0000 (12:09 +0000)]
Call if_start() directly to send the EAPOL key.

Using if_enqueue() here, from interrupt context, might result in
the packet beeing enqueued, incorrectly encrypted, on the TX ring.

This race has been recently exposed by the re-introduction of the
TX mitigation.  It exists because the net80211 stack sets
IEEE80211_NODE_TXPROT on the node while processing the 3rd message,
assuming the answer has already been transmitted.  However a CPU
returns from if_enqueue() it cannot assume that the send queue is
empty.  So call if_start() to flush this queue.

Encrypting the 4th message of the 4way handshake with the new key
breaks WPA handshake as found the hardway by anton@.

Race analysed by dlg@, a lot of net80211 inputs and suggetions from
stsp@.

ok stsp@, dlg@

7 years agoAdd an -i option for case insensitive comparison of lines.
tb [Thu, 21 Dec 2017 10:05:59 +0000 (10:05 +0000)]
Add an -i option for case insensitive comparison of lines.
From Claus Assmann with minor tweaks by me.

ok millert

7 years agoTwo width specifiers changed from %02 to %0 in previous. Change them back.
tb [Thu, 21 Dec 2017 07:29:15 +0000 (07:29 +0000)]
Two width specifiers changed from %02 to %0 in previous. Change them back.

ok deraadt

7 years agoDo not use %hx for chars, ok kettenis
deraadt [Thu, 21 Dec 2017 06:55:22 +0000 (06:55 +0000)]
Do not use %hx for chars, ok kettenis

7 years agoanother libssh casualty
djm [Thu, 21 Dec 2017 05:46:35 +0000 (05:46 +0000)]
another libssh casualty

7 years agoClose the right file descriptor and clean up the tls context in aldap_close().
jmatthew [Thu, 21 Dec 2017 05:09:56 +0000 (05:09 +0000)]
Close the right file descriptor and clean up the tls context in aldap_close().

ok zhuk@ deraadt@

7 years agodrivers might want to call ifiq_barrier.
dlg [Thu, 21 Dec 2017 03:59:32 +0000 (03:59 +0000)]
drivers might want to call ifiq_barrier.

7 years agoadd some ifq and ifiq barriers in ixl_down.
dlg [Thu, 21 Dec 2017 03:58:27 +0000 (03:58 +0000)]
add some ifq and ifiq barriers in ixl_down.

move rxfill in ixl_up so the qtail is only written once.

7 years agomissed one (unbreak after ssh/lib removal)
djm [Thu, 21 Dec 2017 03:01:49 +0000 (03:01 +0000)]
missed one (unbreak after ssh/lib removal)

7 years agonow that we have multiple input queues in ifnet structs, use them.
dlg [Thu, 21 Dec 2017 01:55:44 +0000 (01:55 +0000)]
now that we have multiple input queues in ifnet structs, use them.

for now we still only have one set of tx and rx rings, but sets us up to
bump that number.

7 years agoprototype if_attach_iqueues so drivers can configure multiple iqs.
dlg [Thu, 21 Dec 2017 01:11:47 +0000 (01:11 +0000)]
prototype if_attach_iqueues so drivers can configure multiple iqs.

7 years agounbreak unit tests after removal of src/usr.bin/ssh/lib
djm [Thu, 21 Dec 2017 00:41:22 +0000 (00:41 +0000)]
unbreak unit tests after removal of src/usr.bin/ssh/lib

7 years agoImplement missing bits to support lazy binding. Note that the code
kettenis [Thu, 21 Dec 2017 00:32:55 +0000 (00:32 +0000)]
Implement missing bits to support lazy binding.  Note that the code
deliberately does not save the floating-point argument registers
before calling _dl_bind().  Doing so would force an FPU context switch
upon every function call through the PLT.  But since we compile ld.so
with -march=armv8-a+nofp+nosimd this is safe since nothing in the _dl_bind()
codepath uses he FPU registers.

ok guenther@, drahn@

7 years agorevert stricter key type / signature type checking in userauth path;
djm [Thu, 21 Dec 2017 00:00:28 +0000 (00:00 +0000)]
revert stricter key type / signature type checking in userauth path;
too much software generates inconsistent messages, so we need a
better plan.

7 years agoSkip this regress test if no remote test machine is specified as
bluhm [Wed, 20 Dec 2017 23:37:56 +0000 (23:37 +0000)]
Skip this regress test if no remote test machine is specified as
environment variable.

7 years agoFix adding and removing files with git-style a/ b/ diffs: only skip
tb [Wed, 20 Dec 2017 21:08:06 +0000 (21:08 +0000)]
Fix adding and removing files with git-style a/ b/ diffs: only skip
six letters if they actually match "--- a/" and "+++ b/" instead of
laxer checks.

ok tom, tedu, millert