OpenBSD src changes summary for 2017-01-21 ==========================================
bin/pax bin/test distrib/miniroot distrib/sets distrib/special etc/acme-client.conf games/adventure games/backgammon games/hunt gnu gnu/lib/libreadline lib lib/csu lib/libc lib/libcrypto lib/libkvm lib/libm lib/libssl libexec/ld.so regress/lib sbin/ifconfig sbin/restore share/man share/mk sys/arch/alpha/alpha sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/arm/arm sys/arch/arm/conf sys/arch/arm64/arm64 sys/arch/arm64/conf sys/arch/arm64/dev sys/arch/armv7/conf sys/arch/armv7/exynos sys/arch/armv7/imx sys/arch/armv7/omap sys/arch/armv7/sunxi sys/arch/armv7/vexpress sys/arch/i386/conf sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/sh/sh sys/arch/sparc64/fpu sys/arch/sparc64/sparc64 sys/dev sys/dev/fdt sys/dev/pci sys/dev/pv sys/dev/sdmmc sys/kern sys/net sys/sys sys/uvm usr.bin/fstat usr.bin/ftp usr.bin/lex usr.bin/look usr.bin/make usr.bin/mandoc usr.bin/netstat usr.bin/openssl usr.bin/rpcgen usr.bin/rusers usr.bin/sed usr.bin/showmount usr.bin/ssh usr.bin/systat usr.bin/tftp usr.sbin/acme-client usr.sbin/amd usr.sbin/httpd usr.sbin/makefs usr.sbin/mopd usr.sbin/mrouted usr.sbin/mtrace usr.sbin/npppctl usr.sbin/rpc.statd usr.sbin/vmd == bin =============================================================== 01/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin pax ~ file_subs.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) test ~ test.c > Add an explicit syntax() call to indicate that no binary op was > found. Makes gcc happier. Add __dead to function prototype as we > go by. > ok guenther@ (krw@) == distrib =========================================================== 02/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > Start creating and using /etc/installurl. This file is created > during installation if an OpenBSD mirror server is used for the > sets download. It contains the mirror server url in the same format > as provided by ftplist.cgi. > The installurl file is used by the OpenBSD installer, the syspatch(8) > and the pkg_add(1) commands. > Stop creating and updating the /etc/pkg.conf file - the pkg_add(1) > command will use the information in installurl. > Use a new dbversion of the CGIs which accecpt and provide mirror > urls without the release/arch part at the end.. > Idea from ajacoutot@ > Joint work with and OK ajacoutot@ tb@ beck@ deraadt@ (rpe@) sets ~ lists/comp/md.loongson > sync (visa@) special ~ doas/doas.c ~ libstubs/db.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) == etc =============================================================== 03/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc acme-client.conf ~ acme-client.conf > Default configuration file: use quotes for all files and > give a sensible example for the domain {} section. > ok florian (benno@) == games ============================================================= 04/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games adventure ~ crc.c ~ main.c ~ save.c ~ vocab.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) backgammon ~ teachgammon/teach.c ~ teachgammon/tutor.h > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) hunt ~ huntd/answer.c ~ huntd/conf.c ~ huntd/draw.c ~ huntd/driver.c ~ huntd/execute.c ~ huntd/expl.c ~ huntd/extern.c ~ huntd/hunt.h ~ huntd/makemaze.c ~ huntd/server.h ~ huntd/shots.c ~ huntd/terminal.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) == gnu =============================================================== 05/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ llvm/tools/clang/lib/Driver/Tools.cpp > Make LLVM create strict aligned code for OpenBSD/arm64. We currently > don't enforce it yet, but we want to go down that road. Additionally > the Pine64 seems to boot up with strict alignment on by default, so > this also implicitly fixes efiboot on that hardware. > ok kettenis@ phessler@ visa@ (patrick@) ~ lib/Makefile > Only build gcc4 libs if COMPILER_VERSION is gcc4. > ok kettenis@ patrick@ (jsg@) lib/libreadline ~ bind.c ~ callback.c ~ chardefs.h ~ complete.c ~ display.c ~ emacs_keymap.c ~ funmap.c ~ histexpand.c ~ histfile.c ~ histlib.h ~ history.c ~ history.h ~ histsearch.c ~ input.c ~ kill.c ~ macro.c ~ mbutil.c ~ misc.c ~ nls.c ~ readline.c ~ readline.h ~ rldefs.h ~ rltty.c ~ savestring.c ~ signals.c ~ terminal.c ~ text.c ~ tilde.c ~ vi_mode.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) == lib =============================================================== 06/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib lib ~ Makefile > Hook up libcompiler_rt, libcxx and libcxxabi to the build. Since their > Makefiles are now guarded to not compile on non-clang architectures, we > can safely add them. > ok deraadt@ (patrick@) csu ~ crtbegin.c ~ crtbeginS.c ~ crtend.c ~ crtendS.c ~ extern.h ~ arm/md_init.h ~ hppa/md_init.h > Declare the symbols that label the .ctors, .dtors, .eh_frame, and .jcr > sections as extern hidden arrays of indefinite size, so that the compiler > (well, clang) doesn't believe it knows the exact contents and thus optimize > things into infinite loops. Actually set the symbols to be in the sections > and insert the leading and trailing values via __asm(). > Problem pointed out by patrick@ > testing and ok kettenis@ (guenther@) ~ Makefile > amd64 can build rcrt0.o with the stack-protector > ok kettenis@ deraadt@ (guenther@) ~ hppa/md_init.h > Fix misspelling in comment (guenther@) ~ extern.h ~ crt0.c > Pull in declarations for main() and __init() to make clang happy. > Mark __init() as hidden > ok kettenis@ deraadt@ (guenther@) ~ crtbegin.c ~ crtbeginS.c > Make crtbegin.c and crtbeginS.c consistent on stylistic points > ok kettenis@ (guenther@) libc ~ stdlib/malloc.c > 1. When shrinking a chunk allocation, compare the size of the current > allocation to the size of the new allocation (instead of the requested > size). > 2. Previously realloc takes the easy way and always reallocates if C is > active. This commit fixes by carefully updating the recorded requested > size in all cases, and writing the canary bytes in the proper location > after reallocating. > 3. Introduce defines to test if MALLOC_MOVE should be done and to > compute the new value. (otto@) ~ rpc/rpc_prot.c ~ rpc/xdr.c ~ rpc/xdr_array.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) libcrypto ~ x509/x509_vfy.c > Make return value of X509_verify_cert be consistent with the error code, > with the caveat that we force V_OK when a user provided callback has > us returning success. > ok inoguchi@ jsing@ (beck@) ~ x509/x509_vfy.c > fix bogus comment > ok jsing@ (beck@) ~ asn1/a_strnid.c ~ asn1/ameth_lib.c > Expand DECLARE_OBJ_BSEARCH_CMP_FN and IMPLEMENT_OBJ_BSEARCH_CMP_FN macros. > No change to generated assembly excluding line numbers. (jsing@) ~ bn/bn_exp.c > /usr/bin/unifdef -D MONT_MUL_MOD -D MONT_EXP_WORD -D RECP_MUL_MOD -m > bn_exp.c > with some style cleanup after. no binary change > ok jsing@ (beck@) ~ evp/evp_pbe.c ~ evp/pmeth_lib.c > Expand DECLARE_OBJ_BSEARCH_CMP_FN and IMPLEMENT_OBJ_BSEARCH_CMP_FN macros. > No change to generated assembly excluding line numbers. (jsing@) ~ x509v3/v3_lib.c ~ x509v3/v3_purp.c > Expand DECLARE_OBJ_BSEARCH_CMP_FN and IMPLEMENT_OBJ_BSEARCH_CMP_FN macros. > No change to generated assembly excluding line numbers. (jsing@) ~ objects/obj_dat.c ~ objects/obj_xref.c > Expand DECLARE_OBJ_BSEARCH_CMP_FN and IMPLEMENT_OBJ_BSEARCH_CMP_FN macros. > No change to generated assembly excluding line numbers. (jsing@) ~ objects/objects.h > Place {DECLARE,IMPLEMENT}_OBJ_BSEARCH{_GLOBAL,}_CMP_FN macros undef > LIBRESSL_INTERNAL. (jsing@) ~ Makefile ~ bn/bn.h ~ bn/bn_blind.c ~ bn/bn_exp.c ~ bn/bn_lcl.h ~ bn/bn_prime.c ~ bn/bn_sqrt.c ~ dh/dh_key.c ~ dsa/dsa_ameth.c ~ dsa/dsa_gen.c ~ dsa/dsa_key.c ~ dsa/dsa_ossl.c ~ pem/pvkfmt.c ~ rsa/rsa_eay.c > Make explicit _ct and _nonct versions of bn_mod_exp funcitons that > matter for constant time, and make the public interface only used > external to the library. > This moves us to a model where the important things are constant time > versions unless you ask for them not to be, rather than the opposite. > I'll continue with this method by method. > Add regress tests for same. > ok jsing@ (beck@) ~ bn/bn.h ~ bn/bn_div.c ~ bn/bn_exp.c ~ bn/bn_exp2.c ~ bn/bn_gcd.c ~ bn/bn_lcl.h ~ bn/bn_mod.c ~ bn/bn_mont.c ~ bn/bn_prime.c ~ bn/bn_recp.c ~ dsa/dsa_ameth.c ~ dsa/dsa_gen.c ~ dsa/dsa_ossl.c ~ gost/gostr341001.c ~ rsa/rsa_chk.c ~ rsa/rsa_eay.c ~ rsa/rsa_gen.c > Split out BN_div and BN_mod into ct and nonct versions for Internal use. > ok jsing@ (beck@) ~ bn/bn.h ~ bn/bn_blind.c ~ bn/bn_gcd.c ~ bn/bn_lcl.h ~ bn/bn_mont.c ~ bn/bn_x931p.c ~ dsa/dsa_ossl.c ~ ec/ecp_smpl.c ~ ecdsa/ecs_ossl.c ~ gost/gostr341001.c ~ rsa/rsa_chk.c ~ rsa/rsa_crpt.c ~ rsa/rsa_gen.c > Add ct and nonct versions of BN_mod_inverse for internal use > ok jsing@ (beck@) ~ bn/bn_gcd.c > use BN_div_nonct where it is safe to do so. > ok guenther@ (beck@) libkvm ~ kvm_file2.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) libm ~ src/ld80/e_atanhl.c ~ src/ld80/e_coshl.c ~ src/ld80/e_fmodl.c ~ src/ld80/e_hypotl.c ~ src/ld80/e_log10l.c ~ src/ld80/e_log2l.c ~ src/ld80/e_logl.c ~ src/ld80/e_powl.c ~ src/ld80/e_sinhl.c ~ src/ld80/k_cosl.c ~ src/ld80/k_sinl.c ~ src/ld80/s_log1pl.c ~ src/ld80/s_nanl.c ~ src/ld80/s_remquol.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) libssl ~ ssl_lib.c > Expand IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN macro. > No change in generated assembly. (jsing@) ~ ssl_locl.h > Expand DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN macro. > No change in preprocessor output (ignoring whitespace and line numbers). > (jsing@) ~ d1_clnt.c ~ d1_meth.c ~ d1_srvr.c ~ t1_clnt.c ~ t1_meth.c ~ t1_srvr.c > Specify minimum and maximum protocol version for each method. This is > currently unused, but will be in the near future. > ok beck@ (jsing@) == libexec =========================================================== 07/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ aarch64/archdep.h ~ aarch64/syscall.h ~ alpha/syscall.h ~ amd64/archdep.h ~ amd64/syscall.h ~ arm/archdep.h ~ arm/syscall.h ~ hppa/archdep.h ~ hppa/syscall.h ~ i386/archdep.h ~ i386/syscall.h ~ m88k/syscall.h ~ mips64/syscall.h ~ sh/archdep.h ~ sh/syscall.h ~ sparc64/archdep.h ~ sparc64/syscall.h > _dl_exit() is __dead, so it should return void. > Move _dl_mmap() and _dl_mquery() inlines from archdep.h to syscall.h and > remove pointless casts and unnecessary parens. > ok kettenis@ (guenther@) == regress =========================================================== 08/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libcrypto/bn/general/Makefile ~ libcrypto/bn/general/bntest.c ~ libcrypto/bn/mont/Makefile ~ libcrypto/exp/Makefile ~ libcrypto/exp/exptest.c > Make explicit _ct and _nonct versions of bn_mod_exp funcitons that > matter for constant time, and make the public interface only used > external to the library. > This moves us to a model where the important things are constant time > versions unless you ask for them not to be, rather than the opposite. > I'll continue with this method by method. > Add regress tests for same. > ok jsing@ (beck@) == sbin ============================================================== 09/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) restore ~ extern.h ~ main.c ~ restore.h ~ tape.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) == share ============================================================= 10/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man8/autoinstall.8 > Clarify what local response file actually means. > With and OK from tb@ > OK jmc@ (rpe@) ~ man8/release.8 > Add my copyright. (tb@) mk ~ bsd.obj.mk > Only do chown :wobj when this command will succeed. Allows using > bsd.prog.mk outside /usr/src by users not belonging to group wobj. > Requested by many after a report by Sebastien Marie. > ok deraadt (tb@) == sys =============================================================== 11/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ interrupt.c ~ trap.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/amd64/amd64 ~ trap.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/amd64/conf ~ files.amd64 > Move virtio config from files.pci to files.pci > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the first step of moving the virtio files to > dev/pv. No functional change. > arm kernel changes tested by jsg@ and patrick@ > no objections from sf@ mlarkin@ (reyk@) arch/arm/arm ~ fault.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/arm/conf ~ files.arm > Move virtio config from files.pci to files.pci > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the first step of moving the virtio files to > dev/pv. No functional change. > arm kernel changes tested by jsg@ and patrick@ > no objections from sf@ mlarkin@ (reyk@) arch/arm64/arm64 ~ conf.c > arm64 does not make use of constab but instead uses the same > mechanism as armv7. Remove it so no one starts to believe > we would do it that way. (patrick@) ~ pmap.c > Only switch the pagetable if we were asked to switch to a user > process. This seems to happen when we switch away from a proc > to kill it. We should probably start keeping a 'dummy' table > around. (patrick@) ~ autoconf.c > Add missing spl0() call. (patrick@) arch/arm64/conf ~ GENERIC ~ files.arm64 > Add Allwinner A64 devices to OpenBSD/arm64. This means we can run > on the Pine64. While there add a few more usb and pseudo devices. > (patrick@) ~ files.arm64 > Move virtio config from files.pci to files.pci > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the first step of moving the virtio files to > dev/pv. No functional change. > arm kernel changes tested by jsg@ and patrick@ > no objections from sf@ mlarkin@ (reyk@) arch/arm64/dev ~ virtio_mmio.c > Switch include of virtio header from dev/pci/to dev/pv/ (reyk@) arch/armv7/conf ~ files.armv7 > Move virtio config from files.pci to files.pci > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the first step of moving the virtio files to > dev/pv. No functional change. > arm kernel changes tested by jsg@ and patrick@ > no objections from sf@ mlarkin@ (reyk@) arch/armv7/exynos ~ exesdhc.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/armv7/imx ~ imxesdhc.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/armv7/omap ~ ommmc.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/armv7/sunxi ~ sxiccmu.c > Split out the Allwinner H3 specific clock code into its own functions and > call those via a function pointer such that we can support other SoCs by > simply adding new functions. (kettenis@) ~ sxiccmu.c ~ sxiccmu_clocks.h > Implement EHCI and MMC clock support for the Allwinner A64 SoC. > Unfortunately this does not yet enable us to use the MMC on the > Pine64. > ok kettenis@ (patrick@) ~ sxiehci.c > Match on the Allwinner A64 ehci compatible as well. > ok kettenis@ phessler@ (patrick@) ~ sxipio.c ~ sxipio_pins.h > Add support for the Allwinner A64 (sun50i-a64). > Requested by patrick@ (kettenis@) - sunxireg.h - sxiccmu.c - sxiccmu_clocks.h - sxiehci.c - sximmc.c - sxipio.c - sxipio_pins.h - sxipiovar.h - sxirtc.c ~ files.sunxi ~ sxiahci.c ~ sxidog.c ~ sxie.c ~ sxiintc.c ~ sxitimer.c > Move Allwinner drivers that will soon be used by OpenBSD/arm64 > to the new MI FDT driver directory. > "go ahead" kettenis@ (patrick@) arch/armv7/vexpress ~ virtio_mmio.c > Switch include of virtio header from dev/pci/to dev/pv/ (reyk@) arch/i386/conf ~ files.i386 > Move virtio config from files.pci to files.pci > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the first step of moving the virtio files to > dev/pv. No functional change. > arm kernel changes tested by jsg@ and patrick@ > no objections from sf@ mlarkin@ (reyk@) arch/mips64/include ~ _types.h ~ asm.h > Add _MIPS_ISA_MIPS32 and _MIPS_ISA_MIPS64 defines for clang. > OK deraadt@ phessler@ mpi@ (visa@) arch/mips64/mips64 ~ fp_emulate.c ~ pmap.c ~ trap.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/sh/sh ~ db_interface.c ~ trap.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/sparc64/fpu ~ fpu.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) arch/sparc64/sparc64 ~ machdep.c ~ trap.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) dev ~ vnd.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) dev/fdt ~ files.fdt + sunxireg.h + sxiccmu.c + sxiccmu_clocks.h + sxiehci.c + sximmc.c + sxipio.c + sxipio_pins.h + sxipiovar.h + sxirtc.c > Move Allwinner drivers that will soon be used by OpenBSD/arm64 > to the new MI FDT driver directory. > "go ahead" kettenis@ (patrick@) ~ sxiccmu_clocks.h > Add support for the Allwinner A64 PIO controller clock. > ok kettenis@ phessler@ (patrick@) dev/pci ~ files.pci > Move virtio config from files.pci to files.pci > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the first step of moving the virtio files to > dev/pv. No functional change. > arm kernel changes tested by jsg@ and patrick@ > no objections from sf@ mlarkin@ (reyk@) ~ if_iwm.c > In iwm(4), cancel mira timeouts in iwm_stop() and iwm_newstate() instead of > relying on the newstate task to do so. Fixes races of driver code against > mira timeouts leading to crashes in some situations, e.g. occasionally when > changing channels while the interface is up. > ok procter@ (stsp@) ~ virtio_pci.c > Switch include of virtio header from dev/pci/to dev/pv/ (reyk@) - if_vio.c - vioblk.c - vioblkreg.h - viocon.c - viomb.c - viornd.c - vioscsi.c - vioscsireg.h - virtio.c - virtioreg.h - virtiovar.h - vmmci.c > non-PCI virtio files have been moved to sys/dev/pv (reyk@) dev/pv ~ files.pv > Move virtio config from files.pci to files.pci > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the first step of moving the virtio files to > dev/pv. No functional change. > arm kernel changes tested by jsg@ and patrick@ > no objections from sf@ mlarkin@ (reyk@) + if_vio.c > Move if_vio.c to sys/dev/pv/if_vio.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/if_vio.c. > no objections from sf@ mlarkin@ (reyk@) + vioblk.c > Move vioblk.c to sys/dev/pv/vioblk.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/vioblk.c. > no objections from sf@ mlarkin@ (reyk@) + vioblkreg.h > Move vioblkreg.h to sys/dev/pv/vioblkreg.h > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/vioblkreg.h. > no objections from sf@ mlarkin@ (reyk@) + viomb.c > Move viomb.c to sys/dev/pv/viomb.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/viomb.c. > no objections from sf@ mlarkin@ (reyk@) + viornd.c > Move viornd.c to sys/dev/pv/viornd.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/viornd.c. > no objections from sf@ mlarkin@ (reyk@) + viocon.c > Move viocon.c to sys/dev/pv/viocon.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/viocon.c. > no objections from sf@ mlarkin@ (reyk@) + vioscsi.c > Move vioscsi.c to sys/dev/pv/vioscsi.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/vioscsi.c. > no objections from sf@ mlarkin@ (reyk@) + vioscsireg.h > Move vioscsireg.h to sys/dev/pv/vioscsireg.h > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/vioscsireg.h. > no objections from sf@ mlarkin@ (reyk@) + virtio.c > Move virtio.c to sys/dev/pv/virtio.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/virtio.c. > no objections from sf@ mlarkin@ (reyk@) + virtiovar.h > Move virtiovar.h to sys/dev/pv/virtiovar.h > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/virtiovar.h. > no objections from sf@ mlarkin@ (reyk@) + vmmci.c > Move vmmci.c to sys/dev/pv/vmmci.c > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/vmmci.c. > no objections from sf@ mlarkin@ (reyk@) + virtioreg.h > Move virtioreg.h to sys/dev/pv/virtioreg.h > virtio itself is not PCI, it is a paravirtual bus on top of either PCI > or MMIO (arm). This is the second step of moving the virtio files to > dev/pv. No functional change. > Moving the file is done by removing and adding it again - the old > history can be found in the Attic of sys/dev/pci/virtioreg.h. > no objections from sf@ mlarkin@ (reyk@) ~ files.pv ~ vioblk.c ~ vioscsi.c > Switch include of virtio header from dev/pci/ to dev/pv/ (reyk@) dev/sdmmc ~ sdhc.c ~ sdmmc.c ~ sdmmc_scsi.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) kern ~ exec_elf.c ~ init_main.c ~ kern_acct.c ~ kern_exec.c ~ kern_kthread.c ~ kern_ktrace.c ~ kern_pledge.c ~ kern_proc.c ~ kern_sched.c ~ kern_sig.c ~ kern_synch.c ~ kern_sysctl.c ~ kern_xxx.c ~ tty.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) net ~ if_var.h > Make the if_flags member unsigned. This was prompted by clang > complaining that assigning the MULTICAST flag, which sets the > uppermost bit, would invert the meaning of MULTICAST flag's > numeric value. > ok claudio@ deraadt@ tom@ visa@ (patrick@) ~ rtsock.c > Change route_input to a non-variadic function and just pass the address > family to it. Simplifies the code and disconnects route_input from protosw. > The rouing socket is special so no need to try to work like other protos. > With input from bluhm@, OK mpi@ (claudio@) ~ if_spppsubr.c > remove some extra whitespace. > no functional change (unfortunately) (dlg@) ~ bfd.c > be more explict with the size of bfd packets we send and receive > (phessler@) ~ bfd.c > sockets tell us the size of their data. since we want one udp packet, > just use that. uses one less soreceive() loop per packet received. > hints from claudio@ (phessler@) sys ~ proc.h ~ sysctl.h ~ exec_elf.h > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) uvm ~ uvm_mmap.c > p_comm is the process's command and isn't per thread, so move it from > struct proc to struct process. > ok deraadt@ kettenis@ (guenther@) == usr.bin =========================================================== 12/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin fstat ~ fstat.1 ~ fstat.c > Expose the close-on-exec flag near the R/W flags. > ok guenther (deraadt@) ftp ~ cmds.c ~ cmdtab.c ~ complete.c ~ cookie.c ~ domacro.c ~ extern.h ~ fetch.c ~ ftp_var.h ~ main.c ~ small.c ~ stringlist.h ~ util.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) lex ~ main.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) look ~ look.c > Accommodate gcc's suggestion that assignments used as truth values > should be enclosed in parentheses. > ok deraadt@ (krw@) ~ look.c > Nuke more whitespace caught in the headlights of "warning:" > rectification. (krw@) make ~ job.c > Stop calling out to sudo/doas to kill processes. Reliance on system > configuration to perform a racy behaviour is not wise. > ok natano (deraadt@) ~ job.c > Use errno to make the debug message more descriptive. > ok deraadt (natano@) ~ job.c > Dedup prototype for really_kill(). (natano@) mandoc ~ cgi.c ~ man_html.c ~ mdoc_html.c > clean up the remaining class attributes (schwarze@) ~ mdoc_html.c > Avoid writing constant style attributes over and over again. > Move them to the style sheet. (schwarze@) ~ html.c > slightly simplify header and footer styles (schwarze@) ~ mandoc.1 > bug was fixed, delete the BUGS section (schwarze@) netstat ~ inet6.c ~ show.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) openssl ~ apps.c ~ ocsp.c > whitespace (deraadt@) rpcgen ~ rpc_main.c ~ rpc_scan.h ~ rpc_util.h > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) rusers ~ rusers.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) sed ~ process.c > Nuke more whitespace caught in the headlights of "warning:" > rectification. (krw@) showmount ~ showmount.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) ssh ~ mux.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) systat ~ inetname.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) tftp ~ main.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) == usr.sbin ========================================================== 13/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin acme-client ~ Makefile ~ acme-client.1 ~ chngproc.c ~ extern.h ~ main.c ~ netproc.c ~ parse.h ~ parse.y > acme-client use configuration file [1 of 5] > start using the configuration file and delete command line arguments: > -a agreement -> agreement url ... > -c certdir -> domain certificate "path" > -f accountkey -> account key "path" > -k domainkey -> domain key "path" > -s authority -> sign with "name" > new argument: > -f configfile > the changes needed to use the new configuration are local to main.c for > now. > While the configuration could be passed directly to netproc(), keyproc() > etc, > the diff is smaller this way. > This also removes the multidir (-m) mode for now - specify different paths > in > each domain {} block instead. > ok florian (benno@) ~ acme-client.1 ~ acme-client.conf.5 ~ main.c ~ parse.h ~ parse.y > acme-client use configuration file [2 of 5] > - add challengedir option to config file > - remove -C option from command line > ok florian (benno@) ~ acme-client.1 ~ main.c > acme-client use configuration file [3 of 5] > change command line options: > n -> A new Account key > N -> D new Domain key > With this acme-client has these main usage patterns: > * create new Account Key and Domain Key and get a certificate: > acme-client -A -D www.example.com > * renew certificate: > acme-client www.example.com > * revoke certificate: > acme-client -r www.example.com > ok florian (benno@) ~ main.c > acme-client use configuration file [4 of 5] > fix getopt() > ok florian (benno@) ~ acme-client.1 ~ main.c ~ parse.h ~ parse.y > acme-client use configuration file [5 of 5] > implement new -n option to check and print configuration > ok florian (benno@) ~ main.c > typo; ok benno (florian@) ~ chngproc.c > kill remote with fire, we need to handle this differently > OK benno (florian@) ~ main.c > typo; ok benno (florian@) ~ main.c > We are only dealing with one domain on the command line > OK benno (florian@) ~ acme-client.1 ~ extern.h ~ fileproc.c ~ main.c > Remove backup option. This is not acme-client's business; also it gets > in the way. > OK benno (florian@) ~ fileproc.c > remove unused vars; OK benno (florian@) ~ extern.h ~ fileproc.c ~ main.c ~ revokeproc.c > Split certificate file from config file into certdir and certfile. > This way we can still chroot to certdir but the the certificate file > is not fixed to "cert.pem". > Writing of chain.pem and fullchain.pem is currently broken with this. > OK benno (florian@) ~ acme-client.conf.5 ~ main.c ~ parse.h ~ parse.y > Implement domain chain certificate. > OK benno (florian@) ~ acme-client.1 > see also acme-client.conf(5) suggested by millert and Raf Czlonka > ok florian (benno@) ~ acme-client.conf.5 > document default challengedir "/var/www/acme" (benno@) ~ acme-client.conf.5 ~ main.c ~ parse.h ~ parse.y > add option 'domain full chain certificate "path"', > revokation works, the fullchain file will be unlinked. > ok florian (benno@) ~ acme-client.1 ~ acme-client.conf.5 > Improve Documentation > ok florian (benno@) ~ parse.y > Enforce minimum config in the parser. > Based on a diff by & OK benno@ (florian@) ~ parse.y > it's chain certificate not certificate chain (florian@) ~ parse.y > dont print config if its broken > ok florian@ (benno@) ~ fileproc.c ~ main.c > it is ok to only specify a full chain certificate > OK benno (florian@) ~ main.c ~ parse.h ~ parse.y > move config data structures mostly to TAILQs, because that way we > preserve order. > ok florian@ (benno@) ~ parse.y > find the first authority works better this way, now that we use a tailq > ok florian@ (benno@) ~ acme-client.1 ~ acme-client.conf.5 ~ main.c > tweak previous; (jmc@) amd ~ amq/amq.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) httpd ~ server_fcgi.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) makefs ~ ffs.c > Use MD disklabel position. (natano@) mopd ~ common/device.c ~ common/dl.c ~ common/file.c ~ common/mopdef.h ~ mopa.out/mopa.out.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) mrouted ~ main.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) ~ prune.c > Accommodate gcc's suggestion that assignments used as truth values > should be enclosed in parentheses. > ok deraadt@ (krw@) ~ prune.c > Having a 'case 256:' in a switch (<uchar>) {} is bad on principle > and makes gcc unhappy. > In-line the single use #define, eliminate the 256: case and remove > a now unneeded local variable. > ok guenther@ (krw@) ~ rsrr.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) mtrace ~ mtrace.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) npppctl ~ npppctl.c > The POSIX APIs that that sockaddrs all ignore the s*_len field in the > incoming socket, so userspace doesn't need to set it unless it has its > own reasons for tracking the size along with the sockaddr. > ok phessler@ deraadt@ florian@ (guenther@) rpc.statd ~ procs.c ~ statd.c ~ test.c > Nuke whitespace foolish enough to expose itself during the great > "warning:" rectification. (krw@) vmd ~ virtio.c > Switch include of virtio header from dev/pci/ to dev/pv/ (reyk@) ~ pci.c ~ virtio.h > updated include paths for recently moved virtio stuff (mlarkin@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
