summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-06Some archs used memset() rather than bzero(). So duplicate diffKenneth R Westerback
previously applied to other archs deleting a memset() this time. e.g. - if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - memset(mapstore, 0, mapsize);
2007-10-06add WRKOBJDIR to default env_keep to help 'make fake' in ports.Stuart Henderson
ok millert@
2007-10-06Use db_printf instead of printf, to prevent problems with lockingMark Kettenis
kprintf_mutex in the early stages of booting. ok miod@ (a while ago)
2007-10-06replace realloc/memset/pointer-arithmetic with recalloc; ok millert@ ray@ espie@Constantine A. Murenin
2007-10-06Another NPBFILTER comment typo.Jonathan Gray
From Jung <moorang@gmail.com>
2007-10-06Allow the various pf table actions to operate independently. For example,Chris Kuethe
"-L leased" wouldn't work without "-A abandoned". testing help from merdely "i like" deraadt
2007-10-06Provide <machine/lock.h> on hppa64 too.Mark Kettenis
2007-10-06Simple single-processor only mutex implementation; cloned from hppa.Mark Kettenis
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