OpenBSD src changes summary for 2016-01-10 ==========================================
bin/ps distrib/miniroot games/arithmetic games/boggle games/bs games/canfield games/cribbage games/fish games/fortune games/hack games/hangman games/hunt games/phantasia games/quiz games/random games/tetris games/wump regress/bin regress/usr.bin sbin/pdisk sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/amd64/stand/libsa sys/arch/armv7/exynos sys/arch/armv7/imx sys/arch/armv7/omap sys/arch/i386/stand/libsa sys/arch/mips64/include sys/arch/mips64/mips64 sys/dev sys/dev/acpi sys/dev/sdmmc usr.bin/aucat usr.bin/jot usr.sbin/vmd == bin =============================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ps - fmt.c ~ Makefile ~ extern.h ~ print.c ~ ps.c + utf8.c > UTF-8 support: > 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@. (schwarze@) + fmt.c > Partial revert: put back the file fmt.c. > It's no longer used by ps(1), but w(1) reaches around to it. > Cluestick applied by deraadt@. (schwarze@) == distrib =========================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > simplify pattern > feedback halex@ > OK krw@ (rpe@) ~ install.sub > replace test command with [[ ]] > OK krw@ (rpe@) == games ============================================================= 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games arithmetic ~ arithmetic.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) boggle ~ boggle/bog.c ~ boggle/help.c ~ boggle/mach.c ~ boggle/timer.c ~ boggle/word.c > Remove unnecessary headers > OK tb@ (mestre@) ~ boggle/mach.c ~ boggle/timer.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) ~ boggle/help.c ~ boggle/mach.c > Remove needless casts to (char *) NULL. Some were kept, namely for execl(3) > last arguments since "The list of arguments must be terminated by a null > null pointer" of type char * > Suggested by and OK tb@ (mestre@) bs ~ bs.c > Remove needless casts to (char *) NULL. Some were kept, namely for execl(3) > last arguments since "The list of arguments must be terminated by a null > null pointer" of type char * > Suggested by and OK tb@ (mestre@) canfield ~ canfield/canfield.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) cribbage ~ instr.c ~ io.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) fish ~ fish.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) fortune ~ fortune/fortune.c ~ unstr/unstr.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) hack ~ hack.c > #ifdef QUEST then a few functions won't work, because of that include > <stdlib.h> if we are on a QUEST > OK tb@ (mestre@) hangman ~ main.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) hunt ~ hunt/playit.c ~ huntd/answer.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) ~ hunt/hunt.c > Remove needless casts to (char *) NULL. Some were kept, namely for execl(3) > last arguments since "The list of arguments must be terminated by a null > null pointer" of type char * > Suggested by and OK tb@ (mestre@) phantasia ~ fight.c ~ io.c ~ main.c ~ misc.c ~ setup.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) quiz ~ quiz.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) random ~ random.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) tetris ~ input.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) wump ~ wump.c > As per style(9), remove remaining lint-style comments from games/ > OK tb@ (mestre@) == regress =========================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress bin ~ ps/command.sh > some UTF-8 tests (schwarze@) usr.bin ~ colrm/colrm.sh > Make the test file 7-bit clean and improve diagnostics with hexdump(1), > both in the same way as it was done for ul(1). > No functional change. (schwarze@) ~ colrm/colrm.sh > tests for double backspace after double-width characters (schwarze@) == sbin ============================================================== 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin pdisk ~ partition_map.c > Use the normal method for determining a disk size. i.e. use the > device's default disklabel. Don't spew i/o's at the disk to find > the largest address that works, displaying many a 'read failed' > message along the way. > Problem noted by Brian Conway on bugs@ and jasper@. > ok jasper@ (krw@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ acpi_machdep.c > Introduce acpi_intr_establish(9), an API to establish interrupt handlers > for > "platform" devices that attach to acpi(4). > ok mlarkin@, deraadt@ (kettenis@) ~ vmm.c > Page fault handling tweaks for vmm: > - compute fault reason for uvm_fault() (e.g. page not present, > protection violation) instead of passing a protection code > - a page does not need to be zero'd after faulting it in. uvm_fault() does > that for fresh anon pages already, and we also do not want a page that > is swapped back in have its contents wiped. > ok mlarkin@ (stefan@) arch/amd64/include ~ specialreg.h > Page fault handling tweaks for vmm: > - compute fault reason for uvm_fault() (e.g. page not present, > protection violation) instead of passing a protection code > - a page does not need to be zero'd after faulting it in. uvm_fault() does > that for fresh anon pages already, and we also do not want a page that > is swapped back in have its contents wiped. > ok mlarkin@ (stefan@) arch/amd64/stand/libsa ~ random_amd64.S ~ random_i386.S > match up code and comments, add missing $OpenBSD$; ok jsing@ a while ago > (naddy@) arch/armv7/exynos ~ exesdhc.c > Seems the voltage bit defenitions in sdmmcreg.h for voltages below 2V > 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) (kettenis@) arch/armv7/imx ~ imxesdhc.c > Seems the voltage bit defenitions in sdmmcreg.h for voltages below 2V > 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) (kettenis@) arch/armv7/omap ~ ommmc.c > Seems the voltage bit defenitions in sdmmcreg.h for voltages below 2V > 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) (kettenis@) arch/i386/stand/libsa ~ random_i386.S > match up code and comments, add missing $OpenBSD$; ok jsing@ a while ago > (naddy@) arch/mips64/include ~ pmap.h > Back out the MP pmap diff for rework. The code does not work on > non-PMAP_DIRECT systems due to lock recursion. (visa@) arch/mips64/mips64 ~ pmap.c ~ trap.c > Back out the MP pmap diff for rework. The code does not work on > non-PMAP_DIRECT systems due to lock recursion. (visa@) dev ~ ipmi.c ~ ipmivar.h > When stopping wdog (via wdog_shutdown() e.g. before entering shutdown), > clear DONTSTOP bits. Without this, BMC records, at least on some NEC > servers, watchdog timer expiration event, which only confuses admins. > OK kettenis@ (uebayasi@) ~ ipmi.c > Print a message to console when ipmi(4) watchdog is either enabled or > disabled. Replace a magic number while here. (uebayasi@) dev/acpi ~ acpithinkpad.c > Add thinkpad tablet dock/undock ACPI events. > ok deraadt kettenis (stsp@) ~ acpivar.h > Introduce acpi_intr_establish(9), an API to establish interrupt handlers > for > "platform" devices that attach to acpi(4). > ok mlarkin@, deraadt@ (kettenis@) dev/sdmmc ~ sdhc.c ~ sdmmcreg.h > Seems the voltage bit defenitions in sdmmcreg.h for voltages below 2V > 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) (kettenis@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin aucat ~ abuf.c ~ afile.c ~ aucat.c ~ dsp.c ~ utils.c > trailing spaces, fit in 80 columns (ratchov@) jot ~ Makefile ~ jot.c > Random sequences generated by jot -r have been suffering from a dramatic > 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@ (tb@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin vmd ~ control.c > remove a duplicate break statement (jsg@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
