openbsd
9 years agoAdd a stronger (4k bit) fallback group that sshd can use when the moduli
dtucker [Wed, 27 May 2015 23:39:18 +0000 (23:39 +0000)]
Add a stronger (4k bit) fallback group that sshd can use when the moduli
file is missing or broken, sourced from RFC3526.  bz#2302, ok markus@
(earlier version), djm@

9 years agoUse m_defrag(9) instead of rolling our own inlined version.
kettenis [Wed, 27 May 2015 22:10:52 +0000 (22:10 +0000)]
Use m_defrag(9) instead of rolling our own inlined version.

ok mikeb@

9 years agoMove the jobs output cache into the formats code so that #() work more
nicm [Wed, 27 May 2015 13:28:04 +0000 (13:28 +0000)]
Move the jobs output cache into the formats code so that #() work more
generally (for example, again working in set-titles-string).

9 years agocheck if the packet is for us or if we're promisc before we cut the
dlg [Wed, 27 May 2015 12:23:44 +0000 (12:23 +0000)]
check if the packet is for us or if we're promisc before we cut the
vlan header out of the packet.

fixes rx on top of trunks on top of nics that dont do hw vlan tagging.

ok mpi@

9 years agoImprove the controller state check in xhci_reset
mikeb [Wed, 27 May 2015 11:13:34 +0000 (11:13 +0000)]
Improve the controller state check in xhci_reset

From FreeBSD, OK mpi

9 years agocall exynos_platform_match() if the kernel is compiled with exynos devices
jsg [Wed, 27 May 2015 08:03:43 +0000 (08:03 +0000)]
call exynos_platform_match() if the kernel is compiled with exynos devices

9 years agosupport PKCS#11 devices with external PIN entry devices
djm [Wed, 27 May 2015 05:15:02 +0000 (05:15 +0000)]
support PKCS#11 devices with external PIN entry devices
bz#2240, based on patch from Dirk-Willem van Gulik;
feedback and ok dtucker@

9 years agomake the exynos code compile without fdt
jsg [Wed, 27 May 2015 00:06:14 +0000 (00:06 +0000)]
make the exynos code compile without fdt
ok bmercer@

9 years agomake this build with WSDISPLAY_COMPAT_RAWKBD defined
jsg [Tue, 26 May 2015 23:47:04 +0000 (23:47 +0000)]
make this build with WSDISPLAY_COMPAT_RAWKBD defined
ok bmercer@

9 years agoCap DH-GEX group size at 4kbits for Cisco implementations. Some of them
dtucker [Tue, 26 May 2015 23:23:40 +0000 (23:23 +0000)]
Cap DH-GEX group size at 4kbits for Cisco implementations.  Some of them
will choke when asked for preferred sizes >4k instead of returning the 4k
group that they do have.  bz#2209, ok djm@

9 years agoBring back `1:' label removed by mistake in 1.7. Complained loudly about by gas
miod [Tue, 26 May 2015 20:23:39 +0000 (20:23 +0000)]
Bring back `1:' label removed by mistake in 1.7. Complained loudly about by gas
2.17, while 2.15 didn't care, which just caused a cold shiver accross my spine.

9 years agoBetter cross-compilation check
miod [Tue, 26 May 2015 20:15:54 +0000 (20:15 +0000)]
Better cross-compilation check

9 years agoUse a relative path against BSDOBJDIR to pick libcrypto; makes cross-lib
miod [Tue, 26 May 2015 19:38:13 +0000 (19:38 +0000)]
Use a relative path against BSDOBJDIR to pick libcrypto; makes cross-lib
work again.

9 years agosimply use _PATH_HOSTS where appropriate
eric [Tue, 26 May 2015 19:28:57 +0000 (19:28 +0000)]
simply use _PATH_HOSTS where appropriate

9 years agoFix missing vlan.h include in if_vio.c
sf [Tue, 26 May 2015 19:12:24 +0000 (19:12 +0000)]
Fix missing vlan.h include in if_vio.c

