summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-06NPBFILTER -> NBPFILTER in comments.Jonathan Gray
ok kettenis@
2007-10-06From master repo:Anders Magnusson
> Compalin if user is applying sizeof to bitfield, from Stefan Kempf.
2007-10-06Remove unused variable.Mark Kettenis
2007-10-06From master repo:Anders Magnusson
> Do not try to branch-optimize pointer comparisions, found by Otto M.
2007-10-06_Bool is also a type, don't discrimnate against it; ok ragge@Otto Moerbeek
2007-10-06replace abort() by return (-1)Charles Longeau
from ray@ suggestion "looks good" ray@
2007-10-06Oops, committed this with a typo, which made it do not quite the right thing.Mark Kettenis
2007-10-06finish loop as soon as the ldconfig search directories have been found.Steven Mestdagh
ok espie@
2007-10-06Rename bus_space macros. ISA_GET/PUT -> CSR_READ/WRITEBrad Smith
Tested by todd@ ok dlg@
2007-10-06syncTheo de Raadt
2007-10-06Oops. Forgot to do FREE -> free when I did MALLOC -> malloc.Kenneth R Westerback
2007-10-05gilles missed one of the __attribute__((__packed__)) here inJonathan Gray
the __attribute__((__packed__)) -> __packed conversion.
2007-10-05add a 2.5 Gbps fiber media type.Brad Smith
From FreeBSD ok claudio@ dlg@
2007-10-05strcspn() changeGilles Chehade
was okay'd by pyr@ and ok by millert@
2007-10-05typoOtto Moerbeek
2007-10-05stylistic changes in the relay/relay_config structure.Reyk Floeter
2007-10-05basic tests now work, including those that should failOtto Moerbeek
2007-10-05typoOtto Moerbeek
2007-10-05work in obj dirOtto Moerbeek
2007-10-05more regress scaffoldingOtto Moerbeek
2007-10-05MALLOC/FREE -> malloc/free + M_ZERO.Thordur I. Bjornsson
As a side effect, this probably fixes PR5596, if the allocation of dh_hash succeeds and the dh_blkfree fails, we jump into the fail case, but we haven't initialized dh_hash properly, that is filling the array with memory from the dirhash pool, but the != NULL check holds, since the memory hasn't been zeroed and so we start pool_put()'ing, causing the crash in PR5596. PR5596 debugging by pedro. ok art@, krw@
2007-10-05fix by actually using pccOtto Moerbeek
2007-10-05From master repository log:Anders Magnusson
Do not optimize away a cast if constant too large for target type. Should remove branch but need to check for side effects in that case. Also correct possible incorrect min constant.
2007-10-05cast to an intReyk Floeter
2007-10-05using an enum in the imsg_hdr is gross, use a fixed u_int16_t insteadReyk Floeter
2007-10-05unbreak non-SSL relays by calling the ssl context init only if the SSLReyk Floeter
flag is present...
2007-10-05check if it's really a newline before removing itCharles Longeau
with the help of ray@ "Looks OK" millert@
2007-10-05use strcspn instead of strchr to properly overwrite '\n' in fgets returned ↵Charles Longeau
buffer check if the first byte is NUL instead of invoking strlen() with help of ray@ "Looks OK" millert@
2007-10-05use strcspn to properly overwrite '\n' in fgets returned bufferCharles Longeau
check fgets return value use sizeof (buf) instead of hardcoded value with help of moritz@ and ray@ "Those seem OK" moritz@ "OK" ray@ "Looks OK" millert@
2007-10-05check fgets return valueCharles Longeau
use strncmp instead of strcmp with help of ray@ "Looks OK" millert@
2007-10-05optimize a "not so bright" piece of code. Reduces compilation time on myOtto Moerbeek
evil test case from > 3m to < 1s. ok ragge@
2007-10-05Disable fiber/copper auto-selection on the 88E1111 if it is in RGMII mode, toMark Kettenis
work around the fact that the onboard PHYs attached to nfe(4) on the Sun X4100 M2 have fiber/copper auto-selection enabled even though the interfaces are clearly copper-only. Fixes PR system/5587. ok jsg@, claudio@
2007-10-05The Acer TravelMate 3010 (ALC883) has a couple of gpio pins that needDeanna Phillips
to be enabled in order for it to produce sound. It can use the same gpio function as the macs, so rename that to azalia_gpio_unmute. Tested by damien@, no regressions noticed by jakemsr@
2007-10-04attribute packed -> __packedGilles Chehade
ok miod@ a while ago, ok pyr@
2007-10-04attribute packed -> __packedGilles Chehade
okayd by miod a while ago, ok by pyr
2007-10-04Add patch to solve false errors from enums.Otto Moerbeek
XXX - enums should be revisited someday.
2007-10-04update to tzdata2007h from elsie.nci.nih.govTodd C. Miller
2007-10-04update to tzcode2007h from elsie.nci.nih.govTodd C. Miller
2007-10-04Handle CARP for IPv6. Reported and tested by todd@Can Erkin Acar
ok todd@, henning@
2007-10-04Import the bwi single firmware-file builder / extractor before we forgetMarcus Glocker
about it. It's not linked into microcode/Makefile. OK deraadt@
2007-10-04when inserting blackhole or reject routes, set the gateway address toHenning Brauer
127.0.0.1 / ::1 unconditioally, since RTF_BLACKHOLE/REJECT are not actually checked in the forwarding path and the gw doesn't matter otherwise. makes them work.. found teh hard way by me. claudio ok
2007-10-04only init screen when in interactive mode; ok ray@Otto Moerbeek
2007-10-04strncpy -> strlcpyGilles Chehade
ok ragge
2007-10-04fix indentation on options parsingGilles Chehade
ok otto and ragge
2007-10-04fix evil 64-bit bug: if we're using longs for bitsets 1 << shift willOtto Moerbeek
be undefined if shift > 31. Makes ccom work much better on 64-bit archs.
2007-10-04void functions should not return valueOtto Moerbeek
2007-10-04Since we know the firmware load works, merge the single firmware filesMarcus Glocker
together to one single, finally. You need to bump the firmware package to version 1.3! OK jsg@
2007-10-04g/c ETHER_CRC_LEN.Brad Smith
ok dlg@
2007-10-04Remove renaming of fields with #define.Brad Smith
Tested by jmc@ ok dlg@
2007-10-03add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and theJacob Meuser
data structure these ioctls use, audio_bufinfo. these ioctls return information about the play and record buffers into the audio_bufinfo structure. these are being added to aid in porting non-native audio applications and libraries, and to fix issues in our OSS audio emulation. these ioctls exist only on OpenBSD and should not be used in code intended for distribution. ok ratchov