summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-26Use if_output() instead of rerolling it.mpi2-39/+6
ok stsp@
2015-05-26Create aliases.db from the installed aliases file, so we get the correctnaddy1-2/+2
owner and group. Reported by Mark Patruck. ok deraadt@ miod@
2015-05-26bump the number of tx and rx descriptors from 128 up to 512.dlg1-3/+3
2015-05-26Store the IP address of the corresponding ifa in the rt_gateway fieldmpi4-18/+21
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@
2015-05-26Normalize route destination before checking for MPATH conflicts.mpi1-14/+18
This makes rt_mpath_conflict() work as expected when adding routes with the same destination and the same netmask. With and ok claudio@
2015-05-26Do not create ARP entries for RTF_BROADCAST routes.mpi1-15/+3
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@
2015-05-26Now that the Ethernet header is always passed as part of the mbuf, killmpi6-29/+21
the second (unused) argument of the input packet handlers. ok dlg@
2015-05-26move add_net_randomness from ether_input to the if_input task.dlg4-15/+8
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@
2015-05-26More than 100+ drivers converted to if_input(), this is the last "real" one.mpi1-106/+11
ok dlg@
2015-05-26syncjsg1-0/+25
2015-05-26include the firmware for usb devices on the armv7 ramdiskjsg1-1/+23
2015-05-26Add OPENSSL_NO_EGD to opensslfeatures.h.bcook2-0/+2
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@
2015-05-26make vlans inherit their parents hardmtu as well as mtu.dlg1-10/+10
from brad@ and tested locally.
2015-05-26Build all the firmware for usb devices on armv7.jsg5-11/+15
2015-05-26Sync usb devices with amd64.jsg2-86/+117
Prompted by djm noticing uslcom(4) was not included.
2015-05-26build wsconsctl and wsconscfg on armv7jsg2-4/+4
2015-05-25fix panic for real and revert previous rev 1.52benno1-6/+6
from markus@ sorry for the mixup
2015-05-25Kill outdated comment.jca1-2/+2
ok eric@
2015-05-25Make SSL_CIPHER_get_bits() report ChaCha20-Poly1305 ciphers as usingguenther2-8/+8
256bit keys problem noted by Tim Kuijsten (info (at) netsend.nl) ok deraadt@ miod@ bcook@
2015-05-25Skip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.eric2-4/+13
prodded by Brad ok jca@
2015-05-25bump up the default Diffie-Hellman group to modp3072; ok mikeb@ djm@naddy2-6/+6
2015-05-25getnameinfo(3) doesn't need to initialize the resolver when it's only usederic1-1/+150
for address/port formatting (e.g. NI_NUMERICHOST). ok deraadt@ jca@
2015-05-25fix a panic in import_identities() in case the ID isnt loadedbenno1-3/+5
(triggered by bgpd). ok marku@s, mikeb@
2015-05-25Initialize ipa_ndrq in isascan() too...miod1-1/+2
2015-05-25Match newer elantech v4 touchpads, logic taken from Linux.mpi1-2/+2
Based on a submission from and ok jcs@.
2015-05-25only scan sensors if they are configuredderaadt1-16/+18
ok bcook
2015-05-25Port the ELF m88k work to binutils 2.17. Good enough to build a bootingmiod18-29/+4696
kernel, and hopefully userland as well.
2015-05-25sortderaadt1-3/+4
2015-05-25Make this build when using the __STRICT_ALIGNMENT version of USETW.jsg1-2/+2
2015-05-25vax ELF bits for binutils 2.17.miod8-3/+17
2015-05-25Convert from ether_input() with separate mbuf data and Ethernet header, tomiod1-148/+54
if_input(). Based upon an initial diff from mpi@, and then painfully made STRICT_ALIGNMENT-compliant. Tested on 4/260. ok mpi@
2015-05-25Change ENTRY to __start to match binutils 2.15, needed for static PIEmiod2-1/+2
2015-05-25Prevent a use after free in by closing all open endpoints upon detach.mpi1-14/+30
Fix a panic reported by landry@ with Android's ADB. Tested and ok ajacoutot@
2015-05-25allow pkg_add as nonroot to soft-fail when outside of local base.espie2-9/+42
2015-05-25a dreaded whitespace; Kyle Milzderaadt1-2/+2
2015-05-25missing word in comment; Kyle Milzderaadt1-2/+2
2015-05-25Teach binutils the {rd,wr}{fs,gs}base instructions.guenther3-18/+28
Flag bits worked out with kettenis@ ok mlarkin@
2015-05-24add missing 'c' option to getopt(), case statement was alreadydjm1-2/+3
there; from Felix Bolte
2015-05-24Maximilian dot Fillinger at uni-duesseldorf dot deschwarze3-74/+109
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.
2015-05-24Initialize ipa_nirq in isascan(). Gets rid of spurious irq locators beingmiod1-1/+2
printed for isadma(4).
2015-05-24add the chromebook board id the exynos code usesjsg1-1/+2
2015-05-24imx_board_devs -> exynos_board_devsjsg1-2/+2
2015-05-24Follow the recent pckbc@isa changes and always establish all the necessarymiod6-79/+21
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.
2015-05-24Add udl(4) and uvideo(4) to armv7 GENERIC. Tested on my sabre lite (imx).matthieu2-3/+11
enable udl firmware and COMPAT_RAW_KBD to make udl useable with X. ok jsg@
2015-05-24pass subst to the installer state, so that -Dunsigned would workespie1-1/+2
2015-05-24Treat primary cpu like others and put pointer to its GDT in cpu_info.ci_gdtguenther3-14/+12
requested by and ok mlarkin@
2015-05-23bump to version 2.2bcook2-4/+4
ok deraadt@
2015-05-23fix a memory leak in an error pathjsg1-1/+2
ok markus@ dtucker@
2015-05-23fix a memory leak in an error pathjsg1-1/+2
2015-05-23PACKET_TAG_IPSEC_PENDING_TDB is gone, too.markus1-10/+3