Age | Commit message (Collapse) | Author |
|
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@
|
|
creating sensors.
|
|
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.
|
|
|
|
|
|
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@
|
|
pointed out by Helg (xx404 (at) msn.com)
ok deraadt@ miod@
|
|
This should catch all the same bad cases, but be a little less aggravating
in circumstances where a prototype isn't necessary
ok deraadt
|
|
|
|
than the maximum DMA transfer size the PROM reports.
Crank version to 2.9.
|
|
transfers, so skip the check for such xfers for the moment.
Issue reported by Ingo Feinerer and fix confirmed by Jan Stary.
|
|
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.
|
|
a sun4 system - the prom i/o routines depend on it.
|
|
|
|
seen my mlarkin, ok miod
|
|
ok sthen@
|
|
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@
|
|
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@
|
|
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
|
|
and use this idiom everywhere, it is always safest.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
largely stolen from cas(4), but with a few tweaks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
joint work with djm@ and jsing@, who suggested stronger words warning people
away from single-DES.
ok djm@
|
|
|
|
2. The G flag is useless and never checked. Remove it.
ok millert
|
|
generations don't try to change any of the values and break the code.
ok deraadt
|
|
reflect that IPv6 link-local addresses are no longer automagically
configured the first time an interface is brought up.
ok henning@, stsp@
|
|
It seems no 64bit bus space support is forthcoming. Nothing
has happened in DragonflyBSD for several years and FreeBSD
has a different driver for 64bit chips called bwn(4).
ok mpi@ some time ago
|
|
------------------------------------------------------------------------
r192306 | imp | 2009-05-18 17:31:26 +0200 (Mon, 18 May 2009) | 10 lines
Fix a typo from the original driver. We need to write ctrl2 into RF
register 0x52, not ctrl1. This appears to be a mistake in the bcm
reverse engineering page, and has been corrected there. Tracing
through the code, this is more in keeping with the "documented"
register. Sephe thinks it looks interesting and may be worth
fixing. :)
Submitted by: ddkprog at yahoo com
Reviewed by: Sepherosa Ziehau
------------------------------------------------------------------------
r192042 | nwhitehorn | 2009-05-13 16:25:55 +0200 (Wed, 13 May 2009) | 4 lines
Add a short delay after programming PHY registers to give some time for
the engine to catch up. This prevents a machine check exception from
illegal memory requests with a BCM4318.
------------------------------------------------------------------------
No regressions observed by myself, miod@, and Vesa Norrman (vesbula at gmail).
|
|
Fix from Dennis Lindroos (denafcm (at) gmail.com)
|
|
unbreak config file address parsing
|
|
Match what parse.y expects it to return.
ok millert@
|
|
Match what parse.y expects it to return.
ok millert@
|
|
hanging off on a page by itself.
|
|
claims to support both RNDIS and CDC Ethernet. However, RNDIS doesn't seem
to work, at least not with our driver. So blacklist it here such that cdce(4)
takes over.
ok miod@, armani@ (both a while back)
|