OpenBSD src changes summary for 2016-01-17 to 2016-01-24 inclusive ==================================================================
bin/ls distrib/miniroot distrib/sets distrib/special etc/root/root.mail games/morse gnu/lib/libiberty include/Makefile include/malloc.h lib/libc lib/libtls libexec/ld.so regress/usr.bin regress/usr.sbin sbin/mount_vnd sbin/pdisk share/man sys/arch/amd64/conf sys/arch/amd64/stand/efi sys/arch/arm/include sys/arch/armv7/armv7 sys/arch/octeon/dev sys/arch/sgi/dev sys/arch/socppc/dev sys/arch/sparc/sparc sys/arch/sparc64/stand/ofwboot sys/arch/vax/vax sys/dev sys/dev/acpi sys/dev/ata sys/dev/hid sys/dev/i2c sys/dev/ic sys/dev/pv sys/dev/usb sys/isofs/cd9660 sys/kern sys/miscfs/fuse sys/net sys/net80211 sys/netinet sys/netinet6 usr.bin/calendar usr.bin/colrm usr.bin/doas usr.bin/less usr.bin/mg usr.bin/sndiod usr.bin/ssh usr.bin/tmux usr.bin/ul usr.bin/vi usr.sbin/ldapd usr.sbin/rcctl usr.sbin/smtpd usr.sbin/unbound usr.sbin/ypldap == bin =============================================================== 01/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ls ~ utf8.c > Fix a regression (and POSIX violation) introduced with UTF-8 support: > When neither running on a terminal nor with -q, names must be passed > through as they are, nothing must be replaced with question marks. > Effectively, -q was always in effect. SMALL was not affected. > Triggered by a different patch from Martijn van Duren <openbsd plus tech > at list dot imperialat dot at>, who confirmed that this version is better. > Identified as a regression by tedu@. > OK sthen@. (schwarze@) == distrib =========================================================== 02/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > Discard stderr of fdisk and pdisk. > disussed with and OK krw@ (rpe@) ~ install.sub > - cleanup quoting in sed pattern > - use shell built-in read command instead of 'sed q' > OK krw@, halex@ (rpe@) ~ install.sub > spacing > ok krw@, halex@ (rpe@) sets ~ lists/man/mi > sync (deraadt@) ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.hppa64 ~ lists/base/md.i386 ~ lists/base/md.landisk ~ lists/base/md.loongson ~ lists/base/md.luna88k ~ lists/base/md.macppc ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/base/md.socppc ~ lists/base/md.sparc ~ lists/base/md.sparc64 ~ lists/base/md.vax ~ lists/base/md.zaurus ~ lists/comp/mi ~ lists/man/mi > sync (deraadt@) ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.hppa64 ~ lists/base/md.i386 ~ lists/base/md.landisk ~ lists/base/md.loongson ~ lists/base/md.luna88k ~ lists/base/md.macppc ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/base/md.socppc ~ lists/base/md.sparc ~ lists/base/md.sparc64 ~ lists/base/md.vax ~ lists/base/md.zaurus ~ lists/comp/mi > sync (deraadt@) ~ lists/base/mi > sync (deraadt@) special ~ pdisk/Makefile > sync to main (deraadt@) == etc =============================================================== 03/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc root/root.mail ~ root/root.mail > fix year (deraadt@) == games ============================================================= 04/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games morse ~ morse.6 > Add a reference to the current ITU Morse code document. > Part of a diff that was ok abieber tb -.. . .-. .- .- -.. -; > other part being revised with pjanzen. (sthen@) ~ morse.c > There are now distinct codes for left and right parentheses. > Part of a diff that was ok tb@ abieber@ deraadt@ (sthen@) ~ morse.6 ~ morse.c > Teach morse(6) the <AC> prosign as '@', as added on May 24, 2004 (the > 160th anniversary of the first public Morse telegraph transmission). > Support decoding (only; not encoding) of other prosigns, including <SK> > as we were previously using for '@'. From pjanzen. (sthen@) == gnu =============================================================== 05/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu lib/libiberty ~ Makefile.bsd-wrapper > quote ${CC} expansion, from andreas.kahari at icm uu se, ok mpi@ (sthen@) == include =========================================================== 06/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include Makefile ~ Makefile > After nearly 20 years of warning that malloc.h is obsolete, it's about time > we > actually remove this header. It was originally added for ports, which is > malloc.h-free now. > additional ports bulk by aja@ > ok bently@ dcoppa@ millert@ sthen@ (jasper@) malloc.h - malloc.h > After nearly 20 years of warning that malloc.h is obsolete, it's about time > we > actually remove this header. It was originally added for ports, which is > malloc.h-free now. > additional ports bulk by aja@ > ok bently@ dcoppa@ millert@ sthen@ (jasper@) == lib =============================================================== 07/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ sys/pledge.2 > adjust some syscalls in proc & id; from Carlin Bingham (deraadt@) ~ stdio/vfprintf.c > remove a nop assignment that has been #if 0'd since 1996 > ok millert@ (mmcc@) ~ gmon/gmon.c > replace (void *)0 with NULL (mmcc@) libtls ~ tls.c > Call BIO_sock_init() from tls_init() to ensure sockets are enabled on > Windows. > This is of course a no-op on other platforms. Noted by equalsraf from > github. (bcook@) == libexec =========================================================== 08/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ resolve.c > Lacking precise dependency-from-relocation tracking, a nodelete object > needs to lock down the entire load group, not just the specific object. > problem report and ok sthen@ > been in snaps for a week (guenther@) ~ library_subr.c ~ resolve.c ~ resolve.h > Delete remnants of grpsym cache setting during symbol search: it's done at > load time only nwo. Rename _dl_searchnum and lastlookup to _dl_grpsym_gen > and grpsym_gen as they are generation numbers. Merge _dl_newsymsearch() > into _dl_cache_grpsym_list_setup(). > ok millert@ (guenther@) == regress =========================================================== 09/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ mdoclint/mdoclint > In the OpenBSD-specific part of verify_xref(), discard the standard error > output from man -f: Messages "man: nothing appropriate" are not helpful. > If no matching manual exists anywhere, a more specific message follows > right afterwards. If a matching manual exists in the current directory, > such messages are just wrong. > Issue reported by jmc@. (schwarze@) usr.sbin ~ pkg_add/Makefile ~ pkg_add/list7.out > Replace a (broken) test for @option explicit-update (the code has been > removed 2 years ago) by a (working) test for @ask-update (landry@) == sbin ============================================================== 10/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin mount_vnd ~ mount_vnd.c > use explicit_bzero(3) for clearing sensitive data > OK millert@ mmcc@ (gsoares@) ~ mount_vnd.c > Immediately zero the stack-allocated buffers for the passphrase and salt > rather > than doing so conditionally later on. These were false positives during an > explicit_bzero audit. > ok gsoares@ (mmcc@) ~ mount_vnd.c > fix 1.18 by removing extra argument from explicit_bzero calls > from kili@ (mmcc@) pdisk ~ Makefile ~ dump.c ~ partition_map.c > - tidy up a bunch of #if's for code that has been either enabled or > disabled since forever, > or not relevant at all (e.g. some bits for A/UX support) > - remove commented code that has never been compiled, etc > ok krw@ (jasper@) ~ Makefile > oops (jasper@) ~ convert.c ~ convert.h ~ dpme.h ~ dump.c ~ partition_map.c ~ partition_map.h > A/UX is no more, was m68k only, and we have no sentimental reasons for > keeping support. (krw@) ~ dump.c ~ file_media.c ~ file_media.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > Let the great de-typedef'ification begin. MEDIA -> struct file_media *. > (krw@) ~ convert.c ~ convert.h ~ dpme.h ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > The great de-typedef'ification continues. DPME -> struct dpme. (krw@) ~ convert.c ~ convert.h ~ dpme.h ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > The great de-typedef'ification continues. Block0 -> struct block0. (krw@) ~ convert.c ~ dpme.h ~ dump.c ~ partition_map.c > The great de-typedef'ification continues. DDMap -> struct ddmap. (krw@) ~ dump.c > The great de-typedef'ification continues. OSType -> unsigned long. > Nuke names/NAMES as the only use was in an unused array of abbreviations > which also goes. (krw@) ~ dump.c > The great de-typedef'ification continues. > PatchList -> struct patchlist > Nuke PatchListPtr > PatchListDescriptor -> struct patchlistdescriptor > Nuke PatchListDescriptorPtr (krw@) ~ validate.c > The great de-typedef'ification continues. range_list -> struct range_list. > (krw@) ~ dump.c ~ dump.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c ~ validate.h > The great de-typedef'ification continues. > partition_map -> struct partition_map > partition_map_header -> struct partition_map_header (krw@) ~ convert.c ~ dpme.h > The great de-typedef'ification continues. u8 -> uint8_t. (krw@) ~ convert.c ~ dpme.h > The great de-typedef'ification continues. u16 -> uint16_t. (krw@) ~ dpme.h ~ dump.c ~ partition_map.c ~ partition_map.h ~ validate.c > The great de-typedef'ification concludes with u32 -> uint32_t. And a > bunch of consequent printf() format corrections. (krw@) ~ convert.c ~ convert.h ~ dpme.h ~ dump.c ~ dump.h ~ file_media.c ~ file_media.h ~ io.c ~ io.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.h ~ validate.c > Remove a bunch of ridiculous and uninformative comments like "// Defines". > (krw@) ~ dpme.h ~ dump.c ~ io.c ~ partition_map.c ~ pdisk.c ~ validate.c > Kill leading, imbedded, trailing whitespace. (krw@) ~ convert.c ~ convert.h ~ dump.c ~ dump.h ~ file_media.c ~ file_media.h ~ io.c ~ io.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c ~ validate.h > Reduce namespace pollution by eliminating parameter names from forward > declarations. (krw@) ~ convert.c ~ convert.h ~ dpme.h ~ dump.c ~ dump.h ~ file_media.c ~ io.c ~ io.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c ~ validate.h > Change "//" comments to "/**/". Nuke really stupid ones. (krw@) ~ file_media.c ~ partition_map.c ~ partition_map.h ~ pdisk.c > Remove a grab bag of unused #define's, fields, enum's, variables, > functions. (krw@) ~ pdisk.c > Fold get_options() into main() and eliminate unneeded nFLAG_DEFAULT > #defines. Zero is a well known and acceptable number. (krw@) ~ pdisk.c > Run indent(1) over it and tweak the results a bit manually to look more > KNF'ish. (krw@) ~ validate.c > Run indent(1) over it and tweak the results a bit manually to look more > KNF'ish. (krw@) ~ partition_map.c > Run indent(1) over it and tweak the results a bit manually to look more > KNF'ish. (krw@) ~ convert.c > Run indent(1) over it and tweak the results a bit manually to look more > KNF'ish. (krw@) ~ file_media.c > Run indent(1) over it and tweak the results a bit manually to look more > KNF'ish. (krw@) ~ io.c > Run indent(1) over it and tweak the results a bit manually to look more > KNF'ish. (krw@) ~ dump.c > Run indent(1) over it and tweak the results a bit manually to look more > KNF'ish. (krw@) ~ file_media.c ~ file_media.h ~ partition_map.c > os_reload_file_media() doesn't do anything except tell you if you passed it > a NULL pointer. And the result is ignored. Nuke it. This removes the only > use of the 'regular_file' field of struct file_media. So nuke that too. > (krw@) ~ file_media.c ~ file_media.h > Discard a whack of double and triple checking lseek/read/write parameters. > Just use pread/pwrite and report error emanating from them. No more > uses of size_in_byte field of struct file_media, so toss that too. (krw@) ~ dump.c ~ file_media.c ~ file_media.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > struct file_media had 1 field left. And one place where struct > file_media was actually stored. So move the last field (fd) into > the place formerly used to store pointer to the instance. As a > result we can just pass fd's around rather than pointers to a struct > containing a fd. > close_file_media() becomes empty but for a close(). So just use > close() and nuke close_file_media(). (krw@) ~ dump.c ~ dump.h ~ pdisk.c > The contents of the Apple_Patches partition is none of our business. > Stop pretending we care or know what's in there. Remove 'debugging' > mode command to examine the partition contents and the supporting > code. > ok deraadt@ jasper@ (krw@) ~ pdisk.c > No need for pdisk(8) to provide a version of hexdump. Remove > the "expert" mode 'd'/'D' command and its supporting code. > ok deraadt@ jasper@ (krw@) ~ dump.c ~ dump.h ~ pdisk.c > Bring code into line with man page and usage() by only allowing one > disk to be specified on the command line. Nuke dump() function and > hoist its few lines into main() as a result. (krw@) ~ file_media.c ~ pdisk.c > Remove forward declarations for functions that do not exist. (krw@) ~ io.c > Remove unused global 'io_buffer'. (krw@) ~ pdisk.c > It's pointless to check for 'dflag' inside do_expert(), since you can't > get there unless dflag is set. Makes switch() statement easier to grasp. > (krw@) ~ pdisk.c > Simplify the main command switch, eliminating a couple of /* fall > through */ and two variables by simply calling the target functions > with the different parameters. (krw@) ~ partition_map.c ~ validate.c > Don't try to be cute by silently opening a disk read-only when R/W > access was requested. Just complain when the R/W open fails. Make > failure messages consistent. (krw@) ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c > Nuke 'writable' field now that it is always in sync with 'rflag'. Since > (!rflag && writable == 0) can't be true remove those warning blocks and > simply leave the not-writable warning when attempting to write the > map. Always show 'w' in the help and rely on the check and warning > in do_write_partition_map() so the user always gets a message. (krw@) ~ dump.c ~ file_media.c ~ file_media.h ~ io.c ~ io.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > Hoist all file opening and ioctl calls into main(), passing a pointer to > a valid map to edit(). Should enable pledging a la fdisk at some point. > Since edit() always gets a valid map (and maintains its validity even when > 'I'nitializing a new one) many checks for (map == NULL) are junked. > Remove some dances around block sizes by using DEV_BSIZE everywhere > since we don't support non-DEV_BSIZE (a.k.a. 512-byte) sectors. > Remove many superfluous #include statements. (krw@) ~ dump.c ~ dump.h ~ partition_map.c ~ pdisk.8 ~ pdisk.c > Nuke 'expert' mode and the enabling, undocumented, '-d' flag by > just making all the commands available all the time. Document the > newly available commands. > Remove the former 'P' command (list partitions in base address > order) and use 'P' from expert mode (show map data structures). > Stop accepting uppercase aliases for commands documented as lower > case. > Bring the 'h' help text and man pages into agreement. > ok jasper@ millert@ (krw@) ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c > In the "why use two variables when one would do" category, eliminate > the 'written' field and just use the 'changed' field to mediate > when it is appropriate to ask whether changes should be discarded. (krw@) ~ partition_map.c ~ partition_map.h ~ pdisk.c > Repair creation of initial partition table on a blank disk, broken > when hoisting file operations and ioctl to main(). Pass media size > to open_partition_map() and create_partition_map() so they can > properly initialize a map. (krw@) ~ pdisk.8 > escape punctuation to have it mark up properly; (jmc@) ~ file_media.c ~ file_media.h ~ partition_map.c ~ validate.c > Merge read_block() and read_file_media() into read_block(). Ditto > write_block() and write_file_media(). One layer of read/write > wrappers for pread/pwrite should be enough for anyone. (krw@) ~ partition_map.c > Lost a fix for one invocation of write_block() in diff juggling. It > takes an off_t offset, not a disk address, for now. (krw@) ~ dpme.h > Whitespace fixes. (krw@) ~ partition_map.h > Whitespace fixes. (krw@) ~ dump.c ~ partition_map.c ~ partition_map.h ~ validate.c > Rename map field 'misc' to 'block0' since that's what it is. (krw@) ~ convert.c > Whitespace fixes. (krw@) ~ convert.c > Change parameter name 'data' to 'block0'. (krw@) ~ convert.c > Of course if you change the parameter name you need to change the uses of > said parameter to the new name. (krw@) ~ convert.c ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > Change partition map field 'data' to 'dmpe'. Change 'create_data' > to 'create_dmpe'. Sweep up some 'struct dpme *data' to struct dpme > *dpme'. (krw@) ~ partition_map.c > Break annoying long line. (krw@) ~ partition_map.c > Always initialize media_size to provided mediasz in open_partition_map(). > (krw@) ~ partition_map.c > Nuke sync_device_size() and do it's one-field-update in coerce_block0(), > right after we read/allocate media->block0. Doing sync *before* > media->block0 is allocated is bad. > The map->physical_block is initialized correctly and never to the > magic number '1'. So just use map-physical_block to initialize > sbBlkSize. (krw@) ~ dump.c ~ partition_map.c ~ validate.c > map->block0 is always allocated or the map is discarded. > So stop checking for NULL. Nuke get_block_zero() and just use > map->block0. (krw@) ~ dump.c ~ file_media.c ~ file_media.h ~ partition_map.c ~ validate.c > Flip read_block() and write_block() back to taking sector addresses > instead of off_t values. Do the DEV_BSIZE multiplication in these two > functions. > Easier to read code and kills two #include <sys/param.h>. > Kill unused label. (krw@) ~ partition_map.c > Avoid double prompt after creating default map on startup. (krw@) ~ dpme.h ~ partition_map.c ~ pdisk.c > Add comments to ensure future spelunkers realize that struct block0 > and struct dpme must be 512-bytes long at the moment. > Use this fact to avoid using DEV_BSIZE and thus replace #include > <param.h> with #include <types.h> in pdisk.c. > Constrain media size to UINT32_MAX, the actual limit, instead of > LONG_MAX, which could be way more on some theoretical future arch > running pdisk. And do the constraint inside open_partition_map(). (krw@) ~ partition_map.c ~ partition_map.h ~ pdisk.c > Pass the disk sector size to open_partition_map(), eliminating it's > internal need for DEV_BSIZE. Ditto create_partition_map(). > malloc((sizeof(struct [block0|dpme])) instead of malloc(DEV_BSIZE). > Remove another #include <param.h>. (krw@) ~ io.c ~ io.h ~ pdisk.c > No need for get_string_argument() parameter 'reprompt' since we > always pass it '1'. (krw@) ~ io.c ~ io.h ~ pdisk.c > No need for 'default_value' parameter for get_number_argument() since we > always pass kDefault. a.k.a. -1. Nuke kDefault since it is now unused. > Nuke unused #define MAXIOSIZE in passing. (krw@) ~ convert.c ~ convert.h ~ dump.c ~ dump.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c ~ validate.h > Nuke unused kPatchType. Nuke kStringNot and use " not' where needed. > Nuke kStringEmpty and use "" where needed. Nuke unused static 'g'. > Eliminate #include's in *.h files. > Some whitespace fixes. (krw@) ~ partition_map.c > Delete duplicated line that was setting sbBlkCount to 0; Score one > for the 'v' command! (krw@) ~ validate.c > Assuming the map is always provided simplifies a bunch of logic, nukes > get_block_n() and removes a whack of pointless static variables. (krw@) ~ dpme.h ~ dump.c ~ dump.h ~ io.c ~ io.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c ~ validate.h > Whitespace fixes. (krw@) ~ pdisk.c > Nuke more pointless checks for map NULLness. (krw@) ~ dump.c ~ partition_map.c > Nuke get_align_long() and put_align_long() #define's. They don't do > anything according to gcc & cmp. > cmp suggested by & ok stefan@. (krw@) ~ dump.c ~ partition_map.c > Whitespace. (krw@) == share ============================================================= 11/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/Makefile + man4/dwiic.4 + man4/ihidev.4 + man4/ims.4 + man4/ikbd.4 > add pages for dwiic, ihidev, ims and ikbd (jsg@) ~ man4/iic.4 > mention dwiic and ihidev (jsg@) ~ man4/ikbd.4 > provide missing section number to Dt macro; (jmc@) ~ man4/Makefile ~ man4/ims.4 + man4/imt.4 > add an imt manpage (jcs@) ~ man4/urtwn.4 > Add Approx APPUSB300NANO V1. V2 uses a different chipset. (juanfra@) == sys =============================================================== 12/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/conf ~ RAMDISK_CD > enable ikbd(4) (jsg@) ~ GENERIC > add hidmt, a HID-layer driver for multitouch touchpads that conform > to the "Windows Precision Touchpad" standard. when a compatible > device is found, hidmt claims all report ids and switches the device > into multitouch packet mode. > add imt, an i2c-HID driver that sits between ihidev and hidmt (jcs@) arch/amd64/stand/efi ~ include/efiprot.h > Correct the definitions of currently unused protocol guids so they will > work as EFI_GUID initialisers. > ok yasuoka@ krw@ (jsg@) arch/arm/include ~ armreg.h > In some cases machines with virtualisation extensions will boot into a > HYP processor mode that has different memory management and register > behaviour among other things. In this case switch to SVC mode to > prevent an early crash. > From Patrick Wildt based on code in FreeBSD. (jsg@) arch/armv7/armv7 ~ armv7_start.S > In some cases machines with virtualisation extensions will boot into a > HYP processor mode that has different memory management and register > behaviour among other things. In this case switch to SVC mode to > prevent an early crash. > From Patrick Wildt based on code in FreeBSD. (jsg@) arch/octeon/dev ~ amdcf.c ~ octcf.c > Set segflg member of uio struct with symbolic enum value > instead of using magic numbers. No binary change. > Diff from Martin Natano. > ok deraadt@ (stefan@) ~ cn30xxipd.c > Add back the initialisation of a cn30xxipd_offload() variable removed > in rev 1.6 so SET doesn't or bits into uninitialised memory. > ok visa@ (jsg@) arch/sgi/dev ~ dsrtc.c > Remove now uneeded bus_space_unmap calls in the DS1742W/Origin path that > have had uninitialised bus space handle arguments since the mapping became > conditional in rev 1.9 > confirmed with miod (jsg@) arch/socppc/dev ~ socpcic.c > avoid uninitialised variable use > ok kettenis@ (jsg@) arch/sparc/sparc ~ clock.c > Fix a race causing hardclock() to be sometimes invoked between the end > of cpu_configure() and initclocks(). > from Miod > no objection deraadt@ (ajacoutot@) arch/sparc64/stand/ofwboot ~ diskprobe.c > Check for disks deeper than 4 levels down in the Open Firmware device tree. > Makes softraid(4) boot possible on more sparc64 machines. > Tested on Sun Fire machines by mikeb@ and Alexander Bochmann via misc@ > ok mikeb@ (stsp@) arch/vax/vax ~ locore.S > Typo in comment; from Miod (ajacoutot@) dev ~ audio.c > Set byte order the default encoding in the attach method to > native byte order. No behaviour change, as attach time > parameters are just hints, except thay this makes audioctl > output nicer if the device was never opened. (ratchov@) ~ audio.c > make AUDIO_GETDEV ioctl return the device name (ex "azalia0") rather > than driver specific strings. > ok kettenis (ratchov@) dev/acpi ~ acpi.c > remove an unused global variable (jsg@) ~ acpi.c > Take acpi_foundhid() outside of #ifndef SMALL_KERNEL so the ramdisk > kernel can find and attach dwiic(4) and sdhc(4). (jsg@) ~ dwiic.c > dwiic_i2c_{read,write} -> dwiic_{read,write} (jcs@) ~ dwiic.c > fix an off-by-one that could result in read operations not reading > the last byte, depending on the timing (jcs@) ~ dwiic.c > Zero the local structs holding crs information before parsing _CRS. > This avoids reading uninitialised memory when expected value types are > not present, as is currently the case with gpio signalled interrupts, > and could also be the case with buggy aml. > Without this change under certain conditions on the ideapad 100s > (such as a ramdisk kernel or generic kernel compiled with -O0) > ihidev would incorrectly attach to a bogus ioapic interrupt. > ok kettenis@ (jsg@) dev/ata ~ wd.c > Set segflg member of uio struct with symbolic enum value > instead of using magic numbers. No binary change. > Diff from Martin Natano. > ok deraadt@ (stefan@) dev/hid ~ hid.c ~ hid.h > add hid_get_udata > code from FreeBSD, name from NetBSD (jcs@) ~ files.hid ~ hid.h + hidmt.c + hidmtvar.h > add hidmt, a HID-layer driver for multitouch touchpads that conform > to the "Windows Precision Touchpad" standard. when a compatible > device is found, hidmt claims all report ids and switches the device > into multitouch packet mode. > add imt, an i2c-HID driver that sits between ihidev and hidmt (jcs@) dev/i2c ~ ihidev.c ~ ihidev.h > add the ability to set and get reports > establish interrupt before probing for devices to handle each report id > sign an int, found by jsg (jcs@) ~ files.i2c + imt.c > add hidmt, a HID-layer driver for multitouch touchpads that conform > to the "Windows Precision Touchpad" standard. when a compatible > device is found, hidmt claims all report ids and switches the device > into multitouch packet mode. > add imt, an i2c-HID driver that sits between ihidev and hidmt (jcs@) dev/ic ~ twe.c > remove a surplus splbio > ok deraadt@ krw@ (jsg@) dev/pv ~ xenstore.c > Fixup a hang while performing a read operation on XenStore > Reyk has reported an issue that turned out to be an incorrect calculation > of bytes available for reading. This diff also places missed semaphore > releases in the xs_start and makes 'left' a size_t in xs_ring_{get,put}. > (mikeb@) ~ xen.c ~ xenreg.h ~ xenvar.h > Provide a Xen v3 API compatible fallback for event channel hypercalls > (mikeb@) ~ xen.c > Log unhandled interrupts (mikeb@) ~ xen.c > Cast evtchn_mask to a char pointer for an isset operation > When testing evtchn_mask bits we need to treat the array as a bit > matrix for an isset macro to test correct bits. Reported by reyk@ > some time ago, Wei Liu <wei ! liu2 at citrix !com> figured out how > to reproduce the problem. Thanks! (mikeb@) ~ if_xnf.c > Fix a few issues in the xnf transmit path > A crash reported by Jonathon Sisson is caused by incorrect calculation > of available descriptors on the tx ring. While here, split the mbuf > chain so that we won't unload the whole thing in the txeof before > removing grant table references from transmit descriptors. (mikeb@) ~ if_xnf.c > Mask interrupts on boot, masking/unmasking is handled by stop/init (mikeb@) ~ if_xnf.c > Don't bump output errors when when tx ring is full > Reported by Jonathon Sisson <openbsd at j3z ! org>, thanks! (mikeb@) ~ xen.c ~ xenstore.c > Convert membar_* calls into virtio_membar_sync where it matters > membar_* functions are defined only as compiler barriers on !MP > kernels, while we're trying to be conservative in our use of the > barriers. Barriers are placed only where loads and stores might > get reordered and it matters at the same time. Shared info page > operations are using atomic instructions on Linux, so they get > barriers as well. (mikeb@) ~ xen.c > To facilitate reading make sure to use a GTF_invalid flag by name (mikeb@) ~ if_xnf.c > Set minimum number of slots on the receive ring to 18 > After some experimentation, discussions with Xen folks and pondering Linux > source code, it became clear that most versions of Xen require at least 18 > slots available on the receive ring to send an event. (mikeb@) ~ if_xnf.c > Setup interface features based on capabilities provided by the backend > Instead of just setting bits that we think we need, do a better job of > figuring out what's supported by the backend and what's not and what do > we really need. The following improvements were implemented: > o fallback for when scatter gather I/O is not supported by Dom0; > o tcp/udp checksum offloading; > o larger mtu up to 9000: an experimental feature; > o stop requesting multicast control feature that we don't support. > (mikeb@) ~ xen.c > Fix some uses of sizeof where the size of a struct was intended, not > the size of the pointer to a struct. > ok mikeb@ (jsg@) dev/usb ~ if_smsc.c > remove an unused ifp variable (jsg@) ~ usb.c > If usb_fill_udf_task() failed to fill the struct, udf_data still > contained the pointer it received from user land. usbioctl() has > to reset it, otherwise user supplied data is passed to free(). > OK mpi@ (bluhm@) isofs/cd9660 ~ cd9660_vnops.c > Convert min() and uiomovei() to ulmin() and uiomove(). > Diff from Martin Natano > ok kettenis@ (stefan@) kern ~ kern_pledge.c > Add SYS_truncate as a "wpath" operation. Omission noticed by tb and sthen. > (deraadt@) ~ kern_pledge.c > Check if the vnode type is VBAD (corresponds to disconnected > usb devices) and return ENOTTY rather than terminating the > caller program. Found by Michael Reed <m.reed at mykolab.com> > ok semarie, deraadt (ratchov@) ~ spec_vnops.c > Convert min() and uiomovei() to ulmin() and uiomove(), > preventing integer truncation. > Diff from Martin Natano > ok kettenis@ (stefan@) miscfs/fuse ~ fuse_device.c ~ fuse_vnops.c > Straightforward uiomovei -> uiomove conversion. All size arguments for > uiomove had unsigned types already. > Diff from Martin Natano. (stefan@) net ~ route.h ~ rtable.c ~ rtable.h > Stop storing a backpointer to the corresponding ART node in each route > entry. > This pointer hasn't been used for some time and without it no external > reference count is needed to turn art_lookup() mpsafe. (mpi@) ~ art.c ~ art.h ~ rtable.c > Pass the address length to art_alloc() and remove the hack abusing the > offset of the address in the sockaddr to initialize the stride lengths. > (mpi@) ~ ifq.h > dlg@ took a pity on me and let me stay sane a bit longer by giving > me a chance to kill these glowing red trailing whitespace characters. > (mikeb@) ~ if_etherip.c > Support tunnel VRF on etherip(4) > ok dlg@ yasuoka@ (goda@) ~ if_vxlan.c > Drop packets whose VNI flag is not set and VNI is not zero > ok reyk@ yasuoka@ (goda@) ~ if_ethersubr.c > Always check destination MAC address of received unicast packets, not > only when in promiscuous mode > This necessary for NICs like virtio, where the unicast MAC filter is > 'best effort' only. > ok dlg@ > encouragement from mpi@ (sf@) net80211 ~ ieee80211_output.c > Fix the timeout value sent in ADDBA request and response frames. > ba_timeout_val is in usec so we must divide by TU when copying it to the > frame. > ok kettenis@ millert@ (stsp@) netinet ~ if_ether.c > remove the arp_inuse and arp_allocated counters > we can get the same info from the arp pool: > # vmstat -m | grep -e ^arp -e ^Name > Name Size Requests Fail InUse Pgreq Pgrel Npage Hiwat Minpg Maxpg > Idle > arp 56 84 0 6 1 0 1 1 0 8 > 0 > Requests and InUse end up being the same: > # pstat -d d arp_allocated > arp_allocated at 0xffffffff81942084: 84 > # pstat -d d arp_inuse > arp_inuse at 0xffffffff81942098: 6 > ok bluhm@ claudio@ mpi@ (dlg@) ~ in.c ~ in_var.h ~ ip_carp.c ~ ip_input.c ~ ip_output.c > Introduce in{,6}_hasmulti(), two functions to check in the hot path if > an interface joined a specific multicast group. > ok phessler@, visa@, dlg@ (mpi@) ~ tcp_input.c > fix a missing if_put() in the default af path of tcp_mss() > ok mpi@ (jsg@) ~ ip_ipip.c > add a missing if_put() to ipip_input() > ok mpi@ (jsg@) netinet6 ~ icmp6.c > add a missing if_put() in a carp specific path > ok mpi@ (jsg@) ~ in6.c ~ in6_var.h ~ ip6_input.c ~ ip6_mroute.c ~ ip6_output.c > Introduce in{,6}_hasmulti(), two functions to check in the hot path if > an interface joined a specific multicast group. > ok phessler@, visa@, dlg@ (mpi@) == usr.bin =========================================================== 13/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin calendar ~ calendar.1 ~ calendars/calendar.all ~ calendars/calendar.holiday + calendars/calendar.nz > add a calendar for new zealand; from craig skinner (jmc@) ~ calendars/calendar.nz > - new plymouth day is better known as taranaki > - correct a duplicate south canterbury entry > first correction from peter kane > second, and diff, from craig skinner (jmc@) colrm ~ colrm.1 ~ colrm.c > UTF-8 support: > Cut by display columns rather than by character positions because > the latter would be useless in the presence of combining zero-width > characters. Similarly, let tab advance to display columns rather > than to character positions. > For compatibility with nroff and man(1) output, let backspace back > up one character rather than on display column. But for compatibility > with POSIX fold(1), *if* two backspaces follow a double-width character, > ignore the second one. > Fix some bugs while here: Delete backspaces that immediately follow > deleted characters. Expand tabs intersecting deletions, such that > part of the blanks can be removed. Expand tabs following deletions, > or they would no longer align with adjacent lines without tabs. > OK jmc@ on a previous version of the manual. > No opposition when shown on tech@. (schwarze@) doas ~ doas.c > make sure of cleaning rbuf with explicit_bzero(3) > OK tedu@ (gsoares@) less ~ prompt.c > start removing mp, the pointer to message's nul byte > ok deraadt@ (mmcc@) ~ funcs.h > Remove the lintism PRINTFLIKE1, don't replace it with an attribute so we > can keep it portable. > also noticed by Michael Reed, discussed with deraadt@ (mmcc@) mg ~ cscope.c > Skip empty entries in $PATH instead of erroneously interpreting > them as ".". > Ok lum@ jasper@ (sunil@) ~ cscope.c > Check snprintf(3) return value for overflow instead of manual length > check. From max at max-fillinger.net. > Ok lum@ jasper@ (sunil@) ~ cscope.c > Fix bad indents. From max at max-fillinger.net > Ok lum@ jasper@ (sunil@) ~ cscope.c ~ tags.c > Update my mail address. (sunil@) ~ cscope.c > Bounds check while stripping trailing slashes. From max at > max-fillinger.net. > Ok lum@ (sunil@) sndiod ~ sndiod.8 > Mention that "sndiod -d" doesn't daemonize and that > the -d flag can be specified multiple times. Diff > from Michael Reed <m.reed at mykolab.com>. Many thanks. (ratchov@) ~ file.c > Allow time differences between two clock_gettime() calls to > be up to 60s without logging a warning. (ratchov@) ssh ~ misc.c > Include sys/time.h for gettimeofday. From sortie at maxsi.org. (dtucker@) ~ clientloop.c > Zero a stack buffer with explicit_bzero() instead of memset() when > returning from client_loop() for consistency with > buffer_free()/sshbuf_free(). > ok dtucker@ deraadt@ djm@ (jsg@) tmux ~ alerts.c ~ arguments.c ~ array.h ~ cfg.c ~ client.c ~ cmd-attach-session.c ~ cmd-bind-key.c ~ cmd-break-pane.c ~ cmd-choose-buffer.c ~ cmd-choose-client.c ~ cmd-clear-history.c ~ cmd-command-prompt.c ~ cmd-copy-mode.c ~ cmd-detach-client.c ~ cmd-display-panes.c ~ cmd-find-window.c ~ cmd-find.c ~ cmd-join-pane.c ~ cmd-kill-pane.c ~ cmd-kill-server.c ~ cmd-kill-session.c ~ cmd-kill-window.c ~ cmd-list-buffers.c ~ cmd-list-clients.c ~ cmd-list-keys.c ~ cmd-list-panes.c ~ cmd-list-sessions.c ~ cmd-list-windows.c ~ cmd-list.c ~ cmd-lock-server.c ~ cmd-move-window.c ~ cmd-new-session.c ~ cmd-new-window.c ~ cmd-paste-buffer.c ~ cmd-pipe-pane.c ~ cmd-queue.c ~ cmd-refresh-client.c ~ cmd-rename-session.c ~ cmd-rename-window.c ~ cmd-resize-pane.c ~ cmd-respawn-pane.c ~ cmd-respawn-window.c ~ cmd-rotate-window.c ~ cmd-select-layout.c ~ cmd-select-pane.c ~ cmd-select-window.c ~ cmd-send-keys.c ~ cmd-set-buffer.c ~ cmd-set-environment.c ~ cmd-set-option.c ~ cmd-show-environment.c ~ cmd-show-messages.c ~ cmd-show-options.c ~ cmd-split-window.c ~ cmd-string.c ~ cmd-swap-pane.c ~ cmd-swap-window.c ~ cmd-switch-client.c ~ cmd-unbind-key.c ~ cmd-wait-for.c ~ cmd.c ~ colour.c ~ control-notify.c ~ control.c ~ environ.c ~ format.c ~ grid-view.c ~ grid.c ~ input-keys.c ~ input.c ~ job.c ~ key-bindings.c ~ key-string.c ~ layout-custom.c ~ layout-set.c ~ layout.c ~ log.c ~ mode-key.c ~ names.c ~ options-table.c ~ options.c ~ paste.c ~ proc.c ~ procname.c ~ resize.c ~ screen-redraw.c ~ screen-write.c ~ screen.c ~ server-client.c ~ server-fn.c ~ server.c ~ session.c ~ signal.c ~ status.c ~ style.c ~ tmux.1 ~ tmux.c ~ tmux.h ~ tty-acs.c ~ tty-keys.c ~ tty-term.c ~ tty.c ~ utf8.c ~ window-choose.c ~ window-clock.c ~ window-copy.c ~ window.c ~ xterm-keys.c > I no longer use my SourceForge address so replace it. (nicm@) ~ cmd-find.c ~ cmd-queue.c ~ cmd.c ~ tmux.h > Split out getting the current state from the target search so it can be > replaced if we already know the current. (nicm@) ul ~ ul.1 ~ ul.c > UTF-8 support: > This is the first example of a program where doing the full char * > to wchar_t * to char * double conversion is actually simpler than > our usual approach of working with char * throughout. In part > inspired by the FreeBSD version which is in turn based on Bruno > Haible's work in util-linux, but not sharing any code and avoiding > the almost half a dozen bugs that FreeBSD has. > As a bonus reimplement overstrike() and iattr() almost from scratch, > getting rid of useless malloc(3)ed local buffers. > Add lots of missing information to the manual. > No opposition when shown on tech@. (schwarze@) vi ~ common/key.c ~ common/key.h ~ common/mark.c ~ ex/ex_txt.c ~ include/com_extern.h ~ include/ex_extern.h ~ include/vi_extern.h ~ vi/v_ch.c ~ vi/v_txt.c ~ vi/vi.c > Remove ARG_CHAR_T, a relic from when the code was written K&R style. > ok millert@ schwarze@ (bentley@) == usr.sbin ========================================================== 14/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin ldapd ~ control.c ~ ldapd.c > Properly remove unix sockets (control & listening) upon exit of the > parent process. > Child process was killed by pledge because it tried to remove the > control socket and didnt have cpath - anyway it couldnt remove it since > it had chrooted.. > ok jmatthew@ deraadt@ (landry@) rcctl ~ rcctl.sh > Check all daemons in "faulty", not just the base ones. > reported by landry@ (ajacoutot@) smtpd ~ smtpd.conf.5 > unify and add some more smtpd(8) references > ok sunil gilles eric (jung@) ~ parse.y > remove leftovers of (gone) curve option > ok gilles (jung@) ~ smtpd.c > Load pki keys before daemon(3). Keys with passphrase require access > to stdin. > Ok millert@ jung@ gilles@ (sunil@) ~ smtpd.conf.5 > minor tweaks: add single quote to @ char, add .Ic markup to forward-only, > fix end of list marker, and add an 'are' > ok millert (to an earlier version without end of list fix and without > 'are') (jung@) ~ smtpd.conf.5 > minor tweaks: remove comma, remove superflous plural s, add the word "file" > after ~/.forward, and change builtin to built-in > from tj > ok millert@ (jung@) ~ smtpd.conf.5 > another round of tiny wording tweaks and unifications > all from tj > ok millert (jung@) ~ table_static.c > add a log_warn() so that when smtpd fails to start due to a problem reading > the configuration file of a table, user actually understands what happens > diff by Alexis Vachette, ok jung@ (gilles@) ~ lka.c > in lka process, revoke proc/exec pledges after privsep-ed table backends > are forked at startup > i thought i had committed this already, diff has been okayed several weeks > ago... > ok jung@, ok millert@, ok sunil@ (gilles@) unbound ~ util/netevent.c > Backport r3602 | wouter | 2016-01-19 15:37:54 +0000 (Tue, 19 Jan 2016) | 3 > lines > - Squelch 'cannot assign requested address' log messages unless > verbosity is high, it was spammed after network down. > (problem reported by Philippe Meunier) (sthen@) ypldap ~ yp.c > Implement the 'master' request. ok jmatthew@ (matthieu@) ~ yp.c > Set argument encode / result decode call backs for 'maplist'. > ok jmatthew@ (matthieu@) ~ yp.c > Set argument encode / result decode callbacks for 'all'. > listing a map is still not implemented though. > ok jmatthew@ (matthieu@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
