Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-06 | Some archs used memset() rather than bzero(). So duplicate diff | Kenneth 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-06 | add WRKOBJDIR to default env_keep to help 'make fake' in ports. | Stuart Henderson | |
ok millert@ | |||
2007-10-06 | Use db_printf instead of printf, to prevent problems with locking | Mark Kettenis | |
kprintf_mutex in the early stages of booting. ok miod@ (a while ago) | |||
2007-10-06 | replace realloc/memset/pointer-arithmetic with recalloc; ok millert@ ray@ espie@ | Constantine A. Murenin | |
2007-10-06 | Another NPBFILTER comment typo. | Jonathan Gray | |
From Jung <moorang@gmail.com> | |||
2007-10-06 | Allow 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-06 | Provide <machine/lock.h> on hppa64 too. | Mark Kettenis | |
2007-10-06 | Simple single-processor only mutex implementation; cloned from hppa. | Mark Kettenis | |
2007-10-06 | NPBFILTER -> NBPFILTER in comments. | Jonathan Gray | |
ok kettenis@ | |||
2007-10-06 | From master repo: | Anders Magnusson | |
> Compalin if user is applying sizeof to bitfield, from Stefan Kempf. | |||
2007-10-06 | Remove unused variable. | Mark Kettenis | |
2007-10-06 | From 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-06 | replace abort() by return (-1) | Charles Longeau | |
from ray@ suggestion "looks good" ray@ | |||
2007-10-06 | Oops, committed this with a typo, which made it do not quite the right thing. | Mark Kettenis | |
2007-10-06 | finish loop as soon as the ldconfig search directories have been found. | Steven Mestdagh | |
ok espie@ | |||
2007-10-06 | Rename bus_space macros. ISA_GET/PUT -> CSR_READ/WRITE | Brad Smith | |
Tested by todd@ ok dlg@ | |||
2007-10-06 | sync | Theo de Raadt | |
2007-10-06 | Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. | Kenneth R Westerback | |
2007-10-05 | gilles missed one of the __attribute__((__packed__)) here in | Jonathan Gray | |
the __attribute__((__packed__)) -> __packed conversion. | |||
2007-10-05 | add a 2.5 Gbps fiber media type. | Brad Smith | |
From FreeBSD ok claudio@ dlg@ | |||
2007-10-05 | strcspn() change | Gilles Chehade | |
was okay'd by pyr@ and ok by millert@ | |||
2007-10-05 | typo | Otto Moerbeek | |
2007-10-05 | stylistic changes in the relay/relay_config structure. | Reyk Floeter | |
2007-10-05 | basic tests now work, including those that should fail | Otto Moerbeek | |
2007-10-05 | typo | Otto Moerbeek | |
2007-10-05 | work in obj dir | Otto Moerbeek | |
2007-10-05 | more regress scaffolding | Otto Moerbeek | |
2007-10-05 | MALLOC/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-05 | fix by actually using pcc | Otto Moerbeek | |
2007-10-05 | From 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-05 | cast to an int | Reyk Floeter | |
2007-10-05 | using an enum in the imsg_hdr is gross, use a fixed u_int16_t instead | Reyk Floeter | |
2007-10-05 | unbreak non-SSL relays by calling the ssl context init only if the SSL | Reyk Floeter | |
flag is present... | |||
2007-10-05 | check if it's really a newline before removing it | Charles Longeau | |
with the help of ray@ "Looks OK" millert@ | |||
2007-10-05 | use 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-05 | use strcspn to properly overwrite '\n' in fgets returned buffer | Charles 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-05 | check fgets return value | Charles Longeau | |
use strncmp instead of strcmp with help of ray@ "Looks OK" millert@ | |||
2007-10-05 | optimize a "not so bright" piece of code. Reduces compilation time on my | Otto Moerbeek | |
evil test case from > 3m to < 1s. ok ragge@ | |||
2007-10-05 | Disable fiber/copper auto-selection on the 88E1111 if it is in RGMII mode, to | Mark 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-05 | The Acer TravelMate 3010 (ALC883) has a couple of gpio pins that need | Deanna 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-04 | attribute packed -> __packed | Gilles Chehade | |
ok miod@ a while ago, ok pyr@ | |||
2007-10-04 | attribute packed -> __packed | Gilles Chehade | |
okayd by miod a while ago, ok by pyr | |||
2007-10-04 | Add patch to solve false errors from enums. | Otto Moerbeek | |
XXX - enums should be revisited someday. | |||
2007-10-04 | update to tzdata2007h from elsie.nci.nih.gov | Todd C. Miller | |
2007-10-04 | update to tzcode2007h from elsie.nci.nih.gov | Todd C. Miller | |
2007-10-04 | Handle CARP for IPv6. Reported and tested by todd@ | Can Erkin Acar | |
ok todd@, henning@ | |||
2007-10-04 | Import the bwi single firmware-file builder / extractor before we forget | Marcus Glocker | |
about it. It's not linked into microcode/Makefile. OK deraadt@ | |||
2007-10-04 | when inserting blackhole or reject routes, set the gateway address to | Henning 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-04 | only init screen when in interactive mode; ok ray@ | Otto Moerbeek | |