summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-11-09syncTheo de Raadt
2011-11-09Oh yeah, with TLS-lite we can get the thread handle without walking thePhilip Guenthe
thread list reminded by dhill@
2011-11-09Missing argument to error printf()Miod Vallat
2011-11-09In pmap_remove(), don't forget to do tlb flushes even in the !pmap_cachevivtMiod Vallat
case. ok drahn@
2011-11-09Use the new priority as the priority to check against,Dale Rahn
not the current (not yet lowered) priority. problem spotted by miod.
2011-11-09External ampintc interrupts need to add 32 to the interrupt number,Dale Rahn
while 'internal' should not. no complaints uwe@ miod@
2011-11-08Regress for -z initfirst supportPhilip Guenthe
2011-11-08ld.so initfirst regress testPhilip Guenthe
2011-11-08Cookies? Beagle don't need no stinkin' cookies. To get boot paramsKenneth R Westerback
anyways. ok (sight unseen) deraadt@ drahn@
2011-11-08Make the userland bits actually compile.Mark Kettenis
ok guenther@
2011-11-08Let beagle GENERIC work as 'swap generic'.Kenneth R Westerback
ok deraadt@ drahn@
2011-11-08Now that the code is well tested, don't ask the firmware questionTheo de Raadt
anymore. Saves 141 precious bytes on the inside of the media. ok krw
2011-11-08consistant "config bsd" lines; ok miodTheo de Raadt
2011-11-08Fixup skip step printout: rdomains come after direction; ok mcbride, henningMike Belopuhov
2011-11-08Garbage collect now unused MKDEP definitions. ok deraadt@Matthieu Herrb
2011-11-08Make __svfscanf() the unlocked, core of vfscanf() and use it inPhilip Guenthe
sscanf()/vsscanf() where locking is unnecessary. ok millert@
2011-11-08ncr53c9x (a.k.a. esp on sparc64) does not like 16-byte SCSI commandsKenneth R Westerback
such as READ_CAPACITY_16. So plugging SCSI-3 devices onto such a bus can be problematic. Cap the acceptable xs->cmdlen at 12 in ncr53c9x.c. Problem noted and fix tested by Kurt Mosiejczuk. Thanks! Diff mostly from miod@ with kibitzing from me. ok miod@
2011-11-08Typo. BIOC_SSOFFLINE is the ioctl command. Pass BIOC_SDOFFLINE toKenneth R Westerback
sd_set_chunk_state() as the new state. ok jsing@
2011-11-08merge cpu_coredump() back to where it belongs, ok drahn miodTheo de Raadt
2011-11-08merge cpu_coredump() back to where it belongs; ok miod drahnTheo de Raadt
2011-11-08remove support for big endian; ok drahnTheo de Raadt
2011-11-08compat_13 support died ages agoTheo de Raadt
2011-11-08- put -i in the right placeJason McIntyre
- prevent an erroneous space in the formatting of -D
2011-11-08lookup (n.) -> look up (v.) (i.e. to look sth up);Jason McIntyre
2011-11-08Add the __cerror asm bits for per-thread errno support for hppa.Mark Kettenis
ok guenther@
2011-11-08Save and restore cr27 and add the necessary glue to use it as the userlandMark Kettenis
thread register. ok guenther@, jsing@
2011-11-08Include <stddef.h> to make sure offsetof() is defined.Mark Kettenis
ok guenther@
2011-11-08On PCXS processors, reading %cr26 and %cr27 from userland causes aMiod Vallat
privileged register trap. Cope with this in the trap handler to let userland use these registers; this will be necessary in the not-so-distant future.
2011-11-08mention default fifo path, sthen. previous manpage changes were ok jmc, plusHenning Brauer
reminder to adjust synopsis and usage (again...)
2011-11-08allow the path to isakmpd's fifo to be specified (aka changed) on theHenning Brauer
command line, ok mikeb sthen