OpenBSD src changes summary for 2017-06-11 to 2017-06-18 inclusive ==================================================================
bin/csh distrib/amd64 distrib/i386 distrib/sets distrib/sgi distrib/special etc/Makefile etc/etc.amd64/disktab etc/etc.i386/disktab etc/etc.sgi/disktab etc/rc games/fortune games/hunt games/wargames gnu/lib/libiberty gnu/lib/libobjc gnu/lib/libstdc++ gnu/usr.bin/binutils gnu/usr.bin/binutils-2.17 gnu/usr.bin/cc gnu/usr.bin/cvs gnu/usr.bin/gcc gnu/usr.bin/texinfo lib/libc lib/libcrypto lib/libcurses lib/libedit lib/librpcsvc lib/libz regress/bin regress/usr.bin sbin/dhclient sbin/init sbin/isakmpd sbin/ldattach sbin/pfctl sbin/pflogd sbin/reboot sbin/route sbin/wsconsctl share/dict share/man share/misc share/mk share/snmp share/tabset share/tmac sys/arch/alpha/conf sys/arch/alpha/stand/boot sys/arch/alpha/stand/bootxx sys/arch/alpha/stand/netboot sys/arch/amd64/conf sys/arch/arm64/conf sys/arch/armv7/armv7 sys/arch/armv7/conf sys/arch/armv7/stand/efiboot sys/arch/hppa/conf sys/arch/i386/conf sys/arch/i386/include sys/arch/landisk/conf sys/arch/loongson/conf sys/arch/loongson/include sys/arch/luna88k/conf sys/arch/luna88k/dev sys/arch/macppc/conf sys/arch/macppc/macppc sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/octeon/conf sys/arch/octeon/dev sys/arch/octeon/include sys/arch/octeon/octeon sys/arch/sgi/conf sys/arch/sgi/include sys/arch/socppc/conf sys/arch/sparc64/conf sys/dev sys/dev/ic sys/dev/pci sys/dev/pckbc sys/dev/pv sys/dev/usb sys/dev/wscons sys/kern sys/msdosfs sys/net sys/netinet sys/sys usr.bin/at usr.bin/awk usr.bin/infocmp usr.bin/ktrace usr.bin/m4 usr.bin/mandoc usr.bin/nc usr.bin/patch usr.bin/ssh usr.bin/systat usr.bin/tic usr.bin/tmux usr.bin/tset usr.bin/vi usr.sbin/bind usr.sbin/crunchgen usr.sbin/ifstated usr.sbin/mailwrapper usr.sbin/nsd usr.sbin/pcidump usr.sbin/radiusd usr.sbin/rpc.lockd usr.sbin/rpc.statd usr.sbin/tcpdump usr.sbin/vmd usr.sbin/wsfontload usr.sbin/ypbind usr.sbin/ypserv == bin =============================================================== 01/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin csh ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) ~ file.c > Move win variable. > ok deraadt@ tb@ (anton@) == distrib =========================================================== 02/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib amd64 ~ iso/Makefile > The KARL compile.tgz linkkit adds some growth to the base set. > Prepare the install*.fs files for this growth. (deraadt@) i386 ~ iso/Makefile > The KARL compile.tgz linkkit adds some growth to the base set. > Prepare the install*.fs files for this growth. (deraadt@) sets ~ lists/base/mi > sync (deraadt@) ~ lists/base/mi > sort (deraadt@) ~ lists/man/mi > sync (deraadt@) sgi ~ iso/Makefile > Grow sgi iso, to account for base containing compile.tgz. > SGI has 8 kernels, so the file is 113MB! (deraadt@) special ~ route/Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) == etc =============================================================== 03/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc Makefile ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) ~ Makefile > For KARL, include a linkkit into the base set, as usr/share/compile.tgz. > This contains the relevant pieces from all the GENERIC* compile directories > (*.o ld.script Makefile gap.S). It also includes the machine/ subdir for > now, to support re-randomizing of gap.S, though other methods are being > investigated. (Any binutils ld.script hackers out there?) > collaboration with rpe (deraadt@) etc.amd64/disktab ~ etc.amd64/disktab > The KARL compile.tgz linkkit adds some growth to the base set. > Prepare the install*.fs files for this growth. (deraadt@) etc.i386/disktab ~ etc.i386/disktab > The KARL compile.tgz linkkit adds some growth to the base set. > Prepare the install*.fs files for this growth. (deraadt@) etc.sgi/disktab ~ etc.sgi/disktab > Grow sgi iso, to account for base containing compile.tgz. > SGI has 8 kernels, so the file is 113MB! (deraadt@) rc ~ rc > Add a new function reorder_kernel() that relinks and installs the > new kernel in the background on system startup. It stores the hash > of the new kernel and sends a notification email to the admin or > root user. If it finds /usr/share/compile.tgz, it removes the > existing compile dir and replaces it with the content of (new) > archive. If the hash of /bsd does not match the stored one, no > relinking happens. > Idea from, joint work with and OK deraadt@ > OK tb@ halex@ > unnoticed by many (rpe@) == games ============================================================= 04/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games fortune ~ datfiles/fortunes2 > /usr/games/lib doesn't exist any more, use the new path. > OK tb@ deraadt@ (akfaew@) hunt ~ README > Remove the Installation section and fix a nonexistent path. > OK tb@ (fix paths diff) deraadt@ (akfaew@) wargames ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) == gnu =============================================================== 05/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu lib/libiberty ~ Makefile.bsd-wrapper > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) lib/libobjc ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) lib/libstdc++ ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) usr.bin/binutils ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) usr.bin/binutils-2.17 ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) usr.bin/cc ~ libcpp/Makefile ~ libgcov/Makefile ~ libobjc/Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) usr.bin/cvs ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) usr.bin/gcc ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) usr.bin/texinfo ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) == lib =============================================================== 06/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ sys/pledge.2 > request -> promises; from scott cheloha (jmc@) ~ stdio/printf.3 > Add dprintf() and vdprintf() RETURN VALUES. OK deraadt@ (millert@) ~ hash/md5.3 > no need for branding in .Nd line (deraadt@) libcrypto ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) libcurses ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) libedit ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) librpcsvc ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) libz ~ compress.3 > Add missing .Fn markup to in() and out(); found with mandoc -Tlint. > Delete useless \*(Gt and \*(Lt while here. (schwarze@) == regress =========================================================== 07/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress bin ~ ksh/edit/edit.c ~ ksh/edit/subr.sh > Pass the command to execute as an argument. Allows the edit program to be > reused. (anton@) ~ ksh/edit/edit.c > Don't write input if ICANON is enabled. Also, write one byte at a time. > (anton@) usr.bin ~ mandoc/mdoc/No/punct.out_lint > Do not issue the message "no blank before trailing delimiter" for .No. > In practice, that message only matters inside .Bf, and even there, it > can occasionally be a false positive. In all other cases, it usually > is a false positive, so it is better to drop it outright. > Suggested by jmc@. (schwarze@) ~ lastcomm/Makefile > Fix a test race, wait after kill in case writing the core dump takes > a while. Adjust wrong comments. Mention regress- in program name > to make clear where violations seen in process accounting happend. (bluhm@) ~ mandoc/char/space/esct-mdoc.out_lint ~ mandoc/char/space/tab.out_lint ~ mandoc/char/space/trailing-mdoc.out_lint ~ mandoc/char/unicode/invalid.out_lint ~ mandoc/eqn/define/infinite.out_lint ~ mandoc/eqn/define/invalid.out_lint ~ mandoc/eqn/over/noarg.out_lint ~ mandoc/mdoc/Ad/noarg.out_lint ~ mandoc/mdoc/An/break.out_lint ~ mandoc/mdoc/Aq/empty.out_lint ~ mandoc/mdoc/Ar/punct.out_lint ~ mandoc/mdoc/At/invalid.out_lint ~ mandoc/mdoc/Bd/badargs.out_lint ~ mandoc/mdoc/Bd/beforeNAME.out_lint ~ mandoc/mdoc/Bd/blank.out_lint ~ mandoc/mdoc/Bd/break.out_lint ~ mandoc/mdoc/Bd/broken.out_lint ~ mandoc/mdoc/Bd/nested.out_lint ~ mandoc/mdoc/Bd/unclosed.out_lint ~ mandoc/mdoc/Bf/badargs.out_lint ~ mandoc/mdoc/Bf/break.out_lint ~ mandoc/mdoc/Bf/broken.out_lint ~ mandoc/mdoc/Bf/multiargs.out_lint ~ mandoc/mdoc/Bk/badarg.out_lint ~ mandoc/mdoc/Bk/broken.out_lint ~ mandoc/mdoc/Bl/badargs.out_lint ~ mandoc/mdoc/Bl/bareIt.out_lint ~ mandoc/mdoc/Bl/bareTa.out_lint ~ mandoc/mdoc/Bl/break.out_lint ~ mandoc/mdoc/Bl/breakingIt.out_lint ~ mandoc/mdoc/Bl/broken.out_lint ~ mandoc/mdoc/Bl/column.out_lint ~ mandoc/mdoc/Bl/empty.out_lint ~ mandoc/mdoc/Bl/emptyhead.out_lint ~ mandoc/mdoc/Bl/emptyitem.out_lint ~ mandoc/mdoc/Bl/emptytag.out_lint ~ mandoc/mdoc/Bl/noIt.out_lint ~ mandoc/mdoc/Bl/notype.out_lint ~ mandoc/mdoc/Bl/tag.out_lint ~ mandoc/mdoc/Brq/empty.out_lint ~ mandoc/mdoc/Bx/args.out_lint ~ mandoc/mdoc/Cd/noarg.out_lint ~ mandoc/mdoc/Cm/noarg.out_lint ~ mandoc/mdoc/D1/spacing.out_lint ~ mandoc/mdoc/Db/args.out_lint ~ mandoc/mdoc/Dd/badarg.out_lint ~ mandoc/mdoc/Dd/dupe.out_lint ~ mandoc/mdoc/Dd/long.out_lint ~ mandoc/mdoc/Dd/manarg.out_lint ~ mandoc/mdoc/Dd/order.out_lint ~ mandoc/mdoc/Dl/spacing.out_lint ~ mandoc/mdoc/Dq/empty.out_lint ~ mandoc/mdoc/Dt/badsec.out_lint ~ mandoc/mdoc/Dt/case.out_lint ~ mandoc/mdoc/Dt/dupe.out_lint ~ mandoc/mdoc/Dt/fourargs.out_lint ~ mandoc/mdoc/Dt/late.out_lint ~ mandoc/mdoc/Dt/missing.out_lint ~ mandoc/mdoc/Dt/noarg.out_lint ~ mandoc/mdoc/Dt/nobody.out_lint ~ mandoc/mdoc/Dt/nosec.out_lint ~ mandoc/mdoc/Dt/order.out_lint ~ mandoc/mdoc/Dv/noarg.out_lint ~ mandoc/mdoc/Em/noarg.out_lint ~ mandoc/mdoc/Em/punct.out_lint ~ mandoc/mdoc/Eo/break.out_lint ~ mandoc/mdoc/Eo/obsolete.out_lint ~ mandoc/mdoc/Eo/unclosed.out_lint ~ mandoc/mdoc/Er/noarg.out_lint ~ mandoc/mdoc/Ev/noarg.out_lint ~ mandoc/mdoc/Ex/noname.out_lint ~ mandoc/mdoc/Ex/nostd.out_lint ~ mandoc/mdoc/Fd/empty.out_lint ~ mandoc/mdoc/Fl/punct.out_lint ~ mandoc/mdoc/Fo/noarg.out_lint ~ mandoc/mdoc/Fo/nohead.out_lint ~ mandoc/mdoc/Fo/obsolete.out_lint ~ mandoc/mdoc/Fo/punct.out_lint ~ mandoc/mdoc/Fo/warn.out_lint ~ mandoc/mdoc/Ic/noarg.out_lint ~ mandoc/mdoc/In/noarg.out_lint ~ mandoc/mdoc/Lb/badargs.out_lint ~ mandoc/mdoc/Li/punct.out_lint ~ mandoc/mdoc/Lk/noarg.out_lint ~ mandoc/mdoc/Ms/noarg.out_lint ~ mandoc/mdoc/Mt/simple.out_lint ~ mandoc/mdoc/Nd/broken.out_lint ~ mandoc/mdoc/Nd/noarg.out_lint ~ mandoc/mdoc/Nm/badNAME.out_lint ~ mandoc/mdoc/Nm/badNAMEuse.out_lint ~ mandoc/mdoc/Nm/break.out_lint ~ mandoc/mdoc/Nm/broken.out_lint ~ mandoc/mdoc/Nm/punct.out_lint ~ mandoc/mdoc/No/punct.out_lint ~ mandoc/mdoc/Ns/position.out_lint ~ mandoc/mdoc/Oo/punct.out_lint ~ mandoc/mdoc/Op/break.out_lint ~ mandoc/mdoc/Op/broken.out_lint ~ mandoc/mdoc/Op/punct.out_lint ~ mandoc/mdoc/Pa/punct.out_lint ~ mandoc/mdoc/Pf/spacing.out_lint ~ mandoc/mdoc/Pp/arg.out_lint ~ mandoc/mdoc/Qq/empty.out_lint ~ mandoc/mdoc/Rs/allch.out_lint ~ mandoc/mdoc/Rs/args.out_lint ~ mandoc/mdoc/Rs/empty.out_lint ~ mandoc/mdoc/Rv/noname.out_lint ~ mandoc/mdoc/Rv/nostd.out_lint ~ mandoc/mdoc/Sh/badNAME.out_lint ~ mandoc/mdoc/Sh/before.out_lint ~ mandoc/mdoc/Sh/empty.out_lint ~ mandoc/mdoc/Sh/emptyNAME.out_lint ~ mandoc/mdoc/Sh/first.out_lint ~ mandoc/mdoc/Sh/nohead.out_lint ~ mandoc/mdoc/Sh/order.out_lint ~ mandoc/mdoc/Sh/orderNAME.out_lint ~ mandoc/mdoc/Sh/parbefore.out_lint ~ mandoc/mdoc/Sh/parborder.out_lint ~ mandoc/mdoc/Sh/punctNAME.out_lint ~ mandoc/mdoc/Sh/subbefore.out_lint ~ mandoc/mdoc/Sm/badarg.out_lint ~ mandoc/mdoc/Sm/twoarg.out_lint ~ mandoc/mdoc/Sq/empty.out_lint ~ mandoc/mdoc/St/badargs.out_lint ~ mandoc/mdoc/St/call.out_lint ~ mandoc/mdoc/Sx/noarg.out_lint ~ mandoc/mdoc/Sy/noarg.out_lint ~ mandoc/mdoc/Sy/punct.out_lint ~ mandoc/mdoc/Tn/noarg.out_lint ~ mandoc/mdoc/Ud/arg.out_lint ~ mandoc/mdoc/Ux/punct.out_lint ~ mandoc/mdoc/Va/noarg.out_lint ~ mandoc/mdoc/Vt/noarg.out_lint ~ mandoc/mdoc/Xr/args.out_lint ~ mandoc/mdoc/blank/comment.out_lint ~ mandoc/mdoc/blank/line.out_lint ~ mandoc/mdoc/blank/list.out_lint ~ mandoc/mdoc/break/brokenbreaker.out_lint ~ mandoc/mdoc/break/notopen.out_lint ~ mandoc/mdoc/break/tail.out_lint ~ mandoc/mdoc/break/twice.out_lint ~ mandoc/mdoc/break/two.out_lint ~ mandoc/roff/args/mdoc.out_lint ~ mandoc/roff/de/escname.out_lint ~ mandoc/roff/de/indir.out_lint ~ mandoc/roff/de/infinite.out_lint ~ mandoc/roff/esc/B.out_lint ~ mandoc/roff/esc/h.out_lint ~ mandoc/roff/esc/ignore.out_lint ~ mandoc/roff/esc/w.out_lint ~ mandoc/roff/ft/badargs-mdoc.out_lint ~ mandoc/roff/ig/basic.out_lint ~ mandoc/roff/it/badarg.out_lint ~ mandoc/roff/string/name.out_lint > churn caused by the new Mdocdate messages, no easy way to avoid this :( > (schwarze@) ~ sed/Makefile + sed/commandD1.expected + sed/commandD1.sed + sed/commandc1.expected + sed/commandc1.sed + sed/commandl1.expected + sed/commandl1.sed + sed/commandl2.expected + sed/commandl2.sed > Add some tests from [email protected]. Currently failing, but will be fixed > soon. (otto@) ~ mandoc/char/unicode/input.out_ascii > Implement automatic line breaking > inside individual table cells that contain text blocks. > This cures overlong lines in various Xenocara manuals. (schwarze@) ~ mandoc/tbl/data/Makefile ~ mandoc/tbl/opt/box.in ~ mandoc/tbl/opt/box.out_ascii + mandoc/tbl/data/block_wrap.in + mandoc/tbl/data/block_wrap.out_ascii > test the new allbox and wrapping features (schwarze@) ~ mandoc/tbl/layout/span.in ~ mandoc/tbl/layout/span.out_ascii > fix the interaction of the allbox option with spanned cells in the layout > (schwarze@) ~ mandoc/man/RS/Makefile + mandoc/man/RS/an-margin.in + mandoc/man/RS/an-margin.out_ascii > Partial support for the \n[an-margin] number register. > Manuals autogenerated from reStructuredText are reckless enough > to peek at this non-portable, implementation-dependent, highly > groff-specific internal register - for no good reason, because the > man(7) language natively provides in a much simpler way what they > are trying to emulate here with much fragility. > A full implementation would be very hard because it would require > access to output-device-specific formatting data at the roff(7) > preprocessor stage, which mandoc doesn't support at all. > So hardcode a few magic numbers as reStructuredText expects them > for terminal output. For other output modes (like HTML), code using > this register is utterly broken anyway. (schwarze@) ~ mandoc/roff/esc/Makefile + mandoc/roff/esc/p.in + mandoc/roff/esc/p.out_ascii > implement the roff(7) \p (break output line) escape sequence (schwarze@) ~ mandoc/roff/cond/Makefile + mandoc/roff/cond/string.in + mandoc/roff/cond/string.out_ascii > implement the roff(7) d (macro or string defined) conditional (schwarze@) ~ mandoc/man/HP/spacing.in ~ mandoc/man/IP/width.in ~ mandoc/man/RS/width.in ~ mandoc/man/TP/width.in ~ mandoc/mdoc/Bd/offset-neg.in ~ mandoc/mdoc/Bl/offset.in ~ mandoc/mdoc/Bl/offset.out_ascii ~ mandoc/mdoc/Bl/offset.out_markdown ~ mandoc/mdoc/Bl/tag.in ~ mandoc/roff/esc/h.in ~ mandoc/roff/esc/h.out_ascii ~ mandoc/roff/esc/h.out_lint ~ mandoc/roff/ta/basic-man.in ~ mandoc/roff/ta/basic-man.out_ascii ~ mandoc/roff/ti/basic-man.in ~ mandoc/tbl/mod/width.in > improve rounding rules for scaling units > in horizontal orientation in the terminal formatter (schwarze@) ~ mandoc/roff/esc/Makefile + mandoc/roff/esc/l.in + mandoc/roff/esc/l.out_ascii + mandoc/roff/esc/l.out_lint > let \l use the right fill character (schwarze@) ~ mandoc/char/unicode/ascii.in ~ mandoc/char/unicode/ascii.out_ascii ~ mandoc/char/unicode/ascii.out_html ~ mandoc/char/unicode/ascii.out_utf8 > add the \(ru (0.5m baseline ruler) character escape sequence, > abused by mail/nmh; groff_char(7) confirms that this really exists > (schwarze@) ~ mandoc/roff/Makefile + mandoc/roff/po/Makefile + mandoc/roff/po/basic-mdoc.in + mandoc/roff/po/basic-mdoc.out_ascii > Naive implementation of the roff(7) .po (page offset) request. > This clearly works when .po is called on the top level, but might > not be sophisticated enough if people call .po inside indentation-changing > contexts, but i haven't seen that in manual pages (yet :). (schwarze@) ~ mandoc/roff/esc/h.in ~ mandoc/roff/esc/h.out_ascii ~ mandoc/roff/esc/h.out_lint > implement so-called absolute horizontal motion: \h'|...', > used for example by zoem(1) (schwarze@) ~ mandoc/tbl/data/Makefile + mandoc/tbl/data/block_width.in + mandoc/tbl/data/block_width.out_ascii > round default width of tbl(7) text blocks in the same way as groff > (schwarze@) ~ m4/Makefile + m4/fatalwarnings.m4 + m4/fatalwarnings.out > Add -E flag (make warnings fatal), following the behavior of GNU m4 1.4.9+ > Help and direction millert@ espie@ anton@ deraadt@ > ok espie@ (bcallah@) ~ mandoc/tbl/layout/Makefile + mandoc/tbl/layout/lines-nogroff.in + mandoc/tbl/layout/lines-nogroff.out_ascii + mandoc/tbl/layout/lines.in + mandoc/tbl/layout/lines.out_ascii > Multiple tbl(7) improvements: > * Do not discard data that lacks a matching layout cell but remains > within the number of columns of the table as a whole. > * Do not insert dummy data rows for any layout row starting with a > horizontal line, but only for layout rows that would discard all > the data on a matching non-empty data row. > * Print horizontal lines specified in the layout even if there is > no matching data cell. > * Improve the logic for extending vertical lines to adjacent rows, > for choosing cross marks versus line segments, and some related details. > (schwarze@) ~ mandoc/roff/esc/c.in ~ mandoc/roff/esc/c.out_ascii ~ mandoc/roff/esc/c_man.in ~ mandoc/roff/esc/c_man.out_ascii > correct handling of blank lines after \c (schwarze@) ~ mandoc/tbl/data/block_width.in ~ mandoc/tbl/data/block_width.out_ascii ~ mandoc/tbl/layout/center.in ~ mandoc/tbl/layout/center.out_ascii ~ mandoc/tbl/layout/span.in ~ mandoc/tbl/layout/span.out_ascii ~ mandoc/tbl/mod/expand.in ~ mandoc/tbl/mod/expand.out_ascii ~ mandoc/tbl/mod/font.in ~ mandoc/tbl/mod/font.out_ascii ~ mandoc/tbl/mod/font.out_lint > tables leak tab settings to subsequent text (schwarze@) ~ mandoc/man/TP/Makefile + mandoc/man/TP/indent.in + mandoc/man/TP/indent.out_ascii > if .in is used inside the .TP head, it's always relative (schwarze@) ~ mdoclint/mdoclint ~ mdoclint/mdoclint.1 > delete the -d option and the "use .Fn or .Xr for functions" check, > both covered by mandoc now; OK jmc@ (schwarze@) ~ mandoc/char/space/esct-man.out_lint ~ mandoc/char/space/esct-mdoc.out_lint ~ mandoc/char/space/tab-man.out_lint ~ mandoc/char/space/tab.out_lint ~ mandoc/char/space/trailing-mdoc.out_lint ~ mandoc/char/unicode/input.out_lint ~ mandoc/char/unicode/invalid.out_lint ~ mandoc/eqn/define/infinite.out_lint ~ mandoc/eqn/define/invalid.out_lint ~ mandoc/eqn/over/noarg.out_lint ~ mandoc/man/B/args.out_lint ~ mandoc/man/B/blank.out_lint ~ mandoc/man/IP/empty.out_lint ~ mandoc/man/OP/args.out_lint ~ mandoc/man/PD/args.out_lint ~ mandoc/man/PP/args.out_lint ~ mandoc/man/PP/empty.out_lint ~ mandoc/man/RS/REarg.out_lint ~ mandoc/man/RS/empty.out_lint ~ mandoc/man/RS/lonelyRE.out_lint ~ mandoc/man/RS/noRE.out_lint ~ mandoc/man/SH/broken.out_lint ~ mandoc/man/SH/broken_eline.out_lint ~ mandoc/man/SH/empty_before.out_lint ~ mandoc/man/SH/noarg.out_lint ~ mandoc/man/SS/broken.out_lint ~ mandoc/man/SS/broken_eline.out_lint ~ mandoc/man/SS/noarg.out_lint ~ mandoc/man/TH/case.out_lint ~ mandoc/man/TH/nobody.out_lint ~ mandoc/man/TH/sixargs.out_lint ~ mandoc/man/TP/broken.out_lint ~ mandoc/man/TP/double.out_lint ~ mandoc/man/TP/eof.out_lint ~ mandoc/man/TS/break.out_lint ~ mandoc/man/TS/vspace.in ~ mandoc/man/TS/vspace.out_ascii ~ mandoc/man/UR/args.out_lint ~ mandoc/man/UR/noUE.out_lint ~ mandoc/man/blank/afterSH.out_lint ~ mandoc/man/blank/afterSS.out_lint ~ mandoc/man/blank/line.out_lint ~ mandoc/man/nf/args.out_lint ~ mandoc/man/nf/dupe.out_lint ~ mandoc/mdoc/Ad/noarg.out_lint ~ mandoc/mdoc/An/break.out_lint ~ mandoc/mdoc/Aq/empty.out_lint ~ mandoc/mdoc/Ar/punct.out_lint ~ mandoc/mdoc/At/invalid.out_lint ~ mandoc/mdoc/Bd/badargs.out_lint ~ mandoc/mdoc/Bd/beforeNAME.out_lint ~ mandoc/mdoc/Bd/blank.out_lint ~ mandoc/mdoc/Bd/break.out_lint ~ mandoc/mdoc/Bd/broken.out_lint ~ mandoc/mdoc/Bd/nested.out_lint ~ mandoc/mdoc/Bd/unclosed.out_lint ~ mandoc/mdoc/Bf/badargs.out_lint ~ mandoc/mdoc/Bf/break.out_lint ~ mandoc/mdoc/Bf/broken.out_lint ~ mandoc/mdoc/Bf/multiargs.out_lint ~ mandoc/mdoc/Bk/badarg.out_lint ~ mandoc/mdoc/Bk/broken.out_lint ~ mandoc/mdoc/Bl/badargs.out_lint ~ mandoc/mdoc/Bl/bareIt.out_lint ~ mandoc/mdoc/Bl/bareTa.out_lint ~ mandoc/mdoc/Bl/break.out_lint ~ mandoc/mdoc/Bl/breakingIt.out_lint ~ mandoc/mdoc/Bl/broken.out_lint ~ mandoc/mdoc/Bl/column.out_lint ~ mandoc/mdoc/Bl/empty.out_lint ~ mandoc/mdoc/Bl/emptyhead.out_lint ~ mandoc/mdoc/Bl/emptyitem.out_lint ~ mandoc/mdoc/Bl/emptytag.out_lint ~ mandoc/mdoc/Bl/noIt.out_lint ~ mandoc/mdoc/Bl/notype.out_lint ~ mandoc/mdoc/Bl/tag.out_lint ~ mandoc/mdoc/Brq/empty.out_lint ~ mandoc/mdoc/Bx/args.out_lint ~ mandoc/mdoc/Cd/noarg.out_lint ~ mandoc/mdoc/Cm/noarg.out_lint ~ mandoc/mdoc/D1/spacing.out_lint ~ mandoc/mdoc/Db/args.out_lint ~ mandoc/mdoc/Dd/badarg.out_lint ~ mandoc/mdoc/Dd/dupe.out_lint ~ mandoc/mdoc/Dd/late.out_lint ~ mandoc/mdoc/Dd/long.out_lint ~ mandoc/mdoc/Dd/manarg.out_lint ~ mandoc/mdoc/Dd/noarg.out_lint ~ mandoc/mdoc/Dd/order.out_lint ~ mandoc/mdoc/Dl/spacing.out_lint ~ mandoc/mdoc/Dq/empty.out_lint ~ mandoc/mdoc/Dt/badsec.out_lint ~ mandoc/mdoc/Dt/case.out_lint ~ mandoc/mdoc/Dt/dupe.out_lint ~ mandoc/mdoc/Dt/fourargs.out_lint ~ mandoc/mdoc/Dt/late.out_lint ~ mandoc/mdoc/Dt/missing.out_lint ~ mandoc/mdoc/Dt/noarg.out_lint ~ mandoc/mdoc/Dt/nobody.out_lint ~ mandoc/mdoc/Dt/nosec.out_lint ~ mandoc/mdoc/Dt/order.out_lint ~ mandoc/mdoc/Dv/noarg.out_lint ~ mandoc/mdoc/Em/noarg.out_lint ~ mandoc/mdoc/Em/punct.out_lint ~ mandoc/mdoc/Eo/break.out_lint ~ mandoc/mdoc/Eo/obsolete.out_lint ~ mandoc/mdoc/Eo/unclosed.out_lint ~ mandoc/mdoc/Er/noarg.out_lint ~ mandoc/mdoc/Ev/noarg.out_lint ~ mandoc/mdoc/Ex/noname.out_lint ~ mandoc/mdoc/Ex/nostd.out_lint ~ mandoc/mdoc/Fd/empty.out_lint ~ mandoc/mdoc/Fl/punct.out_lint ~ mandoc/mdoc/Fo/noarg.out_lint ~ mandoc/mdoc/Fo/nohead.out_lint ~ mandoc/mdoc/Fo/obsolete.out_lint ~ mandoc/mdoc/Fo/punct.out_lint ~ mandoc/mdoc/Fo/warn.out_lint ~ mandoc/mdoc/Ic/noarg.out_lint ~ mandoc/mdoc/In/noarg.out_lint ~ mandoc/mdoc/Lb/badargs.out_lint ~ mandoc/mdoc/Li/punct.out_lint ~ mandoc/mdoc/Lk/noarg.out_lint ~ mandoc/mdoc/Ms/noarg.out_lint ~ mandoc/mdoc/Mt/simple.out_lint ~ mandoc/mdoc/Nd/broken.out_lint ~ mandoc/mdoc/Nd/noarg.out_lint ~ mandoc/mdoc/Nm/badNAME.out_lint ~ mandoc/mdoc/Nm/badNAMEuse.out_lint ~ mandoc/mdoc/Nm/break.out_lint ~ mandoc/mdoc/Nm/broken.out_lint ~ mandoc/mdoc/Nm/punct.out_lint ~ mandoc/mdoc/No/punct.out_lint ~ mandoc/mdoc/Ns/position.out_lint ~ mandoc/mdoc/Oo/punct.out_lint ~ mandoc/mdoc/Op/break.out_lint ~ mandoc/mdoc/Op/broken.out_lint ~ mandoc/mdoc/Op/punct.out_lint ~ mandoc/mdoc/Os/dupe.out_lint ~ mandoc/mdoc/Os/late.out_lint ~ mandoc/mdoc/Pa/punct.out_lint ~ mandoc/mdoc/Pf/spacing.out_lint ~ mandoc/mdoc/Pp/arg.out_lint ~ mandoc/mdoc/Qq/empty.out_lint ~ mandoc/mdoc/Rs/allch.out_lint ~ mandoc/mdoc/Rs/args.out_lint ~ mandoc/mdoc/Rs/empty.out_lint ~ mandoc/mdoc/Rv/noname.out_lint ~ mandoc/mdoc/Rv/nostd.out_lint ~ mandoc/mdoc/Sh/badNAME.out_lint ~ mandoc/mdoc/Sh/before.out_lint ~ mandoc/mdoc/Sh/empty.out_lint ~ mandoc/mdoc/Sh/emptyNAME.out_lint ~ mandoc/mdoc/Sh/first.out_lint ~ mandoc/mdoc/Sh/nohead.out_lint ~ mandoc/mdoc/Sh/order.out_lint ~ mandoc/mdoc/Sh/orderNAME.out_lint ~ mandoc/mdoc/Sh/parbefore.out_lint ~ mandoc/mdoc/Sh/parborder.out_lint ~ mandoc/mdoc/Sh/punctNAME.out_lint ~ mandoc/mdoc/Sh/subbefore.out_lint ~ mandoc/mdoc/Sm/badarg.out_lint ~ mandoc/mdoc/Sm/twoarg.out_lint ~ mandoc/mdoc/Sq/empty.out_lint ~ mandoc/mdoc/St/badargs.out_lint ~ mandoc/mdoc/St/call.out_lint ~ mandoc/mdoc/Sx/noarg.out_lint ~ mandoc/mdoc/Sy/noarg.out_lint ~ mandoc/mdoc/Sy/punct.out_lint ~ mandoc/mdoc/Tn/noarg.out_lint ~ mandoc/mdoc/Ud/arg.out_lint ~ mandoc/mdoc/Ux/punct.out_lint ~ mandoc/mdoc/Va/noarg.out_lint ~ mandoc/mdoc/Vt/noarg.out_lint ~ mandoc/mdoc/Xr/args.out_lint ~ mandoc/mdoc/blank/comment.out_lint ~ mandoc/mdoc/blank/line.out_lint ~ mandoc/mdoc/blank/list.out_lint ~ mandoc/mdoc/break/brokenbreaker.out_lint ~ mandoc/mdoc/break/notopen.out_lint ~ mandoc/mdoc/break/tail.out_lint ~ mandoc/mdoc/break/twice.out_lint ~ mandoc/mdoc/break/two.out_lint ~ mandoc/roff/args/man.in ~ mandoc/roff/args/man.out_ascii ~ mandoc/roff/args/man.out_lint ~ mandoc/roff/args/mdoc.out_lint ~ mandoc/roff/args/roff.in ~ mandoc/roff/args/roff.out_ascii ~ mandoc/roff/args/roff.out_lint ~ mandoc/roff/br/args.out_lint ~ mandoc/roff/cc/basic.out_lint ~ mandoc/roff/cond/close.out_lint ~ mandoc/roff/cond/if.out_lint ~ mandoc/roff/de/escname.out_lint ~ mandoc/roff/de/indir.out_lint ~ mandoc/roff/de/infinite.out_lint ~ mandoc/roff/esc/B.out_lint ~ mandoc/roff/esc/h.out_lint ~ mandoc/roff/esc/ignore.out_lint ~ mandoc/roff/esc/l.out_lint ~ mandoc/roff/esc/w.out_lint ~ mandoc/roff/ft/badargs-mdoc.out_lint ~ mandoc/roff/ft/badargs.out_lint ~ mandoc/roff/ig/basic.out_lint ~ mandoc/roff/it/badarg.out_lint ~ mandoc/roff/nr/divzero.out_lint ~ mandoc/roff/nr/escname.out_lint ~ mandoc/roff/sp/badargs-man.out_lint ~ mandoc/roff/string/escape.in ~ mandoc/roff/string/escape.out_ascii ~ mandoc/roff/string/name.out_lint ~ mandoc/roff/string/zerolength.in ~ mandoc/roff/string/zerolength.out_ascii ~ mandoc/roff/tr/args.out_lint ~ mandoc/tbl/data/block_unclosed.out_lint ~ mandoc/tbl/data/empty.out_lint ~ mandoc/tbl/layout/center.in ~ mandoc/tbl/layout/center.out_ascii ~ mandoc/tbl/layout/complex.out_lint ~ mandoc/tbl/layout/empty.out_lint ~ mandoc/tbl/layout/numbers.in ~ mandoc/tbl/layout/numbers.out_ascii ~ mandoc/tbl/layout/span.in ~ mandoc/tbl/layout/span.out_ascii ~ mandoc/tbl/macro/man.in ~ mandoc/tbl/macro/man.out_ascii ~ mandoc/tbl/macro/man.out_lint ~ mandoc/tbl/macro/nested.in ~ mandoc/tbl/macro/nested.out_ascii ~ mandoc/tbl/macro/nested.out_lint ~ mandoc/tbl/mod/badfont.out_lint ~ mandoc/tbl/mod/font.out_lint ~ mandoc/tbl/opt/box.in ~ mandoc/tbl/opt/box.out_ascii ~ mandoc/tbl/opt/invalid.out_lint > churn related to the new style message about RCS ids (schwarze@) ~ mandoc/roff/Makefile ~ mandoc/roff/cond/string.in ~ mandoc/roff/cond/string.out_ascii ~ mandoc/roff/de/append.in ~ mandoc/roff/de/append.out_ascii ~ mandoc/roff/string/Makefile + mandoc/roff/rn/Makefile + mandoc/roff/rn/append.in + mandoc/roff/rn/append.out_ascii + mandoc/roff/string/std.in + mandoc/roff/string/std.out_ascii + mandoc/roff/string/std.out_lint > Implement appending to standard man(7) and mdoc(7) macros with .am. > With roff_getstrn(), provide finer control which definitions > can be used for what: > * All definitions can be used for .if d tests and .am appending. > * User-defined for \* expansion, .dei expansion, and macro calling. > * Predefined for \* expansion. > * Standard macros, original or renamed, for macro calling. > Several related improvements while here: > * Do not return string table entries that have explicitly been removed. > * Do not create a rentab entry when trying to rename a non-existent macro. > * Clear an existing rentab entry when the external interface > roff_setstr() is called with its name. > * Avoid trailing blanks in macro lines generated from renamed > and from aliased macros. > * Delete the duplicate __m*_reserved[] tables, just use roff_name[]. > (schwarze@) == sbin ============================================================== 08/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ bpf.c ~ dhclient.c ~ dhcpd.h ~ options.c > Rename 'packet' field to 'recv_packet' and 'bootrequest_packet' > field to 'sent_packet'. Also 'bootrequest_packet_length' to > 'sent_packet_length'. > Adopt consistent idiom of a local variable 'packet' to point at > packet being manipulated. > No intentional functional change. (krw@) ~ dhcpd.h > Kill unused #define IFI_NOMEDIA. (krw@) ~ dhclient.c ~ dhcpd.h > No need for two 'flags' fields. Consolidate into one, fixing > value of IFI_HUP while passing. (krw@) ~ bpf.c ~ dhclient.c ~ dhcpd.h ~ options.c > Start consolidating client_state into interface_info. First > fields to move: recv_packet, sent_packet and sent_packet_length. > No intentional functional change. (krw@) ~ dhclient.c ~ dhcpd.h ~ options.c > Move xid, secs, first_sending, startup_time fields from > client_state to interface_info. > No intentional functional change. (krw@) ~ dhclient.c ~ dhcpd.h > Move state, destination, interval, requested_address from > client_state to interface_info. > No intentional functional change. (krw@) ~ clparse.c ~ dhclient.c ~ dhcpd.h ~ dispatch.c > Move active, new, offered_leases, leases from > client_state to interface_info. > Nuke empty struct client_state. > No intentional functional change. (krw@) ~ dhclient.c ~ dhcpd.h ~ dispatch.c > No need to be coy - call a "struct interface_info *" a > "struct interface_info *" and not a "void *". > No intentional functional change. (krw@) ~ dhclient.c > Nuke unused parameter 'client_addr' from packet_to_lease(). (krw@) ~ dhclient.c ~ dhcpd.h ~ options.c > Nuke unused parameter 'client_addr' from the 'handlers', i.e. > dhcpoffer(), dhcpack(), dhcpnak(). (krw@) ~ clparse.c ~ dhclient.c ~ dhcpd.h > Nuke 'is_bootp' field and just use a #define to check if the lease > has DHO_DHCP_MESSAGE_TYPE info. (krw@) ~ dhclient.c ~ dhcpd.h > DECLINE offers as they are deemed invalid. Decline them at the > first problem rather than continuing to look for other reasons > to decline them. Nuke is_invalid field since it is now unused. > More informative log message when a lease is determined to be > unacceptable. (krw@) ~ dhclient.c ~ dhcpd.h > We accept either the first offer received, or an offer for the > current address if one arrives inside select_timeout. So there > is no need to keep a list of received offers. Just keep the > best one and DECLINE the rest. Nuke now unused 'offered_leases' > TAILQ. > Also fixes the oddity that the *last* offer for the current > address is taken rather than the *first*. (krw@) ~ dhclient.c ~ dhcpd.h > Rename struct interface_info field 'new' to clearer 'offer'. (krw@) ~ dhclient.c > Shuffle dhcp[offer|ack|nak]() functions together for easy reference. (krw@) ~ dhcpd.h > Nuke unused pointer to non-existant struct. (krw@) ~ dhclient.c > Make 'DEBUG' compile again. (krw@) ~ dhclient.c > Nuke stray and misleading comment. (krw@) ~ dhclient.c > Drop (int) casts of (time_t - time_t) calculations that > are assigned to an int variable. (krw@) ~ dispatch.c ~ dhcpd.h ~ dhclient.c > Convert last set_timeout() use to set_timeout_interval() and > then remove set_timeout() and rename set_timeout_interval() to > set_timeout(). (krw@) ~ dhclient.c ~ dhcpd.h ~ dispatch.c > Move the timeout information into struct interface_info with > the rest of the dhcp state. One less struct (dhcp_timeout) to > worry about, one less field (ifi) to keep track of. (krw@) init ~ init.c > s/CPU_LIDSUSPEND/CPU_LIDACTION/ > ok mlarkin (natano@) isakmpd ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) ldattach ~ Makefile > redundant, gets BINDIR from ../Makefile.inc (espie@) pfctl ~ pfctl.c > pfctl: merge identifical if conditions and void functions discarding ret > values > Transform the following functions (which never return anything other than > 0, and > whose return value is never used) to void: > * pfctl_clear_stats, pfctl_clear_interface_flags, pfctl_clear_rules, > pfctl_clear_src_nodes, pfctl_clear_states > * pfctl_kill_src_nodes, pfctl_net_kill_states, pfctl_label_kill_states, > pfctl_id_kill_states, pfctl_key_kill_states > inside main: merge two identical if conditions next to each other into one. > Submitted by rain1 (thanks!) with additional credit to: > - mikeb@ for pointing out we can void all _clear_ functions > - ghostyy for pointing out all _kill_ functions can be voided > OK tb@, mikeb@ (awolk@) pflogd ~ privsep.c > pledge(2) bpf has been in use for some time now on tcpdump(8), this will > enable > it also for pflogd(8)'s priv proc. > OK deraadt@ (mestre@) reboot ~ reboot.c > s/CPU_LIDSUSPEND/CPU_LIDACTION/ > ok mlarkin (natano@) route ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) wsconsctl ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) == share ============================================================= 09/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share dict ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) man ~ man8/diskless.8 > make two macros more semantic (schwarze@) ~ man9/fork1.9 > missing .Fn macros; found with mandoc -Tlint (schwarze@) ~ man7/roff.7 > implement the roff(7) \p (break output line) escape sequence (schwarze@) + man4/hvs.4 > hvs(4) man page (mikeb@) ~ man4/Makefile > Hook up hvs.4 (mikeb@) ~ man4/pvbus.4 > Mention hvs(4) (mikeb@) ~ man4/pvbus.4 > match the (hvs) description to the man page; ok mikeb (jmc@) ~ man7/roff.7 > implement roff(7) .rj (right justify) request (schwarze@) ~ man7/roff.7 > implement the roff(7) d (macro or string defined) conditional (schwarze@) ~ man7/roff.7 > simple implementation of the roff(7) .als (macro alias) request, > sufficient for pages using po4a(1) (schwarze@) ~ man7/mandoc_char.7 > add the \(ru (0.5m baseline ruler) character escape sequence, > abused by mail/nmh; groff_char(7) confirms that this really exists > (schwarze@) ~ man7/roff.7 > Naive implementation of the roff(7) .po (page offset) request. > This clearly works when .po is called on the top level, but might > not be sophisticated enough if people call .po inside indentation-changing > contexts, but i haven't seen that in manual pages (yet :). (schwarze@) ~ man7/roff.7 > implement so-called absolute horizontal motion: \h'|...', > used for example by zoem(1) (schwarze@) ~ man5/port-modules.5 > The devel/qmake port module handles Qt3 as well. (zhuk@) ~ man5/port-modules.5 > Document MODQMAKE_RECURSIVE and test framework support for devel/qmake. > (zhuk@) ~ man5/port-modules.5 > It's never too late to document x11/kde module. At least a (non-obvious) > bit. (zhuk@) ~ man5/port-modules.5 > Assorted tweaks for x11/qt* modules description. (zhuk@) ~ man4/pppoe.4 > In sppp(4), allow additional 'wildcard' addresses for the destination. > Any address within the range 0.0.0.1 - 0.0.0.255 can now be used. > This allows for multiple pppoe(4) interfaces with dynamic addresses within > the same routing table. Which used to work before OpenBSD 5.8, but since > 5.8 > only one interface in a routing table can use destination address 0.0.0.1. > Problem first reported by Steve (fiverings04 at australian yahoo) on misc@. > I ran into it on an EdgeRouter lite which is supposed to serve two ADSL > lines. > ok sthen@ mpi@ > man page help from jmc@ for an earlier variant of this change (stsp@) misc ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) mk ~ bsd.dep.mk ~ bsd.lib.mk ~ bsd.prog.mk > introduce a BUILDFIRST/BUILDAFTER mechanism: > record every standard component built in bsd.lib.mk/bsd.prog.mk in > BUILDAFTER > and have BUILDAFTER depend on BUILDFIRST, thus making possible to build > some stuff early without relying on "make depend" > okay tb@ millert@ (espie@) snmp ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) tabset ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) tmac ~ Makefile ~ mdoc/Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) == sys =============================================================== 10/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/conf ~ Makefile.alpha > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.alpha > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.alpha > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) arch/alpha/stand/boot ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) arch/alpha/stand/bootxx ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) arch/alpha/stand/netboot ~ Makefile > destroy lint remnants. > okay millert@ deraadt@ (espie@) arch/amd64/conf ~ Makefile.amd64 > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.amd64 > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.amd64 > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) ~ GENERIC ~ RAMDISK_CD > Enable hvs(4), "go for it" from deraadt. (mikeb@) arch/arm64/conf ~ Makefile.arm64 > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.arm64 > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.arm64 > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) arch/armv7/armv7 ~ armv7_start.S + locore0.S > Split early startup code out of armv7_start.S into locore0.S. Adjust > link run so that this locore0.o is always at the start of the > executable. But randomize the link order of all other .o files in the > kernel, so that their exec/rodata/data/bss segments land all over the > place. Note that this commit does not yet unmap the early bootcode > since this is not as easy as on arm64. > As a result, the internal layout of every newly build bsd kernel is > different from past kernels. Internal relative offsets are not known > to an outside attacker. The only known offsets are in the startup code, > which has been unmapped. > Ramdisk kernels cannot be compiled like this, because they are gzip'd. > When the internal pointer references change, the compression dictionary > bloats and results in poorer compression. > With guidance and ok deraadt@ (patrick@) arch/armv7/conf ~ Makefile.armv7 > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.armv7 > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.armv7 > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) ~ Makefile.armv7 ~ files.armv7 > Split early startup code out of armv7_start.S into locore0.S. Adjust > link run so that this locore0.o is always at the start of the > executable. But randomize the link order of all other .o files in the > kernel, so that their exec/rodata/data/bss segments land all over the > place. Note that this commit does not yet unmap the early bootcode > since this is not as easy as on arm64. > As a result, the internal layout of every newly build bsd kernel is > different from past kernels. Internal relative offsets are not known > to an outside attacker. The only known offsets are in the startup code, > which has been unmapped. > Ramdisk kernels cannot be compiled like this, because they are gzip'd. > When the internal pointer references change, the compression dictionary > bloats and results in poorer compression. > With guidance and ok deraadt@ (patrick@) arch/armv7/stand/efiboot ~ exec.c > Backout last change to remove esym .data patching because it breaks > boot for e.g. the BBB and the C.H.I.P.; 'panic: initarm: out of memory'. > Better solution to be found as discussed with patrick@. > ok jsg@ (mglocker@) arch/hppa/conf ~ Makefile.hppa > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.hppa > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.hppa > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) arch/i386/conf ~ Makefile.i386 > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.i386 > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.i386 > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) arch/i386/include ~ cpufunc.h > add rdtsc() to match amd64 > ok mikeb@ mlarkin@ (jmatthew@) arch/landisk/conf ~ Makefile.landisk > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.landisk > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.landisk + ld.script > needs a fake ld.script for KARL tooling (deraadt@) ~ Makefile.landisk > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) arch/loongson/conf ~ Makefile.loongson > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.loongson > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.loongson > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) arch/loongson/include ~ intr.h > Define register_splx_handler() in one place. (visa@) arch/luna88k/conf ~ Makefile.luna88k > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.luna88k > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) arch/luna88k/dev ~ if_le.c > Fix comment. This gap is not only on LUNA-88K2 but also on LUNA-88K. > (aoyama@) arch/macppc/conf ~ Makefile.macppc > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.macppc > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) + ld.script > add a dummy ld.script. macppc does not use one of these yet, but > infrastructure that is coming requires an architecture to carry such a > file. (deraadt@) ~ Makefile.macppc ~ files.macppc > Split early startup code out of locore.S into locore0.S. Adjust link > run so that this locore0.o is always at the start of the executable. > But randomize the link order of all other .o files in the kernel, so > that their exec/rodata/data/bss segments land all over the place. > As a result, the internal layout of every newly build bsd kernel is > different from past kernels. Internal relative offsets are not known > to an outside attacker. The only known offsets are in the startup code > (which will be gone when it is smashed). > The bootstrap code unmapping or smashing isn't done yet, and there is > some potential for more bits from locore.S to move to locore0.S (deraadt@) arch/macppc/macppc ~ machdep.c > Prepare install_extint() for the vector being relative-negative (ie > lower in the address space). Previously it could only be higher > than... uhm locore.o > Discussed with drahn and tom (deraadt@) ~ locore.S + locore0.S > Split early startup code out of locore.S into locore0.S. Adjust link > run so that this locore0.o is always at the start of the executable. > But randomize the link order of all other .o files in the kernel, so > that their exec/rodata/data/bss segments land all over the place. > As a result, the internal layout of every newly build bsd kernel is > different from past kernels. Internal relative offsets are not known > to an outside attacker. The only known offsets are in the startup code > (which will be gone when it is smashed). > The bootstrap code unmapping or smashing isn't done yet, and there is > some potential for more bits from locore.S to move to locore0.S (deraadt@) arch/mips64/include ~ cpu.h ~ mips_cpu.h > Fix TLB size computation on OCTEON II and III. The CPUs have utilized > the whole TLB space even before this. However, TLB initialization on > boot and TLB flush on ASID wraparound have been incomplete. These have > caused crashes of processes. (visa@) arch/mips64/mips64 ~ mips64r2.S > Fix TLB size computation on OCTEON II and III. The CPUs have utilized > the whole TLB space even before this. However, TLB initialization on > boot and TLB flush on ASID wraparound have been incomplete. These have > caused crashes of processes. (visa@) ~ interrupt.c > Define register_splx_handler() in one place. (visa@) ~ pmap.c > Tweak order of operands to check constant `cache_valias_mask' first. > (visa@) ~ pmap.c > Do not invalidate remote TLB entries with new mappings because the > virtual addresses really should not have TLB hits. This reduces IPIs. > (visa@) ~ pmap.c > Invalidate remote TLB entries by address range. This reduces > the number of IPIs required when removing mappings. (visa@) arch/octeon/conf ~ Makefile.octeon > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.octeon > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.octeon > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) ~ GENERIC ~ RAMDISK ~ files.octeon > Split octeon interrupt code into a glue layer and a CIU driver. > This makes possible to add drivers for other interrupt controllers > on the platform. > The glue layer has been derived from arm64/armv7. (visa@) arch/octeon/dev ~ octeon_intr.c > Move IPI control entry points into octeon_intr.c. > Needed by upcoming driver changes. (visa@) ~ octeon_intr.c ~ octeon_iobus.c + octciu.c > Split octeon interrupt code into a glue layer and a CIU driver. > This makes possible to add drivers for other interrupt controllers > on the platform. > The glue layer has been derived from arm64/armv7. (visa@) arch/octeon/include ~ intr.h > Define register_splx_handler() in one place. (visa@) ~ intr.h > Drop unnecessary call to octeon_setintrmask(). The function gets called > by the splx() handler. (visa@) ~ intr.h > Split octeon interrupt code into a glue layer and a CIU driver. > This makes possible to add drivers for other interrupt controllers > on the platform. > The glue layer has been derived from arm64/armv7. (visa@) arch/octeon/octeon ~ machdep.c > Add a memory barrier to ensure that stores become visible > in a proper order. (visa@) ~ machdep.c > Fix TLB size computation on OCTEON II and III. The CPUs have utilized > the whole TLB space even before this. However, TLB initialization on > boot and TLB flush on ASID wraparound have been incomplete. These have > caused crashes of processes. (visa@) ~ machdep.c > Drop unnecessary call to octeon_setintrmask(). The function gets called > by the splx() handler. (visa@) ~ machdep.c > Move IPI control entry points into octeon_intr.c. > Needed by upcoming driver changes. (visa@) arch/sgi/conf ~ Makefile.sgi > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.sgi > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.sgi > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) arch/sgi/include ~ intr.h > Define register_splx_handler() in one place. (visa@) arch/socppc/conf ~ Makefile.socppc > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.socppc > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) arch/sparc64/conf ~ Makefile.sparc64 > Use umask 077 instead of cp -p when installing the kernel as root. > Otherwise owner of /bsd could be the build user with permissions > inherited from the compile directory. > OK deraadt@ tb@ (bluhm@) ~ Makefile.sparc64 > make vers.o not depend on gap.o using a trick, because it is piece of > fiction participating only in the linkphase. > tricks from rpe and espie (deraadt@) ~ Makefile.sparc64 > First step of randomized link for sparc64: gap.S and randomize files. > locore isn't split up yet, nor is the startup code smashed. > ok dlg, pieces seen before by kettenis (deraadt@) ~ Makefile.sparc64 > newbsd: target which re-links a kernel. We cannot use the bsd: target > since it has source dependencies, and relinking doesn't have any. Also > the bsd: target is created by config(8)... > worked on with rpe. (deraadt@) dev ~ softraid_crypto.c > Fix a long standing off-by-one bug in the softraid crypto number of keys > calculation - we allow one key per 0.5TB, which should allow up to 16TB > disks, however the disk size was treated like a block offset and shifted. > This meant that the maximum size was actually 16TB minus one block. > While here also calculate the number of keys as an absolute value, rather > than as the upper inclusive bound - adjust the logic in the associated for > and if statements to match. > ok krw@ tb@ (jsing@) ~ softraid_crypto.c > Factor out and reuse the code that frees the crypto sessions, instead of > duplicating it. (jsing@) ~ softraid_crypto.c > Fix another long standing softraid crypto bug where if all 32 keys are in > use, when freeing crypto sessions we run straight off the end of the array > and start blatting memory - clearly no one has a softraid crypto volume > that exceeds 15.5TB in size... (jsing@) ~ softraid.c > Upon failure, only return zero from the softraid ioctl handler when there > is at least one bio status message. It is a much nicer user experience when > we properly report failures, however in the case that we fail to do this, > getting an errno back from the ioctl is somewhat better than simply > printing "unknown error" from bioctl(8). (jsing@) ~ softraid_crypto.c ~ softraidvar.h > Limit the maximum size of softraid crypto volumes that can be created to > the size that is currently supported (a data area of 16TB, or > 2^32 * 32 + 528 blocks including the softraid metadata/boot area), rather > than successfully creating the volume and then failing during resource > allocation (without properly reporting why it failed). > Found the hard way by sharon s. <mymlact at gmx dot com> (jsing@) dev/ic ~ sti.c > integer overflow for two range checks > fix from C Turt, ok miod (deraadt@) ~ nvme.c > typo; from bryan vyhmeister (deraadt@) ~ sti.c TAGGED OPENBSD_6_1 > MFC: fix an integer overflow in two range checks of the sti display driver. > ok tb (tj@) ~ sti.c TAGGED OPENBSD_6_0 > MFC: fix an integer overflow in two range checks of the sti display driver. > ok tb (tj@) ~ r92creg.h ~ rtwn.c ~ rtwnvar.h TAGGED OPENBSD_6_0 > - Fix incorrect values in the computation of transmit power for the > rtl8188eu chipset. > - Small code refactoring: > - replace hardcoded rate indexes with their name, like athn(4). > - replace fields offsets with the structure; from FreeBSD r294198. > - be compliant with definitions of the efuse in vendor hal_pg.h and > rename struct r92c_rom member names: s/channel_plan/reserved5/, > s/xtal_calib/channel_plan. > - no need to disable HWPDN twice in urtwn_r88e_power_on(). > Tested by stsp@ and myself with RTL8188CUS, RTL8192CU, RTL8188EU, and > RTL8188CE devices. > ok stsp@ (kevlo@) ~ vga.c TAGGED OPENBSD_6_0 > The fonts we are looping through in vga_selectfont() are the builtin > font which is using the IBM encoding, and some potentially loaded fonts > which are either IBM or ISO encoded. > Therefore the condition checked by vga_valid_font() is always true, and > we can remove it. Thanks to miod@ for pointing this out. > OK tb@ (fcambus@) dev/pci ~ if_re_pci.c ~ pcireg.h > From FreeBSD (r227593, r307982): > More and more RealTek controllers started to implement EEE feature. > Vendor driver seems to load a kind of firmware for EEE with > additional PHY fixups. It is known that the EEE feature may need > ASPM support. Unfortunately there is no documentation for EEE of > the controller so enabling ASPM may cause more problems. > The Realtek vendor drivers for FreeBSD and Linux also disable ASPM and > clock request. While here, add a define for the ECPM (Enable Clock Power > Management) bit. > Tested by stsp@ and myself. > ok stsp@ (kevlo@) ~ if_iwm.c ~ if_iwmvar.h > Make iwm(4) wait for the PHY calibration result notification during HW > init. > Code inspection revealed that Linux does this, and so should we. > ok deraadt@ (stsp@) ~ if_iwm.c > Make the iwm(4) ioctl handler wait until the transition to SCAN has > completed > when bringing the interface up. Otherwise we get racy behaviour when > running > ifconfig commands which issue several ioctls in quick succession. > Should fix the occasional "could not initiate scan" errors. > ok deraadt@ (stsp@) ~ if_iwm.c > When a task in iwm(4) obtains an rwlock(9), bail out if the device was > reset while the task was asleep waiting for the lock. > ok deraadt@ (stsp@) ~ if_iwm.c > Currently, iwm(4) uses only one phy context, so stop sending commands to > the > firmware for unused ones. This should be refactored further, but for now > this > change is good enough to reduce the amount of commands we throw at the > firmware. > ok deraadt@ (stsp@) ~ if_iwm.c > In iwm_init() save the generation counter once before looping over > tsleep(9), instead of saving it during every iteration. (stsp@) ~ if_rtwn.c > - Fix incorrect values in the computation of transmit power for the > rtl8188eu chipset. > - Small code refactoring: > - replace hardcoded rate indexes with their name, like athn(4). > - replace fields offsets with the structure; from FreeBSD r294198. > - be compliant with definitions of the efuse in vendor hal_pg.h and > rename struct r92c_rom member names: s/channel_plan/reserved5/, > s/xtal_calib/channel_plan. > - no need to disable HWPDN twice in urtwn_r88e_power_on(). > Tested by stsp@ and myself with RTL8188CUS, RTL8192CU, RTL8188EU, and > RTL8188CE devices. > ok stsp@ (kevlo@) dev/pckbc ~ pms.c > pms/alps: configure compat mode (bru@) dev/pv ~ if_xnf.c > ifq_start does OACTIVE and RUNNING checks for the driver > Reminded by dlg@. (mikeb@) ~ hyperv.c ~ hypervvar.h > Add another type of a scatter-gather list operation used by StorVSC > Obtained from FreeBSD. (mikeb@) + hvs.c > Hyper-V storage driver > Based on the FreeBSD driver, attaches only to emulated SCSI controllers. > (mikeb@) ~ files.pv > Hookup hvs(4) (mikeb@) ~ hvs.c > Increase the maximum amount of requests and do some cleanup (mikeb@) ~ hvs.c > Special handling for request 0 clashes with CCB 0 (mikeb@) ~ hvs.c > Borrow some of dlg's smarts to make this look like a real SCSI driver > (mikeb@) ~ hvs.c > Correct the number of targets vs number of LUNs > jsg@ has found out that the number of targets wasn't correct and > it turns out that the device supports up to 2 targets and 1 or 64 > LUNs depending on whether it's taking over an IDE device or is a > virtual SCSI. > While here make sure the command response is copied back only for > synchronous commands that are issued during initialization phase. (mikeb@) ~ hvs.c > Put back copying of the response message into the polling callback > The response message is allocated on the stack of hvs_intr and its > content is valid during a single message processing loop iteration. > Due to the fact that polled transfers finish completion in a callee > context, the cached pointer to the response message becomes stale > very quickly. To avoid this situation the poll completion callback > needs to make sure the content of the response is provided to the > next completion routine. (mikeb@) ~ hvs.c > Remove the structure definition for an old (pre Win8) I/O request type > since the new one is backwards compatible and the correct length of the > request can be specified w/o an actual definition. (mikeb@) ~ hvs.c > Provide storage for the response message in each CCB (mikeb@) ~ if_hvn.c > Support executing NVSP and RNDIS commands during autoconf (mikeb@) ~ hyperv.c > Make sure we can free GPA handles when cold (mikeb@) ~ hyperv.c > Don't defer attaching PV devices > Now that both hvn(4) and hvs(4) can perform VMBus channel operations > during autoconf, it's no longer necessary to defer their attachment. > (mikeb@) dev/usb ~ if_urtwn.c > - Fix incorrect values in the computation of transmit power for the > rtl8188eu chipset. > - Small code refactoring: > - replace hardcoded rate indexes with their name, like athn(4). > - replace fields offsets with the structure; from FreeBSD r294198. > - be compliant with definitions of the efuse in vendor hal_pg.h and > rename struct r92c_rom member names: s/channel_plan/reserved5/, > s/xtal_calib/channel_plan. > - no need to disable HWPDN twice in urtwn_r88e_power_on(). > Tested by stsp@ and myself with RTL8188CUS, RTL8192CU, RTL8188EU, and > RTL8188CE devices. > ok stsp@ (kevlo@) dev/wscons ~ wsmux.c > specify free() size from the old allocation, not new allocation. > fix from C Turt (deraadt@) ~ wsmux.c TAGGED OPENBSD_6_1 > MFC: specify free() size from the old allocation, not new allocation. > ok tb (tj@) ~ wsmux.c TAGGED OPENBSD_6_0 > MFC: specify free() size from the old allocation, not new allocation. > ok tb (tj@) ~ wsconsio.h TAGGED OPENBSD_6_0 > Increase WSFONT_NAME_SIZE size, this will allow storing longer font > names in wsdisplay_font structures. > OK deraadt@ (fcambus@) ~ wsconsio.h TAGGED OPENBSD_6_0 > We do not support iso7 nor pcvt encoding, so remove macro definitions > and commented entries. > OK mlarkin@ (fcambus@) ~ wsmousevar.h ~ wstpad.c TAGGED OPENBSD_6_0 > Remove remnants of old versions. (bru@) kern ~ kern_pledge.c > Pledge is fairly done, so the kernel printf's can be converted to log() > calls. They'll be a little less visible, but still in the system logs. > ok bluhm (deraadt@) ~ kern_sysctl.c > use size_t for the size of things in memory, not int. > this tweaks the len argument to sysctl_rdstring, sysctl_struct, and > sysctl_rdstruct. > there's probably more to fix. > ok millert@ (dlg@) ~ subr_pool.c > when enabling cpu caches, check the item size against the right thing > lists of free items on the per cpu caches are built out the pool items > as struct pool_cache_items, not struct pool_cache. make the KASSERT > in pool_cache_init check that properly. (dlg@) ~ kern_sysctl.c > tweak sysctl_string and sysctl_tstring to use size_t for lengths, not int > theyre both wrappers around sysctl__string, which is where half the > fix is too. (dlg@) ~ subr_pool.c > implement the backend of the sysctls that report pool cache info. > KERN_POOL_CACHE reports info about the global cache info, like how long > the lists of cache items the cpus build should be and how many of these > lists are idle on the pool struct. > KERN_POOL_CACHE_CPUS reports counters from each each. the counters > are for how many item and list operations the cache has handled on > a cpu. the sysctl provides an array of ncpusfound * struct > kinfo_pool_cache_cpu, not a single struct kinfo_pool_cache_cpu. > tested by hrvoje popovski > ok mikeb@ millert@ > ---------------------------------------------------------------------- > (dlg@) ~ subr_pool.c > white space tweaks. no functional change. (dlg@) ~ subr_pool.c > report contention on caches global data to userland. (dlg@) ~ subr_pool.c > split returning an item to the pool pages out of pool_put as pool_do_put. > this lets pool_cache_list_put return items to the pages. currently, > if pool_cache_list_put is called while the per cpu caches are > enabled, the items on the list will put put straight back onto > another list in the cpu cache. this also avoids counting puts for > these items twice. a put for the items have already been coutned > when the items went to a cpu cache, it doesnt need to be counted > again when it goes back to the pool pages. > another side effect of this is that pool_cache_list_put can take > the pool mutex once when returning all the items in the list with > pool_do_put, rather than once per item. > ok visa@ (dlg@) ~ subr_pool.c > add garbage collection of unused lists percpu cached items. > the cpu caches in pools amortise the cost of accessing global > structures by moving lists of items around instead of individual > items. excess lists of items are stored in the global pool struct, > but these idle lists never get returned back to the system for use > elsewhere. > this adds a timestamp to the global idle list, which is updated > when the idle list stops being empty. if the idle list hasn't been > empty for a while, it means the per cpu caches arent using the idle > entries and they can be recovered. timestamping the pages prevents > recovery of a lot of items that may be used again shortly. eg, rx > ring processing and replenishing from rate limited interrupts tends > to allocate and free items in large chunks, which the timestamping > smooths out. > gc'ed lists are returned to the pool pages, which in turn get gc'ed > back to uvm. > ok visa@ (dlg@) msdosfs ~ denode.h ~ msdosfs_vnops.c > Revert 'Implement VFS read clustering for MSDOSFS' again > This has again caused regressions, this time when reading from msdosfs. > This reverts > denode.h 1.31 > msdosfs_vnops.c 1.114 > Requested by deraadt@ (sf@) net ~ hfsc.c > have the timeout call if qstart via the serialiser isntead of directly > hfsc schedules a timeout to keep traffic moving if somethings has been > delayed an no other tx activity has occurred. that timeout was calling > (*ifp->if_qstart)(ifq) rather than ifq_start. the latter prevents > concurrent calls to if_qstart. > without this change bjorn ketelaars on misc@ was experiencing weird > pauses in traffic and lockups because the tx ring was corrupted > because re_start was run concurrently, once from the stack and once > from hfsc. > thanks to bjorn ketelaars for debugging, and mikeb@ for most of the > legwork in diagnosing the problem. > ok mikeb@ (dlg@) ~ if_spppsubr.c > In sppp(4), allow additional 'wildcard' addresses for the destination. > Any address within the range 0.0.0.1 - 0.0.0.255 can now be used. > This allows for multiple pppoe(4) interfaces with dynamic addresses within > the same routing table. Which used to work before OpenBSD 5.8, but since > 5.8 > only one interface in a routing table can use destination address 0.0.0.1. > Problem first reported by Steve (fiverings04 at australian yahoo) on misc@. > I ran into it on an EdgeRouter lite which is supposed to serve two ADSL > lines. > ok sthen@ mpi@ > man page help from jmc@ for an earlier variant of this change (stsp@) netinet ~ ip_ipip.c > Use a common 'goto bad' style and set mp to NULL after freeing it > in ipip_input_gif(). This prevents a use-after-free if there is a > bug in the IP input functions. > OK mpi@ (bluhm@) sys ~ sysctl.h > use size_t for the size of things in memory, not int. > this tweaks the len argument to sysctl_rdstring, sysctl_struct, and > sysctl_rdstruct. > there's probably more to fix. > ok millert@ (dlg@) ~ sysctl.h > tweak sysctl_string and sysctl_tstring to use size_t for lengths, not int > theyre both wrappers around sysctl__string, which is where half the > fix is too. (dlg@) ~ pool.h > add some kinfo structs and sysctl mibs for info about per cpu pool caches > there are two sysctls, one that shows info about the pools global > cache info, and another that dumps info about the caches on all the > cpus in one go. > ok mikeb@ millert@ (dlg@) ~ pool.h > add garbage collection of unused lists percpu cached items. > the cpu caches in pools amortise the cost of accessing global > structures by moving lists of items around instead of individual > items. excess lists of items are stored in the global pool struct, > but these idle lists never get returned back to the system for use > elsewhere. > this adds a timestamp to the global idle list, which is updated > when the idle list stops being empty. if the idle list hasn't been > empty for a while, it means the per cpu caches arent using the idle > entries and they can be recovered. timestamping the pages prevents > recovery of a lot of items that may be used again shortly. eg, rx > ring processing and replenishing from rate limited interrupts tends > to allocate and free items in large chunks, which the timestamping > smooths out. > gc'ed lists are returned to the pool pages, which in turn get gc'ed > back to uvm. > ok visa@ (dlg@) == usr.bin =========================================================== 11/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin at ~ at.c > Finer grained pledge for at(1). After setegid(), do a three-way pledge: > For AT and BATCH: "stdio rpath wpath cpath fattr getpw unix" > For ATRM: "stdio rpath cpath getpw unix" > For ATQ and CAT: "stdio rpath getpw" > "unix" is needed for poke_daemon() and "fattr" to chmod +x spoolfile. > idea and ok millert (tb@) awk ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) infocmp ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) ktrace ~ ktrace.c > usr/bin/ktrace: replace snprintf(3)/write(2) with dprintf(3) > Brought to attention by BlackFrog on #openbsd-daily > OK deraadt@ (awolk@) m4 ~ eval.c ~ extern.h ~ gnum4.c ~ m4.1 ~ main.c ~ misc.c ~ tokenizer.l > Add -E flag (make warnings fatal), following the behavior of GNU m4 1.4.9+ > Help and direction millert@ espie@ anton@ deraadt@ > ok espie@ (bcallah@) ~ Makefile ~ tokenizer.l > Don't need to link with -ll or -ly. > ok millert@ (who spotted and provided the -ll removal bits) (bcallah@) mandoc ~ mdoc_validate.c > Do not issue the message "no blank before trailing delimiter" for .No. > In practice, that message only matters inside .Bf, and even there, it > can occasionally be a false positive. In all other cases, it usually > is a false positive, so it is better to drop it outright. > Suggested by jmc@. (schwarze@) ~ mandoc.1 ~ mandoc.h ~ mdoc_validate.c ~ read.c > style message about missing .Fn markup; inspired by mdoclint (schwarze@) ~ libmandoc.h ~ man_validate.c ~ mandoc.c ~ mandoc.h ~ mdoc_validate.c ~ read.c > Style message about legacy man(7) date format in mdoc(7) documents > and operating system dependent messages about missing or unexpected > Mdocdate; inspired by mdoclint(1). (schwarze@) ~ mdoc_validate.c > ooops, fix a glitch in the previous commit... (schwarze@) ~ mandoc_aux.c ~ mandoc_aux.h ~ tbl_term.c ~ term.c ~ term.h > Implement automatic line breaking > inside individual table cells that contain text blocks. > This cures overlong lines in various Xenocara manuals. (schwarze@) ~ out.c ~ out.h ~ tbl_html.c ~ tbl_term.c > fix column width calculation for text block cells (schwarze@) ~ tbl_term.c > implement the tbl(7) "allbox" option; > used for example by curs_getch(3) and GLwDrawingArea(3) (schwarze@) ~ out.c > If a tbl(7) layout contains a 'w' (minimum width) modifier for a > given column, that column contains no literal or numeric cell of > larger width, and all text block cells in that column can be line > wrapped to fit into that minimum width, groff does not increase > that column width beyond the specified minimum: so do the same. (schwarze@) ~ tbl_term.c > Two minor fixes for the "allbox" modifier: > 1. It does not reduce explicit "||" in the layout to "|". > 2. It does not cause three horizontal lines at the end of a table, > even if the table ends with an explicit "_" data line. (schwarze@) ~ roff.c > Explicitly ignore .br, .ce, and .sp inside tbl(7) text blocks. > With the current code structure, they would appear at the wrong > place in the syntax tree, so it is better to not insert them > into the tree at all and issue an UNSUPP message instead. (schwarze@) ~ tbl_term.c > fix the interaction of the allbox option with spanned cells in the layout > (schwarze@) ~ mandoc.1 ~ manpath.c > Delete the arbitrary range restriction for -Owidth. > We provide users with tools. We don't attempt to prevent them from > using them in stupid ways: depending on the context, not every > stupid-looking use is necessarily actually stupid, and not every > stupidity can be automatically detected anyway, so don't even try. > (schwarze@) ~ tbl_layout.c > If the layout is empty except for requesting a left vertical frame, > record that detail in struct tbl_opts, such that term_tbl() can do > correct column calculations and doesn't prematurely break lines. > Fixes the tbl/layout/empty regression test that got broken when > line breaking in text block cells was implemented. (schwarze@) ~ man_macro.c > Partial support for the \n[an-margin] number register. > Manuals autogenerated from reStructuredText are reckless enough > to peek at this non-portable, implementation-dependent, highly > groff-specific internal register - for no good reason, because the > man(7) language natively provides in a much simpler way what they > are trying to emulate here with much fragility. > A full implementation would be very hard because it would require > access to output-device-specific formatting data at the roff(7) > preprocessor stage, which mandoc doesn't support at all. > So hardcode a few magic numbers as reStructuredText expects them > for terminal output. For other output modes (like HTML), code using > this register is utterly broken anyway. (schwarze@) ~ html.c ~ mandoc.c ~ mandoc.h ~ mdoc_markdown.c ~ term.c > implement the roff(7) \p (break output line) escape sequence (schwarze@) ~ mdoc_man.c ~ roff.c ~ roff.h ~ roff_html.c ~ roff_term.c ~ roff_validate.c > implement roff(7) .rj (right justify) request (schwarze@) ~ roff.c > implement the roff(7) d (macro or string defined) conditional (schwarze@) ~ term_ascii.c > harmless, but weird typo; found with afterstep_faq(1) (schwarze@) ~ man_term.c ~ mdoc_term.c ~ roff_term.c ~ tbl_term.c ~ term.c ~ term.h ~ term_tab.c > improve rounding rules for scaling units > in horizontal orientation in the terminal formatter (schwarze@) ~ out.c ~ term.c > let \l use the right fill character (schwarze@) ~ roff.c > simple implementation of the roff(7) .als (macro alias) request, > sufficient for pages using po4a(1) (schwarze@) ~ chars.c > add the \(ru (0.5m baseline ruler) character escape sequence, > abused by mail/nmh; groff_char(7) confirms that this really exists > (schwarze@) ~ mdoc_man.c ~ roff.c ~ roff.h ~ roff_html.c ~ roff_term.c ~ roff_validate.c > Naive implementation of the roff(7) .po (page offset) request. > This clearly works when .po is called on the top level, but might > not be sophisticated enough if people call .po inside indentation-changing > contexts, but i haven't seen that in manual pages (yet :). (schwarze@) ~ term.c > implement so-called absolute horizontal motion: \h'|...', > used for example by zoem(1) (schwarze@) ~ out.c > round default width of tbl(7) text blocks in the same way as groff > (schwarze@) ~ tbl_data.c ~ tbl_term.c > Multiple tbl(7) improvements: > * Do not discard data that lacks a matching layout cell but remains > within the number of columns of the table as a whole. > * Do not insert dummy data rows for any layout row starting with a > horizontal line, but only for layout rows that would discard all > the data on a matching non-empty data row. > * Print horizontal lines specified in the layout even if there is > no matching data cell. > * Improve the logic for extending vertical lines to adjacent rows, > for choosing cross marks versus line segments, and some related details. > (schwarze@) ~ man_term.c > properly set the default indentation > such that even pages without any .SH macros get it (schwarze@) ~ man.c ~ man_term.c ~ mdoc.c > correct handling of blank lines after \c (schwarze@) ~ tbl_term.c ~ term.h ~ term_tab.c > tables leak tab settings to subsequent text (schwarze@) ~ man_macro.c ~ man_validate.c > if .in is used inside the .TP head, it's always relative (schwarze@) ~ man_validate.c ~ mandoc.1 ~ mandoc.h ~ mdoc_validate.c ~ read.c ~ roff.c ~ roff.h > style message about missing RCS ids; inspired by mdoclint (schwarze@) ~ mandoc.1 ~ mandoc.h ~ read.c ~ roff.c > style message about duplicate RCS ids; inspired by mdoclint (schwarze@) ~ roff.c > Implement appending to standard man(7) and mdoc(7) macros with .am. > With roff_getstrn(), provide finer control which definitions > can be used for what: > * All definitions can be used for .if d tests and .am appending. > * User-defined for \* expansion, .dei expansion, and macro calling. > * Predefined for \* expansion. > * Standard macros, original or renamed, for macro calling. > Several related improvements while here: > * Do not return string table entries that have explicitly been removed. > * Do not create a rentab entry when trying to rename a non-existent macro. > * Clear an existing rentab entry when the external interface > roff_setstr() is called with its name. > * Avoid trailing blanks in macro lines generated from renamed > and from aliased macros. > * Delete the duplicate __m*_reserved[] tables, just use roff_name[]. > (schwarze@) nc ~ netcat.c > Simple style(9) fixes from Juuso Lapinlampi, mostly whitespace and > omitting parentheses in return statements. Binary change because of > return instead of exit(3) from main and because help() is now __dead. > ok awolk (tb@) ~ netcat.c > Continue the flattening of the pledge logic started in r1.184 and place > a blank space somewhere else. > suggested by and ok jsing (tb@) patch ~ patch.c > rejname[] is also -r option buffer, and should be PATH_MAX > ok millert (deraadt@) ssh ~ sshkey.h > missing prototype. (djm@) ~ kex.c > Do not require that unknown EXT_INFO extension values not contain > \0 characters. This would cause fatal connection errors if an > implementation sent e.g. string-encoded sub-values inside a value. > Reported by Denis Bider; ok markus@ (djm@) ~ sshconnect2.c > Add user@host prefix to client's "Permisison denied" messages, useful in > particular when using "stacked" connections where it's not clear which > host is denying. bz#2720, ok djm@ markus@ (dtucker@) systat ~ pool.c ~ systat.1 > add a rough start to a pcache view, to show pool cpu cache info. > ok mikeb@ millert@ (dlg@) tic ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) tmux ~ input-keys.c ~ key-string.c ~ tmux.h ~ tty-keys.c > Add explicit keys for the bracketed paste sequences, both to avoid mix > ups with other keys and to make logs clearer. (nicm@) ~ screen-write.c > Need to flush out the linefeed after wrapper. GitHub issue 970. (nicm@) ~ server-client.c > Remove xterm flag from key before checking prefix, reported by Peter > Fern in GitHub issue 974. (nicm@) ~ cmd-find.c > Add missing error message when no target, GitHub issue 971. (nicm@) ~ cmd-string.c > Don't overwrite error message when it is available in > cmd_string_parse. Reported by Jimi Damon in GitHub issue 975. (nicm@) ~ tty-term.c > Log terminal capabilities for each new terminal. (nicm@) ~ cmd-queue.c ~ cmd-find.c > Tweak some logging. (nicm@) tset ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) vi ~ common/recover.c > Use openat() and unlinkat() instead of chdir()ing to the recovery dir. > Since we use flock() and not fcntl() locking we can open the recovery > file read-only. OK martijn@ (millert@) ~ docs/USD.doc/vi.man/vi.1 > "10th's of a second" -> "tenths of a second" > ok jmc@ (bentley@) == usr.sbin ========================================================== 12/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bind ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) crunchgen ~ crunchgen.8 > missing .Fn markup for main(); found with mandoc -Tlint (schwarze@) ifstated ~ ifstated.c ~ ifstated.h ~ log.c ~ parse.y + log.h > update log.c in ifstated to the same used in bgpd etc. > Done by Rob Pierce <rob AT 2keys DOT ca>, thanks (benno@) mailwrapper ~ mailwrapper.c > Remove main() prototype and unused envp argument. > ok deraadt@ martijn@ (anton@) nsd ~ Makefile.bsd-wrapper > destroy lint remnants. > okay millert@ deraadt@ (espie@) pcidump ~ pcidump.c > PCI Express extendeded capability 0x1c is LN Requester according to the > PCI-SIG Lightweight Notification (LN) Protocol ECN document. > From Masanobu SAITOH. (jsg@) radiusd ~ radiusd.c > Initialize the length parameter for radius_get_vs_raw_attr() since > it's read/write. diff from IIJ. (yasuoka@) rpc.lockd ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) rpc.statd ~ Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) tcpdump ~ print-atalk.c ~ privsep.c ~ privsep.h > Don't support loading appletalk addresses from /etc/appletalk.names. > OK deraadt@ (akfaew@) vmd ~ vmd.h > device path should be PATH_MAX. Any NAME_MAX without +1 is suspect > to begin with anyways. (deraadt@) wsfontload ~ wsfontload.c > We do not support iso7 nor pcvt encoding, so remove macro definitions > and commented entries. > OK mlarkin@ (fcambus@) ~ wsfontload.c > Since WSFONT_NAME_SIZE was switched from 16 to 32, account for the > change in wsfontload as well: tweak spacing and printf format string. > OK deraadt@, mpi@ (fcambus@) ypbind ~ ypbind.c > Use unlinkat() when removing the contents of a directory so we don't > need to construct paths. OK deraadt@ (millert@) ypserv ~ ypserv/Makefile > mark files as BUILDFIRST, or write explicit dependencies, so that most > programs will build even without a make depend first. > okay tb@ millert@ (espie@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
