summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-12Parse and ignore the C font family in \f escapes.Ingo Schwarze
Helps with some real-world manuals that (incorrectly) assume that the C font family means "constant width". Suggested by Andreas Vogele, patch by kristaps@.
2011-11-12fix function names in fatalx() messagesCamiel Dobbelaar
ok mikeb
2011-11-12Unbreak tree after kettenis's sanitization in pcidevsPhilip Guenthe
ok krw@
2011-11-12- add avr32 which'll use gcc4/binutils-2.17Jasper Lievisse Adriaanse
- remove BINUTILS217_ARCH from Makefile.cross as bsd.own.mk is included there (requested by drahn@) ok drahn@ deraadt@
2011-11-12Satisfy -Wbounded.Paul Irofti
Patch gyped from nicm@'s and jasper@'s work on the gdb port.
2011-11-12Unscrew the cross-gcc build after the bounds warning addition.Paul Irofti
Pointed out by sthen@, LGTM jsing@.
2011-11-12Zero option processing stack storage to prevent stack garbage thatKenneth R Westerback
happens to look like options from being processed as options when truncated packets received. Potential problem pointed out by mikeb@, from a couple of NIST reports (CVE-2011-2748 and CVE-2011-2749).
2011-11-12Fix a commentClaudio Jeker
From Abel Abraham Camarillo Ojeda, reminded by Brad.
2011-11-12regenMark Kettenis
2011-11-12Sanitize NVIDIA SATA/AHCI/RAID IDs. Not all of these have been seen in theMark Kettenis
wild, but there is an obvious pattern. Fix a typo in one of the NVIDIA USB Ids while there. ok mikeb@ (a while ago)
2011-11-12sync to pcre 8.20Robert Nagy
2011-11-12update to 1.0.9Robert Nagy
2011-11-12update currency exchange rates;Jason McIntyre
2011-11-11A zero-length partition is a non-partition, so reject a partitionKenneth R Westerback
length of 0. And anyway PRT_fix_CHS() writes garbage when length is zero. Refresh the in-memory copy to reflect any data that was written out, so you can see that your changes have taken effect. Surprise behaviours noted by matthew@ at c2k11.
2011-11-11Remove a bogus check which dereferences an uninitialised pointer.Joel Sing
From Pedro Martelletto. ok krw@ mikeb@
2011-11-11When rebuilding check the size of the replacement chunk against theJoel Sing
coerced size rather than the physical size of another chunk.
2011-11-11hppa64 uses binutils 2.17.Joel Sing
ok kettenis@
2011-11-11Remove unused sv_sensor_valid variable.Joel Sing
2011-11-11When setting up a bootable softraid volume, do not try to save the bootJoel Sing
blocks or boot loader to chunks that are not online. ok mikeb@
2011-11-11Allow 64bit -> arm cross compilation as it appears safe (amd64 -> arm at least)Dale Rahn
include bsd.own.mk to get the correct compiler architectures (if only Makefile.cross is used)
2011-11-11Re-add overro board support. ok drahn@Matthieu Herrb
2011-11-11regenGleydson Soares
2011-11-11add support for HUAWEI Mobile E173sGleydson Soares
tested by me ok jsg@ sthen@ jmc@
2011-11-10Assert copyright; spotted by drahn@Uwe Stuehler
2011-11-10Missing UART irqs.Dale Rahn
2011-11-10Eliminate more useless differences between hppa and hppa64Theo de Raadt
2011-11-10setting COM_FREQ here is very wrongTheo de Raadt
2011-11-10Missing interrupts on gpio.Dale Rahn
2011-11-10mindless unification with hppa64; remove meaningless differences beforeTheo de Raadt
attacking the complicated stuff
2011-11-10Reduce autoconf(4) overuse on beagleUwe Stuehler
Renamed `ahb' to `omap' and extended it to configure the on-chip devices directly, based a board-specific table instead of trying to maintain addresses, interrupt numbers and such for two OMAP variants in the same config file. This may be an intermediate step, but should provide us some relief already. :) Suggestions from deraadt and drahn; ok drahn@
2011-11-10Recognize a few more v6 and v7 instructions.Miod Vallat
2011-11-10Use STDIN_FILENO instead of magic constant 0Charles Longeau
ok gilles@
2011-11-10Remove unused %s from a printf(), properly cast const void* to constKenneth R Westerback
int*. From Marco Trillo via tech@ long ago.
2011-11-10Fix bug where 'now' recomputation was incorrect,Dale Rahn
do not bother subtracting the old 'now' from the 64bit counters to determine which was sooner, add event counters for the clock/stat Do not have timers unless debugging the driver. Switch statclock to multiple of hz;
2011-11-10Fixed config_pending calls in sdmmc(4)Uwe Stuehler
Root on SD/MMC card did not work reliably because the config_pending state was cleared too early. This change will clear config_pending only after the card discovery has actually completed once. ok deraadt@ drahn@
2011-11-10Death to inappropriate whitespace. First one pointed out by Brad.Kenneth R Westerback
2011-11-10Deal with the register offset on omap4430 where the registers moved by 0x100.Dale Rahn
2011-11-10Add gumstix overo support. It's very similar to be beagleboard at thisMatthieu Herrb
point. So add it's card id and handle it like the beagleboard. ok drahn@, miod@
2011-11-09List some devices now supported by cdce(4).Stuart Henderson
2011-11-09Add support for UISUBCLASS_MOBILE_DIRECT_LINE_MODEL to cdce(4).Stuart Henderson
This is available with at least Ericsson-derived HSPA cards (e.g. Dell 5530/5540) and provides a nice alternative to using them in ppp mode. From Rivo Nurges (rix at estpak ee), ok jsg@
2011-11-09Change fork1() and kthread_create() to match the rest of the treePhilip Guenthe
and use curp vs p instead of p1 vs p2. Add curpr and pr variables for the respective struct processes. Make sigactsshare() return the shared sigacts intead of taking the struct proc to update. ok deraadt@
2011-11-09Add the __cerror asm bits for per-thread errno support for powerpc.Mark Kettenis
ok guenther@
2011-11-09Add magic to use %r2 as the userland thread register.Mark Kettenis
ok guenther@
2011-11-09getcwd() buffer's length can be smaller than 1024. In that case it willFederico G. Schwindt
fail with errno set to ERANGE if not enough room is provided. Similar for getlogin_r() so remove minbytes enforcement attribute. ok kettenis@ guenther@ deraadt@ on getcwd, deraadt@ on getlogin_r.
2011-11-09openbsd will never support __ARMEB__, so remove it hereJasper Lievisse Adriaanse
ok deraadt@
2011-11-09If directly open /dev/wskbdX, then wskbdX be removed from mux wskbd,Alexandr Shadchin
but if close wskbdX, wskbdX not returned to mux. Fix it. ok miod@
2011-11-09Auto-repeat keys in WSKBD_RAW mode is not needed.Alexandr Shadchin
WSKBD_RAW mode used in X, but X independently implements auto-repeat keys. ok miod@
2011-11-09State expire time is a baseline time ("last active") for expiryCamiel Dobbelaar
calculations, and does _not_ denote the time when to expire. So it should never be added to (set into the future). Try to reconstruct it with an educated guess on state import and just set it to the current time on state updates. This fixes a problem on pfsync listeners where the expiry time could be double the expected value and cause a lot more states to linger. Timeout code from mikeb. Found and testing by Maxim Bourmistrov. ok mikeb dlg
2011-11-09Fix manual wfi instruction encoding.Miod Vallat
2011-11-09Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.Nicholas Marriott