summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure the given user exists.ajacoutot2015-01-121-1/+5
| | | | | "I like it" sthen@ ok robert@
* Use proper casts for ctype functions. This is already fixed in nsdmillert2015-01-1211-54/+52
| | | | trunk. OK doug@
* free->sshkey_free; ok djm@markus2015-01-121-2/+2
|
* Kill the global list of IPv4 addresses.mpi2015-01-123-61/+67
| | | | ok claudio@, mikeb@, bluhm@
* Make it possible to reset "timeout" to the default value.ajacoutot2015-01-121-7/+6
|
* "timeout" must be a positive integer.ajacoutot2015-01-121-2/+2
|
* allow WITH_OPENSSL w/o WITH_SSH1; ok djm@markus2015-01-121-3/+7
|
* regenjsg2015-01-122-26/+76
|
* add some E5 v3 PCIE and Bay Trail idsjsg2015-01-121-17/+27
|
* fatal if soft-PKCS11 library is missing rather (rather than continuedjm2015-01-121-1/+3
| | | | and fail with a more cryptic error)
* Don't forget about protocol specification when configuring flows.mikeb2015-01-121-1/+3
| | | | Tested by and OK claudio.
* let this test all supporte key types; pointed out/ok markus@djm2015-01-121-2/+2
|
* When setting up advanced TX descriptor use m_getptr to locate the IPmikeb2015-01-121-4/+18
| | | | | | | | or IPv6 header instead of assuming contiguousness of the target buffer across Ethernet and IP/IPv6 headers. Tested by Kapetanakis Giannis <bilias at edu ! physics ! uoc ! gr>, thanks! Problem analysis and initial diff by dlg@.
* Add a note that HOST_NAME_MAX does not include a terminating \0, unlikenicm2015-01-121-2/+9
| | | | | | MAXHOSTNAMELEN. ok deraadt guenther
* pretty up some malloc() callsderaadt2015-01-121-3/+4
|
* hibernate_suspend() should not pmap_kremove by itself; hibernate_free()deraadt2015-01-121-9/+4
| | | | | | must do that. otherwise, pmap_kremove is called twice. i386 in particular does not tolerate that, found by sebastia ok mlarkin kettenis
* Some fixes and tidying up of the receive filter handling bits.brad2015-01-121-10/+5
|
* rename blocks to words. bcrypt "blocks" are unrelated to blowfish blocks,tedu2015-01-122-15/+15
| | | | nor are they the same size.
* Fix a memory leak in bss_dgram.doug2015-01-122-6/+26
| | | | | | | | Free data->saved_message.data. Based on OpenSSL commit: 41cd41c4416f545a18ead37e09e437c75fa07c95 except this version sets a->ptr to NULL to avoid accidental reuse and handles malloc failing. ok beck@, input + ok miod@
* stash the softc in the memory allocated for setting up a task fordlg2015-01-121-9/+14
| | | | creating sensors.
* replace fw_update (shell script) with a specialized version of pkg_add.espie2015-01-113-5/+97
| | | | | | | This has numerous advantages, in terms of speed and control. Initial version should be (mostly) identical to the old one. thanks to rpe@ and sthen@ for tests.
* Remove orphaned defines.miod2015-01-111-6/+1
|
* No more etc set, also sparc nowadays needs more than 16MB to boot multiuser.miod2015-01-118-30/+28
|
* Tolerate checksum errors in ACPI tables (but complain about them). Apparentlykettenis2015-01-111-5/+5
| | | | | | | | there are machines out there with broken BIOSen with such checksum errors in thier RSDT tables. Windows runs fine on these machines, so it probably does not check. Linux ignores checksum errors as well (and prints a warning). ok deraadt@, krw@
* LOCKDEBUG is dead; perform the funeral ritesguenther2015-01-113-16/+7
| | | | | pointed out by Helg (xx404 (at) msn.com) ok deraadt@ miod@
* switch prototype warnings to implicit-declaration warnings.tedu2015-01-1120-40/+40
| | | | | | This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt
* revert two latest commits until a crash is fixedgilles2015-01-111-23/+17
|
* When using sun4 PROM I/O routines, make sure we never attempt to transfer moremiod2015-01-112-17/+49
| | | | | | than the maximum DMA transfer size the PROM reports. Crank version to 2.9.
* There's no simple way so check for DMA buffer overrun with isochronousmpi2015-01-111-2/+2
| | | | | | transfers, so skip the check for such xfers for the moment. Issue reported by Ingo Feinerer and fix confirmed by Jan Stary.
* Use the softc-specific function pointers for bcopy() and bzero() in iestart(),miod2015-01-111-3/+3
| | | | | instead of, well, bcopy and bzero. This lets ie@vme transmit packets instead of panicing due to memset() trying to use 32-bit stores on a device address.
* Make sure to initialize nbpg to a sensible value in bootxx, when running onmiod2015-01-111-13/+6
| | | | a sun4 system - the prom i/o routines depend on it.
* Unbreak sun4miod2015-01-111-2/+2
|
* global "list" is not the nicest variable namederaadt2015-01-111-8/+8
| | | | seen my mlarkin, ok miod
* add/fix/extend entries of exUSSR airports I've been to.kirby2015-01-111-9/+21
| | | | ok sthen@
* unbreak the delivery_filename backend, now that it no longer prepends thegilles2015-01-111-3/+10
| | | | | | | From separator line but gets it injected in its iobuf by the mda process, we need to make sure not to escape the first 'From ' we receive. spotted by deraadt@
* armv6 introduced opcodes for reversing words in registers. we candlg2015-01-111-1/+46
| | | | | | | | | | use these on armv7 as a backend for byteswapping things that endian.h provide. i dunno if its faster, but it makes smaller code. saves 30k on GENERIC-OMAP. ok jsing@ bmercer@ jsg@
* correctly use HOST_NAME_MAX.deraadt2015-01-112-5/+5
| | | | | | | | | | | | | | | | | Some notes: POSIX HOST_NAME_MAX doesn't include the NUL. POSIX LOGIN_NAME_MAX and TTY_NAME_MAX do include the NUL. BSD MAXHOSTNAMELEN includes the NUL. Actually, most of the historical BSD MAX* defines did include the NUL, except for the historical mistake of utmp fields without NULs in the string, which directly led to strncpy.. just showing how error prone this kind of accounting is. CSRG did right. Somehow POSIX missed the memo on the concepts of carefulness and consistancy, and we are still paying the price when people trip over this. Of course, glibc is even more amazing (that is a hint to blackhats) ok guenther
* use mallocarray(), then set the size afterwards. Prefer if people learnderaadt2015-01-111-4/+5
| | | | and use this idiom everywhere, it is always safest.
* use mallocarray()deraadt2015-01-111-2/+2
|
* mallocarray() for the rx_buffer memoryderaadt2015-01-111-4/+5
|
* Casting a gid_t to gid_t for a gid_t argument is overkillguenther2015-01-112-4/+4
|
* use mallocarray() when reallocating the mux tablederaadt2015-01-111-3/+3
|
* KUE_MCFILTCNT() is non-constant, so use mallocarray()deraadt2015-01-111-2/+2
|
* unnecessary castderaadt2015-01-111-2/+2
|
* sncderaadt2015-01-111-0/+1
|
* Get the MAC address from the PCI ROM on systems without Open Firmware. Codekettenis2015-01-101-3/+141
| | | | largely stolen from cas(4), but with a few tweaks.
* Bye, bye simple_lock.kettenis2015-01-101-44/+1
|
* Disable (most) interrupts when the interface goes down.kettenis2015-01-101-1/+6
|
* Enable nep(4).kettenis2015-01-101-1/+2
|
* Hook up nep(4).kettenis2015-01-102-4/+6
|