summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2007-10-03Clarifications about the interaction of bridge and PF.Stuart Henderson
From Geoff Steckel with a few changes "please commit it (if no one objects)" jmc, "yes" henning
2007-10-03nullproc() is used in more than one file.Tobias Weingartner
millert@ ok
2007-10-03Nuke MSDOS portion. Add <unistd.h> for STDERR_FILENO in theTobias Weingartner
generated files. "Yes, with extreme prejudice." millert@
2007-10-03Some -Wall cleanup to help fix other bugs.Tobias Weingartner
ok krw@
2007-10-03reset the default branch early on so rcs_head_get() does not screw us upJoris Vink
and returns a possibly wrong revision as 'current revision'. noticed by tobias@ his regress testing
2007-10-03MALLOC+bzero -> malloc+M_ZERO.Kenneth R Westerback
In ip_esp.c all allocated memory is now zero'd in the "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not initialized by the bzero() call. Noticed by chl@. "Looks good" art@ "seems ok" chl@
2007-10-03pull from ragge's repo:Otto Moerbeek
#include and obscure name clash fix. From From Laurent Desnogues.
2007-10-03pull form ragge's repo:Otto Moerbeek
Pass -g onto linker. From Laurent Desnogues.
2007-10-03pull from ragge's repo: man page diffs from Igor SobradoOtto Moerbeek
2007-10-03On i386, use PCB_SAVECTX flags to distinguish between state saved by a normalMark Kettenis
context switch, and state saved by savectx(). This makes backtraces from kernel crash dumps work much better.
2007-10-03Add pcb_flags member to 'struct pcb', and set PCB_SAVECTX on contexts savedMark Kettenis
by savectx(). ok art@, miod@
2007-10-02stop messing with lgetc to please hoststated's check/expect.Pierre-Yves Ritschard
instead move some of the logic in yylex and do hoststated specific translations into hoststated.c ok gilles@