summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-10replace test command with [[ ]]Robert Peichaer
OK krw@
2016-01-10simplify patternRobert Peichaer
feedback halex@ OK krw@
2016-01-10Introduce acpi_intr_establish(9), an API to establish interrupt handlers forMark Kettenis
"platform" devices that attach to acpi(4). ok mlarkin@, deraadt@
2016-01-10Add thinkpad tablet dock/undock ACPI events.Stefan Sperling
ok deraadt kettenis
2016-01-10#ifdef QUEST then a few functions won't work, because of that includemestre
<stdlib.h> if we are on a QUEST OK tb@
2016-01-10Make the test file 7-bit clean and improve diagnostics with hexdump(1),Ingo Schwarze
both in the same way as it was done for ul(1). No functional change.
2016-01-10Print a message to console when ipmi(4) watchdog is either enabled orMasao Uebayashi
disabled. Replace a magic number while here.
2016-01-10When stopping wdog (via wdog_shutdown() e.g. before entering shutdown),Masao Uebayashi
clear DONTSTOP bits. Without this, BMC records, at least on some NEC servers, watchdog timer expiration event, which only confuses admins. OK kettenis@
2016-01-10Seems the voltage bit defenitions in sdmmcreg.h for voltages below 2VMark Kettenis
are not quite right. At least I can't find them in any of the MMC and SD card documentation I can find on the interwebs. Instead there is a single "low voltage bit" that indicates support for the 1.65-1.95V or 1.70-1.95V range depending on the document you're reading. Go with the 1.65-1.95V range as that is what Linux does. Necessary (but not sufficient) to make the eMMC on the ASUS X205TA work. ok jsg@ (who did the armv7 bits)
2016-01-10Remove needless casts to (char *) NULL. Some were kept, namely for execl(3)mestre
last arguments since "The list of arguments must be terminated by a null null pointer" of type char * Suggested by and OK tb@
2016-01-10UTF-8 support:Ingo Schwarze
In a UTF-8 locale, columnate correctly and replace valid, but non- printable characters with the Unicode replacement character U+FFFD. No change in the C/POSIX locale, and no change for invalid bytes. Grand total, the code becomes shorter by almost 30 lines. Feedback from czarkoff@, OK millert@.
2016-01-10As per style(9), remove remaining lint-style comments from games/mestre
OK tb@
2016-01-10some UTF-8 testsIngo Schwarze
2016-01-10Remove unnecessary headersmestre
OK tb@
2016-01-10trailing spaces, fit in 80 columnsAlexandre Ratchov
2016-01-10Back out the MP pmap diff for rework. The code does not work onVisa Hankala
non-PMAP_DIRECT systems due to lock recursion.
2016-01-10remove a duplicate break statementJonathan Gray
2016-01-10Random sequences generated by jot -r have been suffering from a dramatictb
bias at both ends of the given interval. Various clever workarounds are documented in the manual. This fixes the bias in some of the most common use cases, namely random sequences of integers or real numbers rounded to a fixed number of decimals. So, `jot -p 3 -r 10000 0 1' produces a uniformly distributed sequence of 10,000 decimal numbers of the form 0.abc (or 1). Internally, jot -r now uses arc4random_uniform() whenever this is clearly possible. In particular `jot -r 1 10 20' yields an unbiased random number between 10 and 20 (both ends inclusive) from the shell. guidance and ok deraadt@, "i like it" benno@
2016-01-09missing breakJonathan Gray
ok ratchov@ deraadt@
2016-01-09Remove several casts to (char *) 0 and replace them by NULLmestre
Prompted and OK by tb@
2016-01-09Replace "function call" with "function" when referring to a functionmmcc
(well, a syscall, but this is the established practice) in the general sense. ok jmc@
2016-01-09ANSIfy grammar.y on atc(6), all other files already aremestre
OK tb@
2016-01-09Initial support for Hardware-Reduced ACPI. This skips the legacy mode checksMark Kettenis
by emulating the PM_CNT register such that SCI_EN is always enabled. It also skip attaching acpitimer(4) since the relevant registers are no longer there. ok deraadt@, mlarkin@
2016-01-09This diff is rather large, but it's just simply removing unnecessary headersmestre
, remove some lint-style comments, add missing void to functions without args, also some function prototypes (extern) were missing their args, so I added them as they were defined in hack.h OK tb@ on separate diffs
2016-01-09Revamp the display of GPT information, hiding less importantKenneth R Westerback
information under the '-v' flag. This brings the GPT display more into line with the MBR display and simplifies and hardens the parsing of the partition info in the install scripts. Original problem with install scripts parsing hand edited GPT information reported by Valere Monseur via bugs@. Man page fixes and tweaks from jmc@. Install script changes tested & ok rpe@.
2016-01-09Remove superfluous and barely used macro aliases for wctype.h functions.mmcc
ok nicm@
2016-01-09decls before code; from Martijn van DurenTheo de Raadt
2016-01-09add a missing printf argumentJonathan Gray
2016-01-09Make midi->tickets signed (sign is needed for arithmetics even if theAlexandre Ratchov
actual count is always positive). Found by David Coppa. Thanks.
2016-01-09consistently use the desc ring pointers as guards for their dmamem.David Gwynne
2016-01-09Use uiomove(9) instead of uiomovei(9). From Martin Natano.Mark Kettenis
2016-01-09Add HW_REDUCED_ACPI and LOW_POWER_S0_IDLE_CAPABLE FADT flags.Mark Kettenis
2016-01-09Rename LR_24BIT, LR_32BIT and LR_32BITFIXED to LR_MEM24, LR_MEM32 andMark Kettenis
LR_MEM32FIXED to better match the names used in the specification. Add lr_m32fixed to union acpi_resource. ok jcs@
2016-01-09Check in advance that the socket path is a directory and report theAlexandre Ratchov
error if it isn't. Fixes ugly/delayed error messages in this case.
2016-01-09do not install filter_api.3 until the names are changed, to avoid namespaceJoerg Jung
pollution, this api should really be renamed with a prefix smtpd_* prodded by deraadt
2016-01-09Remove trailing '\n' from strings passed to err(1)Alexandre Ratchov
2016-01-09unexpand tabsAlexandre Ratchov
2016-01-09Make code fit in 80 columns, remove trailing spaces & tabs.Alexandre Ratchov
2016-01-09drop "abort" promise, and make it the default behaviour.Sebastien Marie
The current code has already setted it by default since 1.74 any pledge failure tries to make a coredump (default rules for coredump still applies: so setuid binaries don't create them locally). ok deraadt@
2016-01-09Correct sensor threashold handling by properly checking response of Get SensorMasao Uebayashi
Reading Command. Patch from jmatthew@. Extra review by kettenis@. Tested by me.
2016-01-09revert manual additions of hid.h now that usbhid.h brings it inJoshua Stein
2016-01-09include dev/hid/hid.h from dev/usb/usbhid.h, so all previous usersJoshua Stein
of it get the HID framework as they used to
2016-01-09revert previous now that they are found in usbhid.h againJoshua Stein
2016-01-09move UHID_* definitions back to usbhid.h where they were before theJoshua Stein
HID separation
2016-01-08ANSIfy gomoku(6) and change a char* to u_char*mestre
OK tb@
2016-01-08adjust a debug message to use decimal instead of hexJoerg Jung
ok gilles millert
2016-01-08Handle redirects to _relative_ URIs containing '://', e.g. for archive.org.Stuart Henderson
From Lauri Tirkkonen, plus tweak to comment. ok jung@
2016-01-08Zap extraneous SYNOPSIS sections.Vadim Zhukov
The gettytab(5) and termcap(5) get FILES, others don't need anything. With input from & okay schwarze@
2016-01-08ANSIfy sail(6) plus some cleanupmestre
OK tb@
2016-01-08Headers clean upmestre