OpenBSD src changes summary for 2016-05-08 to 2016-05-15 inclusive ==================================================================
Makefile.cross bin/ln distrib/sets distrib/special etc/Makefile etc/etc.hppa64/MAKEDEV etc/etc.hppa64/MAKEDEV.md etc/etc.hppa64/Makefile etc/etc.hppa64/Makefile.inc etc/etc.hppa64/disktab etc/etc.hppa64/fbtab etc/etc.hppa64/login.conf etc/etc.hppa64/sysctl.conf etc/etc.hppa64/ttys etc/mail/spamd.conf etc/mtree/4.4BSD.dist etc/rc etc/root/root.mail etc/signify/openbsd-61-base.pub etc/signify/openbsd-61-fw.pub etc/signify/openbsd-61-pkg.pub gnu/usr.bin/perl include/signal.h lib/csu lib/libc lib/libcrypto lib/libedit lib/libexpat lib/libkvm lib/libm lib/libpcap lib/librthread lib/libtls libexec/ld.so regress/etc regress/lib regress/sys regress/usr.bin sbin/bioctl sbin/dhclient sbin/ifconfig sbin/init sbin/kbd sbin/reboot sbin/wsconsctl share/man share/mk sys sys/arch sys/arch/alpha/alpha sys/arch/alpha/include sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/amd64/pci sys/arch/amd64/stand/efi sys/arch/amd64/stand/efiboot sys/arch/arm/arm sys/arch/arm/include sys/arch/armv7/imx sys/arch/armv7/include sys/arch/armv7/stand/efiboot sys/arch/hppa/hppa sys/arch/hppa/include sys/arch/hppa64/compile sys/arch/hppa64/conf sys/arch/hppa64/dev sys/arch/hppa64/hppa64 sys/arch/hppa64/include sys/arch/hppa64/stand sys/arch/hppa64/stand/boot sys/arch/hppa64/stand/cdboot sys/arch/hppa64/stand/libsa sys/arch/hppa64/stand/libz sys/arch/hppa64/stand/mkboot sys/arch/i386/i386 sys/arch/i386/include sys/arch/m88k/m88k sys/arch/macppc/dev sys/arch/macppc/macppc sys/arch/macppc/stand/tbxidata sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/powerpc/include sys/arch/sh/include sys/arch/sh/sh sys/arch/socppc/socppc sys/arch/sparc/include sys/arch/sparc/sparc sys/arch/sparc64/include sys/arch/sparc64/sparc64 sys/conf sys/dev sys/dev/acpi sys/dev/i2c sys/dev/ic sys/dev/microcode sys/dev/pci sys/dev/sdmmc sys/kern sys/lib/libkern sys/net sys/net80211 sys/stand sys/sys sys/ufs/ffs sys/uvm usr.bin/gprof usr.bin/make usr.bin/mklocale usr.bin/passwd usr.bin/rcs usr.bin/signify usr.bin/tmux usr.bin/top usr.bin/wall usr.bin/xinstall usr.sbin/eigrpd usr.sbin/hotplugd usr.sbin/httpd usr.sbin/installboot usr.sbin/pcidump usr.sbin/pkg_add usr.sbin/pppd usr.sbin/pwd_mkdb usr.sbin/rebound usr.sbin/smtpd usr.sbin/sysmerge usr.sbin/tcpdump usr.sbin/vmctl usr.sbin/wsconscfg == Makefile.cross ==================================================== 01/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/Makefile.cross Makefile.cross > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) == bin =============================================================== 02/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ln ~ ln.c > Fix operator precedence error; OK guenther@ millert@ (tim@) == distrib =========================================================== 03/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ 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.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.zaurus ~ lists/comp/md.alpha ~ lists/comp/md.amd64 ~ lists/comp/md.armish ~ lists/comp/md.armv7 ~ lists/comp/md.hppa ~ lists/comp/md.hppa64 ~ lists/comp/md.i386 ~ lists/comp/md.landisk ~ lists/comp/md.loongson ~ lists/comp/md.luna88k ~ lists/comp/md.macppc ~ lists/comp/md.octeon ~ lists/comp/md.sgi ~ lists/comp/md.socppc ~ lists/comp/md.sparc ~ lists/comp/md.sparc64 ~ lists/comp/md.zaurus > sync (deraadt@) ~ lists/base/mi > sync (deraadt@) - lists/base/md.hppa64 - lists/comp/md.hppa64 - lists/etc/md.hppa64 - lists/game/md.hppa64 - lists/man/md.hppa64 ~ lists/man/mi > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) ~ lists/etc/mi > Remove handling of /etc/examples/ files by sysmerge(8). Getting regular > messages > about pkg.conf isn't really that helpful and if a big syntax change comes > along > well we have current.html. > it was disabled during p2k16 and no one complained so far > discussed with and ok deraadt@ (ajacoutot@) ~ lists/base/mi ~ lists/man/mi > some misplaced man pages spotted by aja (deraadt@) special ~ installboot/Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) == etc =============================================================== 04/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc Makefile ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) ~ Makefile > Remove handling of /etc/examples/ files by sysmerge(8). Getting regular > messages > about pkg.conf isn't really that helpful and if a big syntax change comes > along > well we have current.html. > it was disabled during p2k16 and no one complained so far > discussed with and ok deraadt@ (ajacoutot@) etc.hppa64/MAKEDEV - etc.hppa64/MAKEDEV > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/MAKEDEV.md - etc.hppa64/MAKEDEV.md > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/Makefile - etc.hppa64/Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/Makefile.inc - etc.hppa64/Makefile.inc > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/disktab - etc.hppa64/disktab > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/fbtab - etc.hppa64/fbtab > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/login.conf - etc.hppa64/login.conf > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/sysctl.conf - etc.hppa64/sysctl.conf > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) etc.hppa64/ttys - etc.hppa64/ttys > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) mail/spamd.conf ~ mail/spamd.conf > Alas all good things come to an end. The U of A traplist is going away as > the University of Alberta moves away from running a spamd fronted MX, > so there is no more source for this traplist anymore. (beck@) ~ mail/spamd.conf > remove uatraps from "all" as well > ok beck@ (jsg@) mtree/4.4BSD.dist ~ mtree/4.4BSD.dist > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) rc ~ rc > unhphenate the world: re-order -> reorder > sthen does not object (jmc@) root/root.mail ~ root/root.mail > crank to 6.0-beta (deraadt@) ~ root/root.mail > switch ftp:// mirror to http:// (tj@) ~ root/root.mail > another ftp:// to http:// (tj@) signify/openbsd-61-base.pub + signify/openbsd-61-base.pub > add openbsd 6.1 base key (deraadt@) signify/openbsd-61-fw.pub + signify/openbsd-61-fw.pub > add 6.1 firmware key (sthen@) signify/openbsd-61-pkg.pub + signify/openbsd-61-pkg.pub > add OpenBSD 6.1 packages key (naddy@) == gnu =============================================================== 05/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/perl ~ cpan/OpenBSD-MkTemp/lib/OpenBSD/MkTemp.pm ~ cpan/OpenBSD-MkTemp/t/OpenBSD-MkTemp.t > Correct return value of OpenBSD::MkTemp in scalar context > From Francesco Toscan < f.toscan AT hotmail DOT it > > ok guenther@ (afresh1@) == include =========================================================== 06/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include signal.h ~ signal.h > Remove sigreturn declaration and the now-unused libc syscall stub > (guenther@) == lib =============================================================== 07/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib csu - hppa64/md_init.h > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) libc ~ arch/sparc64/gen/sigsetjmp.S > Simplify sig{set,long}jmp(): just Do The Job instead of calling others > ok kettenis@ (guenther@) ~ arch/sparc64/Symbols.list ~ arch/sparc64/fpu/Makefile.inc ~ arch/sparc64/fpu/fpu_explode.c ~ arch/sparc64/fpu/fpu_extern.h ~ arch/sparc64/fpu/fpu_q.h ~ arch/sparc64/fpu/fpu_qp.c > Hide __fpu_* and make internal _Qp_* calls go direct. > ok kettenis@ (guenther@) ~ arch/powerpc/gen/setjmp.S > No, sigaltstack's onstack flag shouldn't be saved. Delete comment > wondering about that (guenther@) ~ arch/mips64/gen/_setjmp.S ~ arch/mips64/gen/setjmp.S ~ arch/mips64/gen/sigsetjmp.S > Implement longjmp directly and not on top of sigreturn. > Use the hidden symbols for internal calls to abort, longjmp, etc > ok deraadt@ (guenther@) ~ db/man/hash.3 > remove mention of dbm(3) and surrounding cruft; ok jmc@ (naddy@) ~ arch/sparc/gen/setjmp.S > Don't use sigreturn(2) in longjmp(3). Instead use a similar approach as in > _longjmp(3) but also restore the signal mask. > ok deraadt@ (kettenis@) ~ arch/alpha/gen/_setjmp.S ~ arch/alpha/gen/setjmp.S ~ arch/alpha/gen/sigsetjmp.S > Stop using sigreturn for longjmp, just set the signal mask and return > registers ala _longjmp. In setjmp, stop saving the onstack from > sigaltstack > as it's been unused by longjmp for years. > In sig{set,long}jmp, use the internal, hidden names for setjmp/_setjmp/etc > to avoid creating PLT entries. > build testing deraadt@ (guenther@) - arch/alpha/sys/sigreturn.S - arch/amd64/sys/sigreturn.S - arch/arm/sys/sigreturn.S - arch/hppa/sys/sigreturn.S - arch/hppa64/sys/sigreturn.S - arch/i386/sys/sigreturn.S - arch/m88k/sys/sigreturn.S - arch/mips64/sys/sigreturn.S - arch/powerpc/sys/sigreturn.S - arch/sh/sys/sigreturn.S - arch/sparc/sys/sigreturn.S - arch/sparc64/sys/sigreturn.S ~ hidden/signal.h ~ sys/Makefile.inc > Remove sigreturn declaration and the now-unused libc syscall stub > (guenther@) ~ sys/sigreturn.2 > libc stub is gone, so update the description to cover the remaining use > (guenther@) ~ include/cancel.h > Oops: the caching of TCB address in single-threaded processes on archs with > slow TCB_GET (alpha, arm, mips64, sh) was broken when I switched CPP > symbols. (guenther@) ~ string/strstr.3 > Add RETURN VALUES section and .Xr to memmem(3). > From Michal Mazurek <akfaew at jasminek dot net>. > OK tedu@ (schwarze@) - arch/hppa64/DEFS.h - arch/hppa64/Makefile.inc - arch/hppa64/SYS.h - arch/hppa64/gdtoa/Makefile.inc - arch/hppa64/gdtoa/arith.h - arch/hppa64/gdtoa/gd_qnan.h - arch/hppa64/gen/Makefile.inc - arch/hppa64/gen/fabs.c - arch/hppa64/gen/flt_rounds.c - arch/hppa64/gen/fpgetmask.c - arch/hppa64/gen/fpgetround.c - arch/hppa64/gen/fpgetsticky.c - arch/hppa64/gen/fpsetmask.c - arch/hppa64/gen/fpsetround.c - arch/hppa64/gen/fpsetsticky.c - arch/hppa64/gen/infinity.c - arch/hppa64/gen/nan.c - arch/hppa64/gen/setjmp.S - arch/hppa64/net/Makefile.inc - arch/hppa64/string/Makefile.inc - arch/hppa64/sys/Ovfork.S - arch/hppa64/sys/brk.S - arch/hppa64/sys/sbrk.S - arch/hppa64/sys/sigpending.S - arch/hppa64/sys/sigprocmask.S - arch/hppa64/sys/sigsuspend.S - arch/hppa64/sys/syscall.S - arch/hppa64/sys/tfork_thread.S ~ gen/__tfork_thread.3 > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) ~ arch/amd64/gen/_setjmp.S ~ arch/amd64/gen/setjmp.S ~ arch/amd64/gen/sigsetjmp.S > Using a 3-word buffer in the openbsd.randomdata segment, XOR swizzle > the PC/FP/SP registers in the jmpbuf. An old idea (around 1999?) but > the random segment sure makes it easy. Lots of help from kettenis > ok kettenis (deraadt@) ~ gen/sysctl.3 > remove extra argument; from rafael neves (jmc@) ~ arch/powerpc/Makefile.inc ~ arch/powerpc/SYS.h ~ arch/powerpc/sys/brk.S ~ arch/powerpc/sys/sbrk.S ~ arch/powerpc/sys/sigprocmask.S ~ arch/powerpc/sys/tfork_thread.S > TIB conversion is complete, so set errno in the syscall stub and eliminate > __cerror > ok ketternis@ (guenther@) ~ arch/powerpc/gen/setjmp.S ~ arch/powerpc/gen/sigsetjmp.S > Add END() to match ENTRY() macros > ok kettenis@ (guenther@) libcrypto - crypto/arch/hppa64/opensslconf.h > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) libedit ~ readline.c > Make the history_set_pos() return values agree with the GNU implementation. > Patch from Bastian Maerkisch <bmaerkisch at web dot de> > with a minor tweak from Christos Zoulas. > Fixes the test_set_pos_return_values() regression test. > OK czarkoff@, > also proofread by zhuk@ and by Christian Heckendorf <mbie at ulmus dot me>. > (schwarze@) ~ readline.c > Change where_history() to agree with the GNU implementation: > Return 0 for the oldest entry and increment by 1 for each newer, > non-deleted entry. > This fixes the test_where() regression test. > OK czarkoff@. (schwarze@) ~ readline.c > Fix stifle_history(): Remove excessive entries, if any. > Based on a patch from Bastian Maerkisch <bmaerkisch at web dot de>, > with an additional fix for a memory leak by me. > OK czarkoff@ (schwarze@) ~ readline.c > Fix history_get(): > * Respect history_base. > * Bail out early for arguments that are too small. > * Select entry by readline offset, not by editline event number. > * Restore history cursor in case of failure. > This fixes the test_remove() regression test. > Based on a patch from Bastian Maerkisch <bmaerkisch at web dot de>. > Dmitrij Czarkoff pointed out a flaw in it that i fixed. > OK czarkoff@. (schwarze@) ~ editline.3 ~ editline.7 ~ readline.c > Fix next_history() and previous_history(): > * The meaning of "next" and "previous" is exchanged in readline(3) with > respect to editline(3); this part of the patch from Bastian Maerkisch. > * next_history() can move beyond the newest entry; issue pointed out > by Bastian Maerkisch, fix by me. > While here, make the documentation of ed-next-history, ed-prev-history, > H_NEXT, and H_PREV more precise. > OK czarkoff@. (schwarze@) - editline.c ~ Makefile ~ sys.h > Enable separate compilation while keeping internal interfaces hidden. > Simplifies the build system and prevents modules > from stomping on each other's static symbols. > Based on a hint from guenther@, > using feedback from kettenis@ and deraadt@. (schwarze@) libexpat ~ Changes ~ README ~ doc/reference.html ~ examples/elements.c ~ lib/amigaconfig.h ~ lib/expat.h ~ lib/xmlparse.c > update libexpat to 2.1.1. > ok deraadt@ (thanks to sebastian[@]pipping[.]org for information). > (rpointel@) ~ lib/xmlparse.c > re-add the check we have in revision 1.12. > ok jca@ (thanks). (rpointel@) libkvm ~ kvm.c ~ kvm_proc.c > convert bcopy to memcpy. ok dlg millert (tedu@) - kvm_hppa64.c > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) ~ kvm.c > Revert previous commit. Converting bcopy into memcpy is never safe when > there is a big fat comment saying "Avoid alignment issues" immediately > above them. (kettenis@) libm ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) - arch/hppa64/fenv.c > more hppa64 cleaning (deraadt@) libpcap ~ pcap-bpf.c > Use /dev/bpf0 instead of /dev/bpf (without loop though), as suggested by > sthen@. to make remote upgrades without media less painful. > ok tb@ (natano@) librthread - arch/hppa64/_atomic_lock.c > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) libtls ~ tls_init.3 > Fix mangled function signatures. > From Carlin Bingham <cb at viennan dot net>, thanks! (jsing@) == libexec =========================================================== 08/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ ldconfig/prebind.c > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) - hppa64/Makefile.inc > more hppa64 cleaning (deraadt@) == regress =========================================================== 09/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress etc ~ MAKEDEV/Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) lib ~ libpthread/Makefile + libpthread/dlopen/Makefile + libpthread/dlopen/dlopen.c > Test that various calls can be interrupted in a non-threaded process, > then dlopen() libpthread and do that again in a second thread, > and then verify that they're all correctly acting as cancellation points. > (guenther@) ~ libpthread/pthread_kill/pthread_kill.c > In a signal handler use snprintf()+local buffer instead of asprintf+free > (guenther@) ~ libedit/read/test_getcmd.c > adapt to recently changed internal interface of read_getcmd() (schwarze@) ~ libedit/Makefile > Enable the readline(3) regression test provided by Bastian Maerkisch, > all bugs tested so far have been fixed. (schwarze@) sys ~ copy/Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) usr.bin ~ mdoclint/mdoclint > no more hppa64; (jmc@) == sbin ============================================================== 10/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin bioctl ~ bioctl.c > overzealous use of errx() hides useful information about errors. > ok benno millert (tedu@) dhclient ~ bpf.c > Use /dev/bpf0 instead of /dev/bpf (without loop though), as suggested by > sthen@. to make remote upgrades without media less painful. > ok tb@ (natano@) ifconfig ~ brconfig.h > Do not print MPSAFE when the corresponding bit is set on the interface > flags. > This read-only flag is a hint for the network stack and does not matter > for end user, in fact exposing it just creates confusion. > ok kettenis@, deraadt@ (mpi@) init ~ init.c > Do not close the stdio file desciptors in init(8), but dup2(2) them > from /dev/null. The code is taken from daemon(3). Also move this > operation to the beginning. > OK millert@ deraadt@ (bluhm@) kbd ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) reboot ~ reboot.8 > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) wsconsctl ~ Makefile > more hppa64 cleaning (deraadt@) == share ============================================================= 11/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/chvgpio.4 > spelling; (jmc@) ~ man9/bpf_mtap.9 > the bpf_mtap functions take const struct mbuf *s now (dlg@) - man4/man4.hppa64/Makefile - man8/man8.hppa64/MAKEDEV.8 - man8/man8.hppa64/Makefile - man8/man8.hppa64/boot_hppa64.8 ~ man4/Makefile ~ man7/mdoc.7 ~ man8/Makefile ~ man8/diskless.8 > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) ~ man5/pf.conf.5 > unhphenate the world: re-order -> reorder > sthen does not object (jmc@) mk ~ sys.mk > crank to 6.0-beta (deraadt@) ~ bsd.lib.mk > make 'make clean' clean up the .ldadd file, in case LIBREBUILD was set > ok deraadt@ (guenther@) == sys =============================================================== 12/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys sys ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch - hppa64/Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/alpha/alpha ~ locore.s ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ machdep.c > Add the sigcontext cookie clearing block, which was missed in the previous > commit. (deraadt@) ~ cpu.c ~ vm_machdep.c > Implement TCB_{GET,SET} using PAL_{rd,wr}unique. > Inline asm from NetBSD > testing deraadt@ (guenther@) arch/alpha/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ alpha_cpu.h ~ proc.h ~ tcb.h > Implement TCB_{GET,SET} using PAL_{rd,wr}unique. > Inline asm from NetBSD > testing deraadt@ (guenther@) arch/amd64/amd64 ~ locore.S > Fill Xen hypercall page with int3's like the hypervisor does. > Idea from deraadt@ and mlarkin@. (mikeb@) ~ locore.S ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/amd64/include ~ cpu.h > 2nd identical definition of PROC_PC macro is not needed > from miod (deraadt@) ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/amd64/pci ~ pci_machdep.c > Fix typo; M_NOWAIT should be EX_NOWAIT. Fortunately this was harmless. > (kettenis@) arch/amd64/stand/efi - include/README - include/efi.h - include/efi_nii.h - include/efiapi.h - include/eficon.h - include/eficonsctl.h - include/efidebug.h - include/efidef.h - include/efidevp.h - include/efierr.h - include/efifpswa.h - include/efifs.h - include/efigop.h - include/efinet.h - include/efipart.h - include/efiprot.h - include/efipxebc.h - include/efiser.h - include/efistdarg.h - include/amd64/efibind.h - include/i386/efibind.h > Move EFI header files to a location where they can be used on other > architectures besides amd64. > ok deraadt@, krw@ (kettenis@) arch/amd64/stand/efiboot ~ Makefile.common > Move EFI header files to a location where they can be used on other > architectures besides amd64. > ok deraadt@, krw@ (kettenis@) ~ efiboot.c > Give the 32-bit and 64-bit EFI boatloaders different names such that we can > tell which one we're using. > ok deraadt@, krw@ (kettenis@) arch/arm/arm ~ sig_machdep.c ~ sigcode.S > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/arm/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/armv7/imx ~ imxesdhc.c > Add DMA support. It uses ADMA2 "Internal DMA" that is compatible with the > SD Host Controller standard. > ok patrick@ (kettenis@) ~ imxesdhc.c > Map the ADMA2 descriptor table use BUS_DMA_COHERENT and add a missing > bus_dmamap_sync(9). Doesn't really fix anything, but adding the missing > sync makes the code more correct. Using BUS_DMA_COHERENT avoids some > cache flushes. (kettenis@) arch/armv7/include ~ loadfile_machdep.h > Load the kernel at the address pre-allocated by the EFI bootloader. > (kettenis@) arch/armv7/stand/efiboot + Makefile + conf.c + efiboot.c + efiboot.h + eficall.h + efidev.c + efidev.h + exec.c + heap.h + ldscript.arm + libsa.h + self_reloc.c > Initial stab at an EFI bootloader for armv7. Bits and pieces from FreeBSD > and our amd64 EFI bootloader. The current code works on a 2GB CuBox-i, > but probably not on anything else. It needs a u-boot with EFI loader > support. (kettenis@) + start.S > Need some startup assembly code as well. (kettenis@) ~ exec.c > Tell the kernel where its symbols are. (kettenis@) ~ efiboot.c > Make getsecs() return 0 if EFI doesn't tell us the time. (kettenis@) ~ conf.c ~ efiboot.c ~ exec.c > Handle boot options, and pass the boot device to the kernel. The boot > device > is currently hardcoded to be sd0. Still need to figure out how we will do > proper boot device selection when we start using the FDT. (kettenis@) ~ efiboot.c ~ exec.c > Since GetTime() doesn't work on U-Boot, use timer events to simulate a > clock > that ticks at every second. This makes the boot prompt timeout work. > (kettenis@) arch/hppa/hppa ~ locore.S ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/hppa/include ~ cpu.h > The hppa trapframe PC is marked (in the low two bits) to indicate a > userland addressspace address. Those bits should be masked to > callers of the PROC_PC() macro. > ok kettenis (deraadt@) ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/hppa64/compile - .cvsignore > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/conf - GENERIC - Makefile.hppa64 - RAMDISK - files.hppa64 - ld.script > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/dev - apic.c - astro.c - clock.c - com_ssio.c - cpu.c - elroy.c - elroyreg.h - elroyvar.h - lpt_ssio.c - mem.c - pdc.c - power.c - ssio.c - ssiovar.h > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/hppa64 ~ locore.S ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) - autoconf.c - conf.c - db_disasm.c - db_interface.c - disksubr.c - fpu.c - genassym.cf - in_cksum.c - intr.c - locore.S - machdep.c - mainbus.c - mutex.c - pmap.c - process_machdep.c - sys_machdep.c - trap.c - vm_machdep.c - wscons_machdep.c > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) - _float.h - _types.h - asm.h - atomic.h - autoconf.h - bus.h - cdefs.h - conf.h - cpu.h - cpufunc.h - db_machdep.h - disklabel.h - endian.h - exec.h - fenv.h - fpu.h - frame.h - ieee.h - ieeefp.h - intr.h - iomod.h - kcore.h - limits.h - loadfile_machdep.h - lock.h - mutex.h - nvm.h - param.h - pcb.h - pci_machdep.h - pdc.h - pmap.h - proc.h - profile.h - psl.h - pte.h - ptrace.h - rbus_machdep.h - reg.h - reloc.h - setjmp.h - signal.h - spinlock.h - stdarg.h - tcb.h - trap.h - varargs.h - vmparam.h > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/stand - Makefile - Makefile.inc > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/stand/boot - Makefile - boot.8 - conf.c - exec.c - ld.script - srt0.S > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/stand/cdboot - Makefile - cdboot.c - ld.script > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/stand/libsa - Makefile - cmd_hppa64.c - ct.c - dev_hppa64.c - dev_hppa64.h - dk.c - itecons.c - lf.c - libsa.h - lif.c - machdep.c - pdc.c - time.c > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/stand/libz - Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/hppa64/stand/mkboot - Makefile - mkboot.8 - mkboot.c > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) arch/i386/i386 ~ locore.s ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/i386/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/m88k/m88k ~ sig_machdep.c ~ subr.S > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/macppc/dev ~ smu.c > Return correct rpm values for all fans. > ok kettenis (mglocker@) ~ smu.c > Add support for pwm fans. > ok kettenis (mglocker@) ~ smu.c > Move rpm read to a own function analog pwm read. No functional change. > ok kettenis (mglocker@) arch/macppc/macppc ~ locore.S ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ machdep.c > fix sigcookie value, address was off due to trapframe nesting > notice by miod (deraadt@) arch/macppc/stand/tbxidata ~ bsd.tbxi > crank to 6.0-beta (deraadt@) arch/mips64/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ pmap.h > Another attempt to make the mips64 pmap MP-safe. Now at least > pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) should be > safe to use without the kernel lock. > No objection from deraadt@ (visa@) arch/mips64/mips64 ~ lcore_access.S ~ sendsig.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ pmap.c > Another attempt to make the mips64 pmap MP-safe. Now at least > pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) should be > safe to use without the kernel lock. > No objection from deraadt@ (visa@) arch/powerpc/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/sh/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/sh/sh ~ locore_subr.S ~ sh_machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ sh_machdep.c > delete SROP mitigation debug code; it works (deraadt@) arch/socppc/socppc ~ locore.S ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ machdep.c > fix sigcookie value, address was off due to trapframe nesting > notice by miod (deraadt@) arch/sparc/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/sparc/sparc ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ locore.s ~ machdep.c > fix compile issues in MD sigreturn(2) > OK deraadt@ (phessler@) arch/sparc64/include ~ signal.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) arch/sparc64/sparc64 ~ locore.s ~ machdep.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) conf ~ newvers.sh > crank to 6.0-beta (deraadt@) dev ~ audio.c > Dont reuse "mult" local variable. Use separate variable for hardware > block size multiplier (in bytes) and for the driver block size > multiplier (in frames). No behaviour change. (ratchov@) ~ audio.c > Use round_blocksize() to determine the maximum hardware block size (in > bytes) then, adjust the block size accordingly. Fixes zaudio(4) not > starting when large blocks are requested. Found and reported by > Andre Smagin <as at smagin.com>, thanks. (ratchov@) dev/acpi ~ dsdt.h > Add macros for interrupt trigger mode as encoded in GPIO resources. > (kettenis@) ~ bytgpio.c ~ chvgpio.c > Plug some memory leaks and do proper cleanup in error paths. (kettenis@) ~ acpi.c ~ amltypes.h > Make sure devices listed by a device's _DEP method are attached before > we attach the device itself. The _DEP methode, introduced in ACPI 5.0, > is a hint that the device in question depends on OpRegion support from > the devices listed by _DEP, so we have to order them the proper way. > To prevent us from attaching those devices again when we encounter them > later walking down the device tree, keep track of our attempts to > attach a device driver to them using aflag in the aml_node structure. > ok guenther@ (kettenis@) ~ amltypes.h ~ bytgpio.c ~ chvgpio.c ~ dsdt.c > Add support for writing gpio pins. (kettenis@) ~ chvgpio.c > Call _REG to register GeneralPuproseIo address space support. (kettenis@) ~ chvgpio.c > Add support for level, active low gpio interrupts. (kettenis@) dev/i2c ~ ds1631.c > If writing the control register fails, bail out without attaching any > sensors. > From Marcus Glocker, who has an Apple G5 machine where an advertised sensor > isn't there, and plodding on creates annoying dmesg spam. (kettenis@) dev/ic ~ qlareg.h ~ qla.c > make qla_iocb_seg structs 4 byte aligned and use htolem32 to set it. > shaves ~256 bytes off of qla_put_data_seg on sparc64 > ok kettenis@ jmatthew@ (dlg@) dev/microcode ~ atmel/Makefile ~ bnx/Makefile ~ fxp/Makefile ~ kue/Makefile ~ myx/Makefile ~ ral/Makefile ~ rum/Makefile ~ symbol/Makefile ~ tht/Makefile ~ tigon/Makefile ~ tusb3410/Makefile ~ typhoon/Makefile ~ udl/Makefile ~ yds/Makefile ~ zydas/Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) dev/pci ~ maestro.c > Unbreak build when AUDIO_DEBUG is defined: fix printf(9) format > mistakes. (ratchov@) dev/sdmmc ~ sdmmc_io.c > Remove bogus rw_exit() call. (kettenis@) ~ sdhc.c > Sync with the ADMA2 implementation in imxesdhc(4): > Map the ADMA2 descriptor table use BUS_DMA_COHERENT and add a missing > bus_dmamap_sync(9). Doesn't really fix anything, but adding the missing > sync makes the code more correct. Using BUS_DMA_COHERENT avoids some > cache flushes on architectures that implement it. (kettenis@) kern ~ exec_elf.c ~ init_main.c ~ kern_exec.c > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ init_main.c ~ subr_log.c > If sendsyslog(2) is called with LOG_CONS before syslogd(8) has been > started and before init(8) has opened the console, the kernel could > crash as the console device has not been initialized. Open > /dev/console in the kernel before starting init(8) and keep it open. > This way sendsyslog(2) can be called early in the system. > OK beck@ deraadt@ (bluhm@) ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) ~ kern_event.c > contrary to documentation and other implementations, kevent was preventing > a process from watching other users' procs. but there are no secrets here. > remove that check. > at the same time, note that as far as pledge is concerned, while most of > kevent is a "stdio" type operation, process monitoring belongs to the > "proc" family, so add an additional check here. > ok deraadt millert (tedu@) ~ kern_pledge.c ~ vfs_syscalls.c > remove chroot(2) from allowed syscalls under pledge(2). > please note that chrooted process are still possible with pledge(2), but > only > if the chroot(2) is done *before* calling pledge(2). Once pledged, no more > chroot(2) call are permitted. (semarie@) lib/libkern - arch/hppa64/Makefile - arch/hppa64/bcopy.S - arch/hppa64/bcopy.m4 - arch/hppa64/memcpy.S - arch/hppa64/memmove.S - arch/hppa64/milli.S - arch/hppa64/spcopy.S > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) net ~ if.c > Do not export the IFXF_MPSAFE flag to userland, it is a kernel-only > hint. > ok kettenis@, deraadt@ (mpi@) ~ if.c > make bpf_mtap callers set the M_FILDROP flag if they care about it. > ok mpi@ (dlg@) ~ bpf.c ~ bpf.h > make the bpf tap functions take const struct mbuf * > this makes it more obvious that the bpf code should only read > packets, never modify them. > now possible because the paths that care about M_FILDROP set it > after calling bpf_mtap. > ok mpi@ visa@ deraadt@ (dlg@) net80211 ~ ieee80211_input.c > make bpf_mtap callers set the M_FILDROP flag if they care about it. > ok mpi@ (dlg@) ~ ieee80211.h > Fix "comma at end of enumerator list" warnings > Sure stsp@ (dcoppa@) stand + efi/include/README + efi/include/efi.h + efi/include/efi_nii.h + efi/include/efiapi.h + efi/include/eficon.h + efi/include/eficonsctl.h + efi/include/efidebug.h + efi/include/efidef.h + efi/include/efidevp.h + efi/include/efierr.h + efi/include/efifpswa.h + efi/include/efifs.h + efi/include/efigop.h + efi/include/efinet.h + efi/include/efipart.h + efi/include/efiprot.h + efi/include/efipxebc.h + efi/include/efiser.h + efi/include/efistdarg.h + efi/include/amd64/efibind.h + efi/include/i386/efibind.h > Move EFI header files to a location where they can be used on other > architectures besides amd64. > ok deraadt@, krw@ (kettenis@) + efi/include/arm/efibind.h > Add an efibind.h for arm; from FreeBSD. (kettenis@) sys ~ sysctl.h > rename an unused field in struct kinfo_file (it related to systrace..) > (deraadt@) ~ proc.h > SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie > inside the sigcontext. sigreturn(2) checks syscall entry was from the > exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, > and clears it to prevent sigcontext reuse. > not yet tested on landisk, sparc, *88k, socppc. > ok kettenis (deraadt@) ~ systm.h > If sendsyslog(2) is called with LOG_CONS before syslogd(8) has been > started and before init(8) has opened the console, the kernel could > crash as the console device has not been initialized. Open > /dev/console in the kernel before starting init(8) and keep it open. > This way sendsyslog(2) can be called early in the system. > OK beck@ deraadt@ (bluhm@) ~ param.h > crank to 6.0-beta (deraadt@) ufs/ffs ~ ffs_vfsops.c > FFS2 does lazy inode initialization, so try harder to avoid using > random data on the disk as an inode. Thus avoiding crashes when > translating a bogus filehandle to a vnode. Yes, I'm looking at you, > NFS! > Adapted from a diff by Christos Zoulas via NetBSD, pointed out by > kurt@. > ok beck@ (krw@) uvm ~ uvm_amap.c ~ uvm_amap.h ~ uvm_anon.c ~ uvm_anon.h ~ uvm_fault.c ~ uvm_stat.c ~ uvmexp.h > Wait for RAM in uvm_fault when allocating uvm structures fails > Only fail hard when running out of swap space also, as suggested by > kettenis@ > While there, let amap_add() return a success status and handle > amap_add() errors in uvm_fault() similar to other out of RAM situations. > These bits are needed for further amap reorganization diffs. > lots of feedback and ok kettenis@ (stefan@) ~ uvm_amap.c ~ uvm_amap.h ~ uvm_map.c > Additional parameter for amap_alloc(). > It is supposed to control whether an amap should allocate memory > to store anon pointers lazily or upfront. Needed for upcoming amap > changes. > ok kettenis@ (stefan@) ~ uvm_mmap.c > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) == usr.bin =========================================================== 13/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin gprof - hppa64.c - hppa64.h > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) make ~ parse.c > have sinclude/include be more compatible with sysv, handle list of files > small improvement and okay millert@ (espie@) mklocale ~ mklocale.1 ~ yacc.y > Delete encoding code for the unused TODIGIT information. > I'm not aware of plans to add any TODIGIT support, > and when shown on tech@, people were more or less indifferent > and showed confusion about what this code even did. > But the encoding code was buggy, in particular lacking validity > checks, and hence clobbered other important data, in particular > character type and character width data, with consequences that > are hard to judge. (schwarze@) passwd ~ local_passwd.c > Switch to getpwnam_shadow() now that getpwnam() no longer opens the shadow > database; OK deraadt@ sthen@ (tim@) rcs ~ rcs.c ~ rcs.h > Implement Mdocdate keyword substitution. > In particular, this stops rcsdiff(1) and CVSweb from showing > wrong Mdocdate lines in diffs. > Problem originally reported by tj@. > OK tobias@ otto@ millert@ (schwarze@) signify ~ signify.1 > signify should refer to the future key (deraadt@) tmux ~ alerts.c > Add on alerts rather than ignoring them if the event has already been > queued, for example bell and activity together. From Marcel Lippmann via > Romain Francoise. (nicm@) ~ cmd-set-hook.c > set-hook needs CANFAIL like the other set commands. (nicm@) ~ cfg.c ~ cmd-source-file.c ~ tmux.1 ~ tmux.h > - Rework load_cfg() error handling a little. > - Add -q to source-file to suppress errors about nonexistent files. > Input and OK nicm@ (tim@) top ~ machine.c ~ top.1 > Allow top(1) to filter process args if they are being displayed. > OK tedu@, deraadt@, and with input from Michal Mazurek. > Thanks (edd@) wall ~ wall.c ~ wall.1 > Enable UTF-8 detection in wall(1). This deliberately ignores UTF-8 > characters > and replaces them with a single question mark. Similar to write(1). > code OK and tweaks schwarze@ > man page adjustment by schwarze@ and OK jmc@ (martijn@) ~ wall.c > The header <vis.h> is no longer needed; ok martijn@. (schwarze@) xinstall ~ install.1 ~ xinstall.c > Add -F option to install(1) that calls fsync(2) on the installed > file right before closing it. OK tedu@ phessler@ (millert@) ~ install.1 > -F is nonstandard as well. from Caspar Schutijser (tedu@) ~ install.1 ~ xinstall.c > spelling and usage() fixes; (jmc@) == usr.sbin ========================================================== 14/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin eigrpd ~ eigrpd.c ~ eigrpe.c ~ rde.c > Improve support for config reloading. (renato@) ~ eigrpe.c > Disable EIGRPv6 on an interface when it loses its link-local address. > (renato@) hotplugd ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) httpd ~ httpd.conf.5 > in the http redirect example, also include the requested url instead > of just going to the home page. > requested by and ok beck (tj@) installboot - hppa64_installboot.c ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) pcidump ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) pkg_add ~ OpenBSD/ArcCheck.pm > allow root files to be root-writable. > common work with aja@, okay aja@ (espie@) ~ OpenBSD/ProgressMeter/Term.pm > stop depending on *.ph > use Term::ReadKey > a bit of funky stuff while old ports Term::ReadKey is around (espie@) ~ OpenBSD/PkgSign.pm > prepare for API tweaks of OpenBSD::MkTemp > okay afresh1@ (espie@) ~ OpenBSD/ProgressMeter/Term.pm > go deeper in Term::ReadKey, we don't need smart guesses. > okay afresh@/millert@ (espie@) ~ OpenBSD/PkgInfo.pm > add a stub log for signify, problem noticed by tedu (espie@) ~ pkg_add.1 > ftp:// -> http:// for main ftp site example. (tj@) ~ OpenBSD/ArcCheck.pm > use twice the same code for prepare_long and verify_modes so that it can't > diverge. > tested for a few days and okay aja@ (espie@) ~ OpenBSD/ProgressMeter/Term.pm > set glitch correctly (espie@) pppd ~ auth.c > need to use shadow passwd function here, reminded by sthen (tedu@) pwd_mkdb ~ pwd_mkdb.8 > remove mention of dbm(3) and surrounding cruft; ok jmc@ (naddy@) rebound ~ rebound.c > fix logging. > 1. va must be restarted before reuse. > 2. don't syslog in debug. assume someone is watching stderr. (tedu@) smtpd ~ smtp_session.c > The "loop detected" message should not print the errno string. > OK gilles@ (millert@) ~ smtpd.conf.5 > mention ca option in listen directive > same spelling fix from jmc and gilles > ok gilles (jung@) sysmerge ~ sysmerge.8 ~ sysmerge.sh > Remove handling of /etc/examples/ files by sysmerge(8). Getting regular > messages > about pkg.conf isn't really that helpful and if a big syntax change comes > along > well we have current.html. > it was disabled during p2k16 and no one complained so far > discussed with and ok deraadt@ (ajacoutot@) ~ sysmerge.sh > Be gone /var/sysmerge/examplessum. (ajacoutot@) tcpdump ~ privsep_pcap.c ~ tcpdump.8 > Use /dev/bpf0 instead of /dev/bpf (without loop though), as suggested by > sthen@. to make remote upgrades without media less painful. > ok tb@ (natano@) vmctl ~ vmctl.c > typo in comment (mlarkin@) ~ main.c ~ vmctl.c > move some argument checking from vmmaction() to start_vm() > from a diff posted to tech@ by Fabien Siron, thanks. (mlarkin@) wsconscfg ~ Makefile > remove hppa64 port, which we never got going beyond broken single users. > hppa reverse-stack gives us a valuable test case, but most developers don't > have a 2nd one to proceed further with this. > ok kettenis (deraadt@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