patch by jsg@

9 years agoImprove diffability against m68k.
miod [Tue, 26 May 2015 18:57:08 +0000 (18:57 +0000)]
Improve diffability against m68k.

9 years agoExposes number of bytes processed by the sound card (as returned
ratchov [Tue, 26 May 2015 18:17:12 +0000 (18:17 +0000)]
Exposes number of bytes processed by the sound card (as returned
by AUDIO_GET{I,O}OFFS) instead of the number of bytes processed
minus the xruns (as returned by AUDIO_GETINFO).

ok armani

9 years agoDon't create ICMP states on reply packets unless tracking states sloppy
mikeb [Tue, 26 May 2015 16:17:51 +0000 (16:17 +0000)]
Don't create ICMP states on reply packets unless tracking states sloppy

Since we've strengthened the ICMP state matching procedure during lookup
to only match packets against states set up in a particular direction, we
need to make sure we don't create states on packets that would otherwise
be flowing in the direction opposite to the direction of the state and
prevent further packets from matching the created state due to strict
rules imposed by the ICMP direction check.

Problem reported by Alexandr Nedvedicky, alexandr.nedvedicky-at-oracle.com.
Discussed with reyk@;  OK henning

9 years agoUse if_output() instead of rerolling it.
mpi [Tue, 26 May 2015 15:34:00 +0000 (15:34 +0000)]
Use if_output() instead of rerolling it.

ok stsp@

9 years agoCreate aliases.db from the installed aliases file, so we get the correct
naddy [Tue, 26 May 2015 14:34:59 +0000 (14:34 +0000)]
Create aliases.db from the installed aliases file, so we get the correct
owner and group.  Reported by Mark Patruck.  ok deraadt@ miod@

9 years agobump the number of tx and rx descriptors from 128 up to 512.
dlg [Tue, 26 May 2015 12:29:42 +0000 (12:29 +0000)]
bump the number of tx and rx descriptors from 128 up to 512.

9 years agoStore the IP address of the corresponding ifa in the rt_gateway field
mpi [Tue, 26 May 2015 12:19:51 +0000 (12:19 +0000)]
Store the IP address of the corresponding ifa in the rt_gateway field
of RTF_CLONING and RTF_BROASCAST routes to not create MPATH conflicts
when IP address aliases are used.

This change makes it possible to have multiple RTF_CLONING routes with
the same priority.  Note that any of the existing RTF_CLONING route
might be used by the kernel to create a RTF_CLONED route which should
not be a problem with aliases since they are attached to the same ifp.

This unbreak address aliases since the kernel supports multiple connected
routes for a subnet.

Found the hardway by djm@, ok claudio@

9 years agoNormalize route destination before checking for MPATH conflicts.
mpi [Tue, 26 May 2015 12:02:11 +0000 (12:02 +0000)]
Normalize route destination before checking for MPATH conflicts.

This makes rt_mpath_conflict() work as expected when adding routes
with the same destination and the same netmask.

With and ok claudio@

9 years agoDo not create ARP entries for RTF_BROADCAST routes.
mpi [Tue, 26 May 2015 11:55:34 +0000 (11:55 +0000)]
Do not create ARP entries for RTF_BROADCAST routes.

This has been done because historically routes to broadcast addresses
were cloned like any ARP entry.  But for obvious reasons, no matching
Ethernet address could ever be resolved.  That's why we played tricks
with the expire timer.

Now that a RTF_BROADCAST route is created per configured IPv4 address,
we need to differenciate duplicated one.  And by not creating an ARP
entry we are allowed to write the IP address in the rt_gateway field,
which prevents MPATH conflicts.

This change is part of a fix to unbreak aliases since the kernel support
multiple connected routes for a subnet.

Found the hardway by djm@, ok claudio@

9 years agoNow that the Ethernet header is always passed as part of the mbuf, kill
mpi [Tue, 26 May 2015 11:39:07 +0000 (11:39 +0000)]
Now that the Ethernet header is always passed as part of the mbuf, kill
the second (unused) argument of the input packet handlers.

ok dlg@

9 years agomove add_net_randomness from ether_input to the if_input task.
dlg [Tue, 26 May 2015 11:36:26 +0000 (11:36 +0000)]
move add_net_randomness from ether_input to the if_input task.

change it from feeding the ethertype of the packet (which is almost
certainly an ip packet or vlan packet, so not that variable) to the
number of packets about to be processed.

ok deraadt@ mpi@

9 years agoMore than 100+ drivers converted to if_input(), this is the last "real" one.
mpi [Tue, 26 May 2015 11:23:15 +0000 (11:23 +0000)]
More than 100+ drivers converted to if_input(), this is the last "real" one.

ok dlg@

9 years agosync
jsg [Tue, 26 May 2015 07:32:07 +0000 (07:32 +0000)]
sync

9 years agoinclude the firmware for usb devices on the armv7 ramdisk
jsg [Tue, 26 May 2015 07:30:18 +0000 (07:30 +0000)]
include the firmware for usb devices on the armv7 ramdisk

9 years agoAdd OPENSSL_NO_EGD to opensslfeatures.h.
bcook [Tue, 26 May 2015 03:05:26 +0000 (03:05 +0000)]
Add OPENSSL_NO_EGD to opensslfeatures.h.

Since RAND_egd has been removed from LibreSSL, simplify porting software that
relies on it. See https://github.com/libressl-portable/openbsd/pull/34

from Bernard Spil, ok deraadt@

9 years agomake vlans inherit their parents hardmtu as well as mtu.
dlg [Tue, 26 May 2015 03:01:54 +0000 (03:01 +0000)]
make vlans inherit their parents hardmtu as well as mtu.

from brad@ and tested locally.

9 years agoBuild all the firmware for usb devices on armv7.
jsg [Tue, 26 May 2015 02:21:54 +0000 (02:21 +0000)]
Build all the firmware for usb devices on armv7.

9 years agoSync usb devices with amd64.
jsg [Tue, 26 May 2015 02:13:07 +0000 (02:13 +0000)]
Sync usb devices with amd64.
Prompted by djm noticing uslcom(4) was not included.

9 years agobuild wsconsctl and wsconscfg on armv7
jsg [Tue, 26 May 2015 02:01:53 +0000 (02:01 +0000)]
build wsconsctl and wsconscfg on armv7

9 years agofix panic for real and revert previous rev 1.52
benno [Mon, 25 May 2015 22:18:38 +0000 (22:18 +0000)]
fix panic for real and revert previous rev 1.52
from markus@
sorry for the mixup

9 years agoKill outdated comment.
jca [Mon, 25 May 2015 21:59:37 +0000 (21:59 +0000)]
Kill outdated comment.

ok eric@

9 years agoMake SSL_CIPHER_get_bits() report ChaCha20-Poly1305 ciphers as using
guenther [Mon, 25 May 2015 21:35:35 +0000 (21:35 +0000)]
Make SSL_CIPHER_get_bits() report ChaCha20-Poly1305 ciphers as using
256bit keys

problem noted by Tim Kuijsten (info (at) netsend.nl)
ok deraadt@ miod@ bcook@

9 years agoSkip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.
eric [Mon, 25 May 2015 19:30:25 +0000 (19:30 +0000)]
Skip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.

prodded by Brad
ok jca@

9 years agobump up the default Diffie-Hellman group to modp3072; ok mikeb@ djm@
naddy [Mon, 25 May 2015 19:29:36 +0000 (19:29 +0000)]
bump up the default Diffie-Hellman group to modp3072; ok mikeb@ djm@

9 years agogetnameinfo(3) doesn't need to initialize the resolver when it's only used
eric [Mon, 25 May 2015 19:16:08 +0000 (19:16 +0000)]
getnameinfo(3) doesn't need to initialize the resolver when it's only used
for address/port formatting (e.g. NI_NUMERICHOST).

ok deraadt@ jca@

9 years agofix a panic in import_identities() in case the ID isnt loaded
benno [Mon, 25 May 2015 18:48:17 +0000 (18:48 +0000)]
fix a panic in import_identities() in case the ID isnt loaded
(triggered by bgpd).
ok marku@s, mikeb@

9 years agoInitialize ipa_ndrq in isascan() too...
miod [Mon, 25 May 2015 15:19:22 +0000 (15:19 +0000)]
Initialize ipa_ndrq in isascan() too...

9 years agoMatch newer elantech v4 touchpads, logic taken from Linux.
mpi [Mon, 25 May 2015 15:04:26 +0000 (15:04 +0000)]
Match newer elantech v4 touchpads, logic taken from Linux.

Based on a submission from and ok jcs@.

9 years agoonly scan sensors if they are configured
deraadt [Mon, 25 May 2015 14:58:34 +0000 (14:58 +0000)]
only scan sensors if they are configured
ok bcook

9 years agoPort the ELF m88k work to binutils 2.17. Good enough to build a booting
miod [Mon, 25 May 2015 14:56:26 +0000 (14:56 +0000)]
Port the ELF m88k work to binutils 2.17. Good enough to build a booting
kernel, and hopefully userland as well.

9 years agosort
deraadt [Mon, 25 May 2015 14:50:10 +0000 (14:50 +0000)]
sort

9 years agoMake this build when using the __STRICT_ALIGNMENT version of USETW.
jsg [Mon, 25 May 2015 12:53:12 +0000 (12:53 +0000)]
Make this build when using the __STRICT_ALIGNMENT version of USETW.

9 years agovax ELF bits for binutils 2.17.
miod [Mon, 25 May 2015 12:42:54 +0000 (12:42 +0000)]
vax ELF bits for binutils 2.17.

9 years agoConvert from ether_input() with separate mbuf data and Ethernet header, to
miod [Mon, 25 May 2015 12:40:04 +0000 (12:40 +0000)]
Convert from ether_input() with separate mbuf data and Ethernet header, to
if_input(). Based upon an initial diff from mpi@, and then painfully made
STRICT_ALIGNMENT-compliant. Tested on 4/260.
ok mpi@

9 years agoChange ENTRY to __start to match binutils 2.15, needed for static PIE
miod [Mon, 25 May 2015 12:12:42 +0000 (12:12 +0000)]
Change ENTRY to __start to match binutils 2.15, needed for static PIE

9 years agoPrevent a use after free in by closing all open endpoints upon detach.
mpi [Mon, 25 May 2015 11:52:15 +0000 (11:52 +0000)]
Prevent a use after free in by closing all open endpoints upon detach.

Fix a panic reported by landry@ with Android's ADB.

Tested and ok ajacoutot@

9 years agoallow pkg_add as nonroot to soft-fail when outside of local base.
espie [Mon, 25 May 2015 07:20:31 +0000 (07:20 +0000)]
allow pkg_add as nonroot to soft-fail when outside of local base.

9 years agoa dreaded whitespace; Kyle Milz
deraadt [Mon, 25 May 2015 03:07:49 +0000 (03:07 +0000)]
a dreaded whitespace; Kyle Milz

9 years agomissing word in comment; Kyle Milz
deraadt [Mon, 25 May 2015 03:07:07 +0000 (03:07 +0000)]
missing word in comment; Kyle Milz

9 years agoTeach binutils the {rd,wr}{fs,gs}base instructions.
guenther [Mon, 25 May 2015 00:12:59 +0000 (00:12 +0000)]
Teach binutils the {rd,wr}{fs,gs}base instructions.

Flag bits worked out with kettenis@
ok mlarkin@

9 years agoadd missing 'c' option to getopt(), case statement was already
djm [Sun, 24 May 2015 23:39:16 +0000 (23:39 +0000)]
add missing 'c' option to getopt(), case statement was already
there; from Felix Bolte

9 years agoMaximilian dot Fillinger at uni-duesseldorf dot de
schwarze [Sun, 24 May 2015 15:44:52 +0000 (15:44 +0000)]
Maximilian dot Fillinger at uni-duesseldorf dot de
starts helping with the pod2mdoc(1)-based conversion
of LibreSSL crypto manuals from perlpod(1) to mdoc(7).
Here comes the first file, slightly tweaked by me.

9 years agoInitialize ipa_nirq in isascan(). Gets rid of spurious irq locators being
miod [Sun, 24 May 2015 15:25:34 +0000 (15:25 +0000)]
Initialize ipa_nirq in isascan(). Gets rid of spurious irq locators being
printed for isadma(4).

9 years agoadd the chromebook board id the exynos code uses
jsg [Sun, 24 May 2015 11:06:16 +0000 (11:06 +0000)]
add the chromebook board id the exynos code uses

9 years agoimx_board_devs -> exynos_board_devs
jsg [Sun, 24 May 2015 11:01:48 +0000 (11:01 +0000)]
imx_board_devs -> exynos_board_devs

9 years agoFollow the recent pckbc@isa changes and always establish all the necessary
miod [Sun, 24 May 2015 10:57:47 +0000 (10:57 +0000)]
Follow the recent pckbc@isa changes and always establish all the necessary
interrupts at pckbc attach time, and get rid of the `intr_establish'
pckbc callback.

Tested on hppa (gsckbc) and sgi (pckbc@hpc); not tested on sparc64 (pckbc@ebus)
but this attachment was already behaving this way and its intr_establish
callback was an empty function.

9 years agoAdd udl(4) and uvideo(4) to armv7 GENERIC. Tested on my sabre lite (imx).
matthieu [Sun, 24 May 2015 08:01:46 +0000 (08:01 +0000)]
Add udl(4) and uvideo(4) to armv7 GENERIC. Tested on my sabre lite (imx).
enable udl firmware and COMPAT_RAW_KBD to make udl useable with X.
ok jsg@

9 years agopass subst to the installer state, so that -Dunsigned would work
espie [Sun, 24 May 2015 07:53:14 +0000 (07:53 +0000)]
pass subst to the installer state, so that -Dunsigned would work

9 years agoTreat primary cpu like others and put pointer to its GDT in cpu_info.ci_gdt
guenther [Sun, 24 May 2015 01:01:49 +0000 (01:01 +0000)]
Treat primary cpu like others and put pointer to its GDT in cpu_info.ci_gdt

requested by and ok mlarkin@

9 years agobump to version 2.2
bcook [Sat, 23 May 2015 21:09:46 +0000 (21:09 +0000)]
bump to version 2.2

ok deraadt@

9 years agofix a memory leak in an error path
jsg [Sat, 23 May 2015 14:28:37 +0000 (14:28 +0000)]
fix a memory leak in an error path
ok markus@ dtucker@

9 years agofix a memory leak in an error path
jsg [Sat, 23 May 2015 14:26:06 +0000 (14:26 +0000)]
fix a memory leak in an error path

9 years agoPACKET_TAG_IPSEC_PENDING_TDB is gone, too.
markus [Sat, 23 May 2015 12:57:09 +0000 (12:57 +0000)]
PACKET_TAG_IPSEC_PENDING_TDB is gone, too.

9 years agoremove PACKET_TAG_IPSEC_PENDING_TDB, it is never set; ok mikeb@
markus [Sat, 23 May 2015 12:52:59 +0000 (12:52 +0000)]
remove PACKET_TAG_IPSEC_PENDING_TDB, it is never set; ok mikeb@

9 years agointroduce ipsec-id bundles and use them for ipsecflowinfo,
markus [Sat, 23 May 2015 12:38:53 +0000 (12:38 +0000)]
introduce ipsec-id bundles and use them for ipsecflowinfo,
fixes rekeying for l2tp/ipsec against multiple windows clients
and saves memory (for many SAs to same peers); feedback and ok mikeb@

9 years agouse & not && when testing lcr bits
jsg [Sat, 23 May 2015 12:08:14 +0000 (12:08 +0000)]
use & not && when testing lcr bits
tested by jmatthew
ok pirofti@ jmatthew@ jasper@

9 years agoCall if_input() instead of setting the "rcvif" pointer ourself.
mpi [Sat, 23 May 2015 08:32:12 +0000 (08:32 +0000)]
Call if_input() instead of setting the "rcvif" pointer ourself.

ok dlg@

9 years agoPass output packets to bpf(4). This is helpful when debugging stack
mpi [Sat, 23 May 2015 08:31:05 +0000 (08:31 +0000)]
Pass output packets to bpf(4).  This is helpful when debugging stack
issues.

ok reyk@

9 years agoCanonicalize all devices to DUIDs in order to make -w and -W output consistent.
guenther [Sat, 23 May 2015 05:17:20 +0000 (05:17 +0000)]
Canonicalize all devices to DUIDs in order to make -w and -W output consistent.

Based on diff from Manuel Giraud (manuel (at) ledu-giraud.fr)  Thanks!

9 years agodefine BYTEORDER so the endian tests will work
jsg [Sat, 23 May 2015 00:53:25 +0000 (00:53 +0000)]
define BYTEORDER so the endian tests will work
ok deraadt@ miod@

9 years agoAdd tests for relayd TLS inspection with plain SSL and HTTPS.
bluhm [Fri, 22 May 2015 19:09:18 +0000 (19:09 +0000)]
Add tests for relayd TLS inspection with plain SSL and HTTPS.

9 years agosync
deraadt [Fri, 22 May 2015 15:10:13 +0000 (15:10 +0000)]
sync

9 years agoCut down on if statements around pf_icmp_state_lookup
mikeb [Fri, 22 May 2015 14:18:55 +0000 (14:18 +0000)]
Cut down on if statements around pf_icmp_state_lookup

Checked with blambert@, OK millert, henning

9 years agoCleanup leftover PF_ICMP_MULTI_* code that is not needed anymore.
mikeb [Fri, 22 May 2015 14:16:09 +0000 (14:16 +0000)]
Cleanup leftover PF_ICMP_MULTI_* code that is not needed anymore.

ok henning

9 years agobe pedantic with sizeof use
jsg [Fri, 22 May 2015 13:48:25 +0000 (13:48 +0000)]
be pedantic with sizeof use
no change in behaviour as sizeof(char **) is the same as sizeof(char *)
ok otto@ guenther@

9 years agoDon't use an uninitialised softc pointer in midiread/midiwrite.
jsg [Fri, 22 May 2015 12:52:00 +0000 (12:52 +0000)]
Don't use an uninitialised softc pointer in midiread/midiwrite.
ok ratchov@

9 years agoLITTE_ENDIAN -> LITTLE_ENDIAN
jsg [Fri, 22 May 2015 12:46:38 +0000 (12:46 +0000)]
LITTE_ENDIAN -> LITTLE_ENDIAN
ok ratchov@

9 years agoLimit the number of dma segments used for transmitting packets to
kettenis [Fri, 22 May 2015 06:50:54 +0000 (06:50 +0000)]
Limit the number of dma segments used for transmitting packets to
IWM_NUM_OF_TBS - 2.  We have IWM_NUM_OF_TBS slots, but use two of those
for sending commands to the firmware.  Hopefully fixes the

  iwm0: hardware error, stopping device

errors I've seen somewhat regularly.

ok claudio@, deraadt@

9 years agomention ssh-keygen -E for comparing legacy MD5 fingerprints; bz#2332
djm [Fri, 22 May 2015 05:28:45 +0000 (05:28 +0000)]
mention ssh-keygen -E for comparing legacy MD5 fingerprints; bz#2332

9 years agoReorder EscapeChar option parsing to avoid a single-byte out-
djm [Fri, 22 May 2015 04:45:52 +0000 (04:45 +0000)]
Reorder EscapeChar option parsing to avoid a single-byte out-
of-bounds read. bz#2396 from Jaak Ristioja; ok dtucker@

9 years agoadd knob to relax GSSAPI host credential check for multihomed hosts
djm [Fri, 22 May 2015 03:50:02 +0000 (03:50 +0000)]
add knob to relax GSSAPI host credential check for multihomed hosts
bz#928, patch by Simon Wilkinson; ok dtucker
(kerberos/GSSAPI is not compiled by default on OpenBSD)

9 years agoUpdate DH groups
dtucker [Fri, 22 May 2015 02:45:42 +0000 (02:45 +0000)]
Update DH groups

9 years agoRemove 6k and 8k bit moduli fragments since they are now kept in
dtucker [Fri, 22 May 2015 02:43:59 +0000 (02:43 +0000)]
Remove 6k and 8k bit moduli fragments since they are now kept in
usr.bin/ssh/moduli-gen.

9 years agoUpdate DH groups
dtucker [Fri, 22 May 2015 02:34:53 +0000 (02:34 +0000)]
Update DH groups

9 years agosync
deraadt [Fri, 22 May 2015 01:48:21 +0000 (01:48 +0000)]
sync

9 years agosync
deraadt [Fri, 22 May 2015 01:46:31 +0000 (01:46 +0000)]
sync

9 years agofix a non safe use of TAILQ_FOREACH with TAILQ_REMOVE
jsg [Fri, 22 May 2015 01:34:13 +0000 (01:34 +0000)]
fix a non safe use of TAILQ_FOREACH with TAILQ_REMOVE
ok reyk@

9 years agofix a non safe use of LIST_FOREACH with LIST_REMOVE
jsg [Fri, 22 May 2015 01:30:27 +0000 (01:30 +0000)]
fix a non safe use of LIST_FOREACH with LIST_REMOVE
ok claudio@ kettenis@ reyk@

9 years agoUse m_defrag(9) instead of rolling our own version of it.
kettenis [Thu, 21 May 2015 22:13:55 +0000 (22:13 +0000)]
Use m_defrag(9) instead of rolling our own version of it.

ok jca@

9 years agosync
deraadt [Thu, 21 May 2015 22:00:36 +0000 (22:00 +0000)]
sync

9 years agoEstablish interrupts for both keyboard and mouse slots at pckbc attach time,
miod [Thu, 21 May 2015 19:32:29 +0000 (19:32 +0000)]
Establish interrupts for both keyboard and mouse slots at pckbc attach time,
rather than lazily from pckbc when slots are discovered. This is consistent
with what other isa devices (and pckbc on non-isa busses) do, and as a side
effect, this makes the dmesg output shorter.

This will also let us get rid of pckbc's intr_establish() callback in a
later diff.

Prompted by krw@ noticing ugly kernel output in a configuration with the
mouse slot left empty. ok krw@ mpi@

9 years agoReport all valid interrupt locators in isaprint() - although config(8) stanzas
miod [Thu, 21 May 2015 19:29:31 +0000 (19:29 +0000)]
Report all valid interrupt locators in isaprint() - although config(8) stanzas
only allow one irq for isa devices, there is actually support for more since
we got isapnp(4) support, and upcoming changes will actually have regular isa(4)
devices claim more than one irq in their indirect match function.

9 years agono such thing as mips64le
miod [Thu, 21 May 2015 19:26:34 +0000 (19:26 +0000)]
no such thing as mips64le

9 years agoSwitch amd64, hppa, mips64, mips64le and powerpc to binutils 2.17.
kettenis [Thu, 21 May 2015 19:13:59 +0000 (19:13 +0000)]
Switch amd64, hppa, mips64, mips64le and powerpc to binutils 2.17.

ok deraadt@

9 years agoNo need to call tzset() and log_init() in the forked constraint
reyk [Thu, 21 May 2015 14:24:43 +0000 (14:24 +0000)]
No need to call tzset() and log_init() in the forked constraint
handler.  It is run in a chroot, so tzset() wouldn't even succeed to
open the zone file.  Found with tame.

OK deraadt@