Re: svn commit: r368736 - head/tools/tools/git/hooks

2020-12-28 Thread Alan Somers
On Mon, Dec 28, 2020 at 3:29 PM Ed Maste wrote: > On Mon, 28 Dec 2020 at 14:34, Alan Somers wrote: > > > > On Thu, Dec 17, 2020 at 12:58 PM Ed Maste wrote: > >> > >> Author: emaste > >> Date: Thu Dec 17 19:58:29 2020 > >> New Revision: 368736

Re: svn commit: r366697 - head/usr.bin/xinstall

2020-12-28 Thread Alan Somers
BTW, I have a WIP patch to xinstall to make it use copy_file_range. The patch works, but I never wrote a fallback path in case copy_file_range fails for some reason. Alex, would you be interested to finish the patch? -Alan On Wed, Oct 14, 2020 at 7:35 AM Alexander Richardson <

Re: svn commit: r368736 - head/tools/tools/git/hooks

2020-12-28 Thread Alan Somers
On Thu, Dec 17, 2020 at 12:58 PM Ed Maste wrote: > Author: emaste > Date: Thu Dec 17 19:58:29 2020 > New Revision: 368736 > URL: https://svnweb.freebsd.org/changeset/base/368736 > > Log: > Add initial version of git commit message preparation hook > > Start with a slightly modified version

svn commit: r368272 - head/tests/sys/aio

2020-12-01 Thread Alan Somers
Author: asomers Date: Wed Dec 2 00:53:03 2020 New Revision: 368272 URL: https://svnweb.freebsd.org/changeset/base/368272 Log: AIO tests: update expected failure messages after r368265 PR: 220398, 251515 MFC after:1 week MFC-With: r368265 Modified:

svn commit: r368131 - head/sbin/ping

2020-11-28 Thread Alan Somers
Author: asomers Date: Sat Nov 28 23:24:19 2020 New Revision: 368131 URL: https://svnweb.freebsd.org/changeset/base/368131 Log: ping: allow building without INET support Building without INET6 support was already possible. Now it's possible to build ping with only INET6, or even with

Re: svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-27 Thread Alan Somers
On Fri, Nov 27, 2020 at 5:08 AM Bjoern A. Zeeb < bzeeb-li...@lists.zabbadoz.net> wrote: > On 26 Nov 2020, at 18:51, Alan Somers wrote: > > > On Thu, Nov 26, 2020 at 2:16 AM Bjoern A. Zeeb < > > bzeeb-li...@lists.zabbadoz.net> wrote: > > > >&g

Re: svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-26 Thread Alan Somers
On Thu, Nov 26, 2020 at 2:16 AM Bjoern A. Zeeb < bzeeb-li...@lists.zabbadoz.net> wrote: > On 26 Nov 2020, at 4:29, Alan Somers wrote: > > > Author: asomers > > Date: Thu Nov 26 04:29:30 2020 > > New Revision: 368045 > > URL: https://svnweb.freebsd.o

svn commit: r368078 - in head: . rescue/rescue sbin/ping sbin/ping/tests tools/build/mk

2020-11-26 Thread Alan Somers
Author: asomers Date: Thu Nov 26 18:33:04 2020 New Revision: 368078 URL: https://svnweb.freebsd.org/changeset/base/368078 Log: ping: add a ping6 hard link for backwards compatibility When invoked as "ping6", ping will now attempt to use ICMPv6 for hostnames that resolve both IPv4 and

Re: svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-26 Thread Alan Somers
> > > > > I think you should add a LINKS=... here so people script which uses > > > ping6 won't break (and of course adding support in the code to do ipv6 > > > ping if progname is ping6 if this isn't the case). > > > > > > Cheers, > > > > > > -- > > > Emmanuel Vadot > > > > > > > Yes, that

Re: svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-26 Thread Alan Somers
On Thu, Nov 26, 2020 at 1:27 AM Emmanuel Vadot wrote: > > Hi Alan, > > On Thu, 26 Nov 2020 04:29:31 +0000 (UTC) > Alan Somers wrote: > > > Author: asomers > > Date: Thu Nov 26 04:29:30 2020 > > New Revision: 368045 > > URL: https://svnweb.fre

svn commit: r368046 - in head: contrib/traceroute share/man/man4 tests/sys/netinet tests/sys/netinet6 tests/sys/netipsec/tunnel tests/sys/netpfil/common tests/sys/netpfil/pf usr.sbin/traceroute6

2020-11-25 Thread Alan Somers
Author: asomers Date: Thu Nov 26 04:55:02 2020 New Revision: 368046 URL: https://svnweb.freebsd.org/changeset/base/368046 Log: ping: fix some man pages and tests after r368045 MFC-with: r368045 Modified: head/contrib/traceroute/traceroute.8 head/share/man/man4/inet6.4

svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-25 Thread Alan Somers
Author: asomers Date: Thu Nov 26 04:29:30 2020 New Revision: 368045 URL: https://svnweb.freebsd.org/changeset/base/368045 Log: Merge ping6 to ping There is now a single ping binary, which chooses to use ICMP or ICMPv4 based on the -4 and -6 options, and the format of the address.

svn commit: r367976 - head/sbin/ping6

2020-11-23 Thread Alan Somers
Author: asomers Date: Tue Nov 24 02:51:45 2020 New Revision: 367976 URL: https://svnweb.freebsd.org/changeset/base/367976 Log: ping6: update usage text after r365547 MFC after:2 weeks Modified: head/sbin/ping6/ping6.c Modified: head/sbin/ping6/ping6.c

svn commit: r367785 - in head/sys: fs/nfs nfsserver

2020-11-17 Thread Alan Somers
Author: asomers Date: Wed Nov 18 04:35:49 2020 New Revision: 367785 URL: https://svnweb.freebsd.org/changeset/base/367785 Log: nfs: Mark unused statistics variable as reserved FreeBSD's NFS exporter has long exported some unused statistics fields. Revision r366992 removed them from

svn commit: r366992 - head/usr.bin/nfsstat

2020-10-23 Thread Alan Somers
Author: asomers Date: Sat Oct 24 05:52:29 2020 New Revision: 366992 URL: https://svnweb.freebsd.org/changeset/base/366992 Log: nfsstat: delete unused fields Ever since r192762 nfsstat has included a few fields whose values were always 0. They were copied from OpenBSD, but have never been

svn commit: r366365 - head/tests/sys/fs/fusefs

2020-10-02 Thread Alan Somers
Author: asomers Date: Fri Oct 2 17:06:05 2020 New Revision: 366365 URL: https://svnweb.freebsd.org/changeset/base/366365 Log: fusefs tests: quell Coverity "Argument cannot be negative" warnings Must abort tests early if open(2) fails. Reported by: Coverity Coverity CID: 1432810

Re: svn commit: r366207 - head/lib/libc/gen

2020-09-27 Thread Alan Somers
On Sun, Sep 27, 2020 at 5:15 PM Konstantin Belousov wrote: > On Sun, Sep 27, 2020 at 10:26:41PM +0000, Alan Somers wrote: > > Author: asomers > > Date: Sun Sep 27 22:26:41 2020 > > New Revision: 366207 > > URL: https://svnweb.freebsd.org/changeset/base/366207 >

svn commit: r366207 - head/lib/libc/gen

2020-09-27 Thread Alan Somers
Author: asomers Date: Sun Sep 27 22:26:41 2020 New Revision: 366207 URL: https://svnweb.freebsd.org/changeset/base/366207 Log: Misc compiler warning fixes in lib/libc Reviewed by: kevans, imp MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D26534

svn commit: r366132 - head/lib/libc/tests/iconv

2020-09-24 Thread Alan Somers
Author: asomers Date: Thu Sep 24 21:42:44 2020 New Revision: 366132 URL: https://svnweb.freebsd.org/changeset/base/366132 Log: lib/libc/tests/iconv: raise WARNS to 6 MFC after:2 weeks Modified: head/lib/libc/tests/iconv/Makefile head/lib/libc/tests/iconv/iconvctl_test.c Modified:

svn commit: r366131 - head/lib/libc/tests/sys

2020-09-24 Thread Alan Somers
Author: asomers Date: Thu Sep 24 21:39:09 2020 New Revision: 366131 URL: https://svnweb.freebsd.org/changeset/base/366131 Log: lib/libc/tests/sys: raise WARNS to 6 MFC after:2 weeks Modified: head/lib/libc/tests/sys/Makefile Modified: head/lib/libc/tests/sys/Makefile

svn commit: r366121 - in head: sys/fs/fuse tests/sys/fs/fusefs

2020-09-24 Thread Alan Somers
Author: asomers Date: Thu Sep 24 16:27:53 2020 New Revision: 366121 URL: https://svnweb.freebsd.org/changeset/base/366121 Log: fusefs: fix mmap'd writes in direct_io mode If a FUSE server returns FOPEN_DIRECT_IO in response to FUSE_OPEN, that instructs the kernel to bypass the page cache

svn commit: r366118 - head/sys/kern

2020-09-24 Thread Alan Somers
Author: asomers Date: Thu Sep 24 15:38:01 2020 New Revision: 366118 URL: https://svnweb.freebsd.org/changeset/base/366118 Log: Fix some signed/unsigned comparison warnings in NFS Reviewed by: rmacklem MFC after:2 weeks Differential Revision:

Re: svn commit: r365643 - head/bin/cp

2020-09-22 Thread Alan Somers
Go ahead and commit. Consider it reviewed by me. And if I understand correctly, this commit means there's no need for a special updating procedure, right? On Tue, Sep 22, 2020 at 6:55 PM Warner Losh wrote: > > > On Tue, Sep 22, 2020 at 5:17 PM Kyle Evans wrote: > >> On Tue, Sep 22, 2020,

Re: svn commit: r365643 - head/bin/cp

2020-09-22 Thread Alan Somers
gt;> On Tue, Sep 22, 2020 at 3:27 PM Kyle Evans wrote: >> >>> >> >>> I'm running a build at the suggestion of mjg to confirm there aren't >> >>> any others hiding that can be converted, and I will commit after I've >> >>> verified that this is it. >>

Re: svn commit: r365643 - head/bin/cp

2020-09-22 Thread Alan Somers
+1. On Tue, Sep 22, 2020 at 3:27 PM Kyle Evans wrote: > I'm running a build at the suggestion of mjg to confirm there aren't > any others hiding that can be converted, and I will commit after I've > verified that this is it. > > On Tue, Sep 22, 2020 at 4:02 PM Alan Somers wrot

Re: svn commit: r365643 - head/bin/cp

2020-09-22 Thread Alan Somers
tftp.h arpa/tftp.h; \ > for i in _time.h _strings.h _string.h; do \ > - [ -f xlocale/$$i ] || cp /dev/null xlocale/$$i; \ > + [ -f xlocale/$$i ] || :> xlocale/$$i; \ > done; \ > for i in ${STAND_H_INC}; do \ >

Re: svn commit: r365643 - head/bin/cp

2020-09-22 Thread Alan Somers
PM Mateusz Guzik wrote: > Can we instead add a workaround to the build tree? > > Where is cp /dev/null coming from anyway? Perhaps this can be patched > to touch the target file. > > On 9/22/20, Alan Somers wrote: > > On Tue, Sep 22, 2020 at 2:48 PM Kyle Evans wrote: > &g

Re: svn commit: r365643 - head/bin/cp

2020-09-22 Thread Alan Somers
On Tue, Sep 22, 2020 at 2:48 PM Kyle Evans wrote: > On Fri, Sep 11, 2020 at 3:49 PM Alan Somers wrote: > > > > Author: asomers > > Date: Fri Sep 11 20:49:36 2020 > > New Revision: 365643 > > URL: https://svnweb.freebsd.org/changeset/base/365643 > > >

svn commit: r365956 - head/tools/regression/fsx

2020-09-21 Thread Alan Somers
Author: asomers Date: Mon Sep 21 17:48:28 2020 New Revision: 365956 URL: https://svnweb.freebsd.org/changeset/base/365956 Log: fsx: fix build with WARNS=6 * signed/unsigned comparisons * use standard warn(3) * Suppress warnings about local vars and funcs not declared static *

Re: svn commit: r365643 - head/bin/cp

2020-09-19 Thread Alan Somers
On Sat, Sep 19, 2020 at 5:32 PM Konstantin Belousov wrote: > On Sat, Sep 19, 2020 at 11:18:56PM +, Rick Macklem wrote: > > Alan Somers wrote: > > >On Fri, Sep 11, 2020 at 3:52 PM Rick Macklem <mailto:rmack...@uoguelph.ca>> wrote: > > >Konstantin Belous

svn commit: r365910 - head/lib/libc/gen

2020-09-19 Thread Alan Somers
Author: asomers Date: Sat Sep 19 19:08:27 2020 New Revision: 365910 URL: https://svnweb.freebsd.org/changeset/base/365910 Log: fix integer underflow in getgrnam_r and getpwnam_r Sometimes nscd(8) will return a 1-byte buffer for a nonexistent entry. This triggered an integer underflow in

Re: svn commit: r365643 - head/bin/cp

2020-09-19 Thread Alan Somers
On Fri, Sep 11, 2020 at 3:52 PM Rick Macklem wrote: > Konstantin Belousov wrote: > >On Fri, Sep 11, 2020 at 08:49:36PM +0000, Alan Somers wrote: > >> Author: asomers > >> Date: Fri Sep 11 20:49:36 2020 > >> New Revision: 365643 > >> URL: htt

svn commit: r365643 - head/bin/cp

2020-09-11 Thread Alan Somers
Author: asomers Date: Fri Sep 11 20:49:36 2020 New Revision: 365643 URL: https://svnweb.freebsd.org/changeset/base/365643 Log: cp: fall back to read/write if copy_file_range fails Even though copy_file_range has a file-system agnostic version, it still fails on devfs (perhaps because the

svn commit: r365549 - head/bin/cp

2020-09-09 Thread Alan Somers
Author: asomers Date: Thu Sep 10 02:48:55 2020 New Revision: 365549 URL: https://svnweb.freebsd.org/changeset/base/365549 Log: cp: use copy_file_range(2) This has three advantages over write(2)/read(2): * Fewer context switches and data copies * Mostly preserves a file's sparseness

svn commit: r365415 - head/share/man/man5

2020-09-07 Thread Alan Somers
Author: asomers Date: Mon Sep 7 13:44:54 2020 New Revision: 365415 URL: https://svnweb.freebsd.org/changeset/base/365415 Log: nsswitch.conf.5: style fixes Fix some whitespace, and remove the .Tn macro Reported by: mandoc, igor Reviewed by: bcr (manpages) MFC after:1 week

Re: svn commit: r364637 - head/sys/kern

2020-09-06 Thread Alan Somers
On Mon, Aug 24, 2020 at 3:01 AM Mateusz Guzik wrote: > Author: mjg > Date: Mon Aug 24 09:00:57 2020 > New Revision: 364637 > URL: https://svnweb.freebsd.org/changeset/base/364637 > > Log: > cache: lockless reverse lookup > > This enables fully scalable operation for getcwd and significantly

svn commit: r365391 - head/share/man/man5

2020-09-06 Thread Alan Somers
Author: asomers Date: Sun Sep 6 20:32:13 2020 New Revision: 365391 URL: https://svnweb.freebsd.org/changeset/base/365391 Log: nsswitch.conf(5): recommend placing cache after files When cache precedes files, and nscd is configured to allow negative caching, commands like "pw groupadd"

svn commit: r365389 - head/sys/crypto/via

2020-09-06 Thread Alan Somers
Author: asomers Date: Sun Sep 6 19:25:31 2020 New Revision: 365389 URL: https://svnweb.freebsd.org/changeset/base/365389 Log: padlock(4): fix instapanics with geli authentication cryptodev_process implementations are supposed to return 0 PR: 247986 Submitted by: jhb MFC

svn commit: r365262 - head/usr.bin/nfsstat

2020-09-02 Thread Alan Somers
Author: asomers Date: Wed Sep 2 17:36:30 2020 New Revision: 365262 URL: https://svnweb.freebsd.org/changeset/base/365262 Log: Fix output of nfsstat -cE in json or xml mode Due to a copy/paste error, the "getacl" field was duplicated, but only in XML or JSON mode, not in txt mode.

Re: svn commit: r364833 - head/sys/dev/sec

2020-08-26 Thread Alan Somers
On Wed, Aug 26, 2020 at 1:30 PM Brandon Bergren wrote: > Author: bdragon > Date: Wed Aug 26 19:30:42 2020 > New Revision: 364833 > URL: https://svnweb.freebsd.org/changeset/base/364833 > > Log: > [PowerPC] Fix build failure in sec.c > > Fix a typo in r364799 that was breaking powerpc and

Re: svn commit: r364799 - in head: share/man/man9 sys/crypto/ccp sys/dev/cxgbe/crypto sys/dev/sec sys/kern sys/opencrypto

2020-08-26 Thread Alan Somers
On Wed, Aug 26, 2020 at 1:30 PM Ed Maste wrote: > On Wed, 26 Aug 2020 at 15:27, Alan Somers wrote: > > > > It probably came copy/pasted from another file :( . I'll fix it; and > figure out why my universe build didn't catch this. > > IIRC powerpcspe is not included in u

Re: svn commit: r364799 - in head: share/man/man9 sys/crypto/ccp sys/dev/cxgbe/crypto sys/dev/sec sys/kern sys/opencrypto

2020-08-26 Thread Alan Somers
On Wed, Aug 26, 2020 at 1:23 PM Brandon Bergren wrote: > > > No, I mean literally. What scope is cb coming from? It's not a variable > > that is in scope for that function as far as I can tell. > > > > Naturally, about two seconds after I sent this, I realized that you meant > that it was a

svn commit: r364800 - head/sys/geom/eli

2020-08-25 Thread Alan Somers
Author: asomers Date: Wed Aug 26 02:44:35 2020 New Revision: 364800 URL: https://svnweb.freebsd.org/changeset/base/364800 Log: geli: use unmapped I/O Use unmapped I/O for geli. Unlike most geom providers, geli needs to manipulate data on every read or write. Previously it would always

svn commit: r364799 - in head: share/man/man9 sys/crypto/ccp sys/dev/cxgbe/crypto sys/dev/sec sys/kern sys/opencrypto

2020-08-25 Thread Alan Somers
Author: asomers Date: Wed Aug 26 02:37:42 2020 New Revision: 364799 URL: https://svnweb.freebsd.org/changeset/base/364799 Log: crypto(9): add CRYPTO_BUF_VMPAGE crypto(9) functions can now be used on buffers composed of an array of vm_page_t structures, such as those stored in an unmapped

svn commit: r364412 - head/cddl/contrib/opensolaris/lib/libzfs/common

2020-08-19 Thread Alan Somers
Author: asomers Date: Thu Aug 20 01:31:21 2020 New Revision: 364412 URL: https://svnweb.freebsd.org/changeset/base/364412 Log: zfs: fix EIO accessing dataset after resuming interrupted receive ZFS unmounts a dataset while receiving into it and remounts it afterwards. But if ZFS is

svn commit: r364094 - head/tests/sys/fs/fusefs

2020-08-10 Thread Alan Somers
Author: asomers Date: Tue Aug 11 01:09:06 2020 New Revision: 364094 URL: https://svnweb.freebsd.org/changeset/base/364094 Log: fusefs: fix the FUSE_FORGET unit test after r364064 Thanks to r364064, the name cache now returns a hit where previously it would miss. Adjust the expectations

Re: svn commit: r364044 - in head: share/man/man9 sys/compat/linuxkpi/common/src sys/kern sys/security/audit sys/sys

2020-08-07 Thread Alan Somers
Guzik wrote: > > tmpfs_getattr fills > 100 bytes worth of data into struct vattr, which > > then has to be converted to struct stat format. The conversion happens > > to copy some of it as it is and branch on other stuff. tmpfs_stat > > elides the entire process. > > > >

Re: svn commit: r364044 - in head: share/man/man9 sys/compat/linuxkpi/common/src sys/kern sys/security/audit sys/sys

2020-08-07 Thread Alan Somers
On Fri, Aug 7, 2020 at 5:06 PM Mateusz Guzik wrote: > Author: mjg > Date: Fri Aug 7 23:06:40 2020 > New Revision: 364044 > URL: https://svnweb.freebsd.org/changeset/base/364044 > > Log: > vfs: add VOP_STAT > > The current scheme of calling VOP_GETATTR adds avoidable overhead. > > An

svn commit: r363622 - head/sys/sys

2020-07-27 Thread Alan Somers
Author: asomers Date: Mon Jul 27 18:57:28 2020 New Revision: 363622 URL: https://svnweb.freebsd.org/changeset/base/363622 Log: Restrict definition of CTL_P1003_1B_MAXID to the kernel This constant is only used to size an array within the kernel. There are probably no legitimate uses in

svn commit: r363402 - in head: sys/geom/eli tests/sys/geom/class/eli

2020-07-21 Thread Alan Somers
Author: asomers Date: Tue Jul 21 19:18:29 2020 New Revision: 363402 URL: https://svnweb.freebsd.org/changeset/base/363402 Log: Fix geli's null cipher, and add a test case PR: 247954 Submitted by: jhb (sys), asomers (tests) Reviewed by: jhb (tests), asomers (sys) MFC after:

svn commit: r363398 - head/lib/libc/sys

2020-07-21 Thread Alan Somers
Author: asomers Date: Tue Jul 21 16:46:40 2020 New Revision: 363398 URL: https://svnweb.freebsd.org/changeset/base/363398 Log: [skip ci] document close_range(2) as async-signal-safe Reviewed by: bcr (manpages) MFC after:2 weeks Sponsored by: Axcient Differential Revision:

svn commit: r363368 - head/sys/crypto/via

2020-07-20 Thread Alan Somers
Author: asomers Date: Mon Jul 20 16:12:14 2020 New Revision: 363368 URL: https://svnweb.freebsd.org/changeset/base/363368 Log: padlock: fix Via Padlock with 192-bit keys It's been broken since a typo in r359374 Reviewed by: jhb MFC after:2 weeks Sponsored by: Axcient

svn commit: r363361 - head/tests/sys/opencrypto

2020-07-20 Thread Alan Somers
Author: asomers Date: Mon Jul 20 12:47:15 2020 New Revision: 363361 URL: https://svnweb.freebsd.org/changeset/base/363361 Log: tests/sys/opencrypto: use python3 python2 will be EOL soon Reviewed by: lwhsu, jmg MFC after:2 weeks Sponsored by: Axcient Differential Revision:

Re: svn commit: r363255 - head/sys/dev/virtio/block

2020-07-16 Thread Alan Somers
On Thu, Jul 16, 2020 at 10:32 AM Allan Jude wrote: > Author: allanjude > Date: Thu Jul 16 16:32:16 2020 > New Revision: 363255 > URL: https://svnweb.freebsd.org/changeset/base/363255 > > Log: > Add VIRTIO_BLK_T_DISCARD support to the virtio-blk driver > > If the hypervisor advertises support

svn commit: r363014 - in head: sys/geom/eli tests/sys/geom/class/eli

2020-07-08 Thread Alan Somers
Author: asomers Date: Wed Jul 8 17:12:12 2020 New Revision: 363014 URL: https://svnweb.freebsd.org/changeset/base/363014 Log: geli: enable direct dispatch geli does all of its crypto operations in a separate thread pool, so g_eli_start, g_eli_read_done, and g_eli_write_done don't

svn commit: r362891 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-07-02 Thread Alan Somers
Author: asomers Date: Thu Jul 2 13:17:31 2020 New Revision: 362891 URL: https://svnweb.freebsd.org/changeset/base/362891 Log: Fix page fault in zfsctl_snapdir_getattr Must acquire the z_teardown_lock before accessing the zfsvfs_t object. I can't reproduce this panic on demand, but this

Re: svn commit: r342699 - head/sbin/savecore

2020-06-29 Thread Alan Somers
On Sun, Jun 28, 2020 at 6:55 PM Mark Johnston wrote: > On Sun, Jun 28, 2020 at 06:40:59PM -0600, Alan Somers wrote: > > On Wed, Jan 2, 2019 at 10:09 AM Mark Johnston wrote: > > > > > Author: markj > > > Date: Wed Jan 2 17:09:35 2019 > >

svn commit: r362790 - in head: sbin/savecore share/man/man5

2020-06-29 Thread Alan Somers
Author: asomers Date: Mon Jun 29 22:12:23 2020 New Revision: 362790 URL: https://svnweb.freebsd.org/changeset/base/362790 Log: savecore: accept device names without the /dev/ prefix dumpon has accepted device names without the prefix ever since r291207. Since dumpon and savecore are

Re: svn commit: r342699 - head/sbin/savecore

2020-06-28 Thread Alan Somers
On Sun, Jun 28, 2020 at 6:46 PM Warner Losh wrote: > > > On Sun, Jun 28, 2020, 6:41 PM Alan Somers wrote: > >> On Wed, Jan 2, 2019 at 10:09 AM Mark Johnston wrote: >> >>> Author: markj >>> Date: Wed Jan 2 17:09:35 2019 >>> New Revision: 3

Re: svn commit: r342699 - head/sbin/savecore

2020-06-28 Thread Alan Somers
On Wed, Jan 2, 2019 at 10:09 AM Mark Johnston wrote: > Author: markj > Date: Wed Jan 2 17:09:35 2019 > New Revision: 342699 > URL: https://svnweb.freebsd.org/changeset/base/342699 > > Log: > Capsicumize savecore(8). > > - Use cap_fileargs(3) to open dump devices after entering capability >

svn commit: r362280 - in head/sys/fs: nfs nfsclient nfsserver

2020-06-17 Thread Alan Somers
Author: asomers Date: Wed Jun 17 16:20:19 2020 New Revision: 362280 URL: https://svnweb.freebsd.org/changeset/base/362280 Log: Remove vfs_statfs and vnode_mount macros from NFS These macro definitions are no longer needed as the NFS OSX port is long dead. The vfs_statfs macro conflicts

svn commit: r361562 - head/sys/geom/eli

2020-05-27 Thread Alan Somers
Author: asomers Date: Wed May 27 19:13:26 2020 New Revision: 361562 URL: https://svnweb.freebsd.org/changeset/base/361562 Log: geli: fix a livelock during panic During any kind of shutdown, kern_reboot calls geli's pre_sync event hook, which tries to destroy all unused geli devices. But

svn commit: r361439 - head/share/man/man4

2020-05-24 Thread Alan Somers
Author: asomers Date: Mon May 25 04:17:01 2020 New Revision: 361439 URL: https://svnweb.freebsd.org/changeset/base/361439 Log: [skip ci] ip.4: fix typos MFC after:2 weeks Modified: head/share/man/man4/ip.4 Modified: head/share/man/man4/ip.4

svn commit: r361401 - in head: sys/fs/fuse tests/sys/fs/fusefs

2020-05-22 Thread Alan Somers
Author: asomers Date: Fri May 22 18:11:17 2020 New Revision: 361401 URL: https://svnweb.freebsd.org/changeset/base/361401 Log: Fix issues with FUSE_ACCESS when default_permissions is disabled This patch fixes two issues relating to FUSE_ACCESS when the default_permissions mount option is

svn commit: r361399 - head/sys/fs/fuse

2020-05-22 Thread Alan Somers
Author: asomers Date: Fri May 22 18:03:14 2020 New Revision: 361399 URL: https://svnweb.freebsd.org/changeset/base/361399 Log: Disable nullfs cacheing on top of fusefs Nullfs cacheing can keep a large number of vnodes active. That results in more active FUSE file handles, causing some

svn commit: r361223 - head/tests/sys/fs/fusefs

2020-05-18 Thread Alan Somers
Author: asomers Date: Mon May 18 18:36:32 2020 New Revision: 361223 URL: https://svnweb.freebsd.org/changeset/base/361223 Log: fusefs: fix intermittency in some ENOENT tests When a FUSE operation other than LOOKUP returns ENOENT, the kernel will reclaim that vnode, resuling in a

svn commit: r361129 - head/tests/sys/geom/class/gate

2020-05-16 Thread Alan Somers
Author: asomers Date: Sun May 17 02:41:50 2020 New Revision: 361129 URL: https://svnweb.freebsd.org/changeset/base/361129 Log: Reenable sys.geom.class.gate.ggate_test.ggated in CI Should be fixed by r360613 PR: 244737 Reported by: lwhsu Modified:

svn commit: r360829 - head/tests/sys/fs/fusefs

2020-05-08 Thread Alan Somers
Author: asomers Date: Fri May 8 23:00:02 2020 New Revision: 360829 URL: https://svnweb.freebsd.org/changeset/base/360829 Log: fusefs: fix two small bugs in the tests' expectations These two errors have been present since the tests' introduction. Coincidentally every test (I think

svn commit: r360828 - head/sys/fs/fuse

2020-05-08 Thread Alan Somers
Author: asomers Date: Fri May 8 22:26:52 2020 New Revision: 360828 URL: https://svnweb.freebsd.org/changeset/base/360828 Log: fusefs: better dtrace probes for asynchronous invalidation operations MFC after:2 weeks Modified: head/sys/fs/fuse/fuse_internal.c Modified:

svn commit: r360807 - head/tests/sys/geom/class/multipath

2020-05-07 Thread Alan Somers
Author: asomers Date: Fri May 8 02:42:15 2020 New Revision: 360807 URL: https://svnweb.freebsd.org/changeset/base/360807 Log: Fix the sys.geom.class.multipath.misc.fail_on_error test on stable/12 This test uses a gnop feature (delay probability) that isn't available on stable/12. But

svn commit: r360613 - head/tests/sys/geom/class/gate

2020-05-03 Thread Alan Somers
Author: asomers Date: Sun May 3 18:10:54 2020 New Revision: 360613 URL: https://svnweb.freebsd.org/changeset/base/360613 Log: Fix intermittent cleanup failures in the ggated test MFC after:2 weeks Modified: head/tests/sys/geom/class/gate/ggate_test.sh Modified:

svn commit: r360567 - in head/tests/sys: fs/fusefs mac/bsdextended

2020-05-02 Thread Alan Somers
Author: asomers Date: Sat May 2 20:14:59 2020 New Revision: 360567 URL: https://svnweb.freebsd.org/changeset/base/360567 Log: Resolve conflict between the fusefs(5) and mac_bsdextended(4) tests mac_bsdextended(4), when enabled, causes ordinary operations to send many more VOP_GETATTRs

svn commit: r360339 - head/tests/sys/mac/bsdextended

2020-04-26 Thread Alan Somers
Author: asomers Date: Sun Apr 26 15:51:46 2020 New Revision: 360339 URL: https://svnweb.freebsd.org/changeset/base/360339 Log: mac_bsdextended: ATFify the tests The new tests have more complete setup and cleanup, are more granular, and correctly annotate expected failures and skipped

Re: svn commit: r360077 - head/cddl/usr.sbin/zfsd

2020-04-18 Thread Alan Somers
Definitely if there were some meaningful information in it. But an empty file? I'm not sure. I'm only sure that I can fix the bad .Xr faster by removing it. -Alan On Sat, Apr 18, 2020 at 8:25 PM Rodney W. Grimes wrote: > > Author: asomers > > Date: Sat Apr 18 19:47:38 2020 > > New Revision:

svn commit: r360088 - in head: . contrib/openbsm/bin/auditd lib/libauditd share/mk

2020-04-18 Thread Alan Somers
Author: asomers Date: Sun Apr 19 02:20:39 2020 New Revision: 360088 URL: https://svnweb.freebsd.org/changeset/base/360088 Log: libauditd: make it a PRIVATELIB According to the upstream man page (which we don't install), none of libauditd's symbols are intended to be public. Also, I can't

svn commit: r360087 - in head: . lib/libbsm

2020-04-18 Thread Alan Somers
Author: asomers Date: Sun Apr 19 02:18:40 2020 New Revision: 360087 URL: https://svnweb.freebsd.org/changeset/base/360087 Log: libbsm: fix some MLINKS Add missing MLINKS entries for a few functions. Remove some old typo entries. Reported by: phk Reviewed by: cem MFC after:

svn commit: r360086 - head/sbin/bectl

2020-04-18 Thread Alan Somers
Author: asomers Date: Sun Apr 19 01:43:59 2020 New Revision: 360086 URL: https://svnweb.freebsd.org/changeset/base/360086 Log: bectl.8: correctly sort SEE ALSO section after 360078 Reported by: yuripv MFC after:2 weeks MFC with: 360078 Modified: head/sbin/bectl/bectl.8

svn commit: r360080 - head/cddl/contrib/opensolaris/cmd/zfs

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 20:55:43 2020 New Revision: 360080 URL: https://svnweb.freebsd.org/changeset/base/360080 Log: zfs-program.8: fix orphan .Xr Reported by: phk Reviewed by: avg MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D24488

svn commit: r360079 - head/lib/libcasper/services/cap_dns

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 20:13:43 2020 New Revision: 360079 URL: https://svnweb.freebsd.org/changeset/base/360079 Log: cap_dns.3: fix some orphan .Xr links Reported by: phk MFC after:2 weeks Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 Modified:

svn commit: r360078 - in head: sbin/bectl share/man/man8

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 19:53:47 2020 New Revision: 360078 URL: https://svnweb.freebsd.org/changeset/base/360078 Log: bectl.8, beinstall.sh.8: fix man page section of beinstall.sh Reported by: phk MFC after:2 weeks Modified: head/sbin/bectl/bectl.8

svn commit: r360077 - head/cddl/usr.sbin/zfsd

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 19:47:38 2020 New Revision: 360077 URL: https://svnweb.freebsd.org/changeset/base/360077 Log: zfsd.8: fix orphan .Xr Though ZFS is a kernel module, it has no man page in section 4. Reported by: phk MFC after:2 weeks Modified:

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-14 Thread Alan Somers
On Tue, Apr 14, 2020 at 6:15 PM John Baldwin wrote: > Author: jhb > Date: Wed Apr 15 00:14:50 2020 > New Revision: 359945 > URL: https://svnweb.freebsd.org/changeset/base/359945 > > Log: > Remove support for geli(4) algorithms deprecated in r348206. > > This removes support for reading and

Re: svn commit: r359944 - head/tests/sys/audit

2020-04-14 Thread Alan Somers
On Tue, Apr 14, 2020 at 5:36 PM Kyle Evans wrote: > Author: kevans > Date: Tue Apr 14 23:36:03 2020 > New Revision: 359944 > URL: https://svnweb.freebsd.org/changeset/base/359944 > > Log: > tests: audit: mark closefrom test an expected fail for now > > closefrom has been converted to

svn commit: r359435 - head/sys/fs/fuse

2020-03-30 Thread Alan Somers
Author: asomers Date: Mon Mar 30 14:03:35 2020 New Revision: 359435 URL: https://svnweb.freebsd.org/changeset/base/359435 Log: fusefs: add a dtrace probe that fires after mounting is complete This probe is useful for showing the protocol options negotiated with a FUSE server. MFC

svn commit: r358867 - in head: sys/fs/fuse tests/sys/fs/fusefs

2020-03-10 Thread Alan Somers
GTESTS+= allow_other GTESTS+= bmap +GTESTS+= cache GTESTS+= create GTESTS+= default_permissions GTESTS+= default_permissions_privileged Added: head/tests/sys/fs/fusefs/cache.cc == ---

svn commit: r358798 - in head: sys/fs/fuse tests/sys/fs/fusefs

2020-03-08 Thread Alan Somers
Author: asomers Date: Mon Mar 9 01:57:21 2020 New Revision: 358798 URL: https://svnweb.freebsd.org/changeset/base/358798 Log: fusefs: fix fsync for files with multiple open handles We were reusing a structure for multiple operations, but failing to reinitialize one member. The result

svn commit: r358797 - head/tests/sys/fs/fusefs

2020-03-08 Thread Alan Somers
Author: asomers Date: Mon Mar 9 00:14:09 2020 New Revision: 358797 URL: https://svnweb.freebsd.org/changeset/base/358797 Log: [skip ci] fix typo in comment in the fusefs tests MFC after:2 weeks Modified: head/tests/sys/fs/fusefs/notify.cc Modified:

Re: svn commit: r346018 - head/sys/conf

2020-03-05 Thread Alan Somers
Wow, what a speedy response, and so late at night! Thanks! On Wed, Mar 4, 2020 at 11:22 PM Warner Losh wrote: > > > On Wed, Mar 4, 2020 at 10:27 PM Alan Somers wrote: > >> On Sun, Apr 7, 2019 at 12:40 PM Warner Losh wrote: >> >>> Author: imp >>&

Re: svn commit: r346018 - head/sys/conf

2020-03-04 Thread Alan Somers
On Sun, Apr 7, 2019 at 12:40 PM Warner Losh wrote: > Author: imp > Date: Sun Apr 7 18:39:55 2019 > New Revision: 346018 > URL: https://svnweb.freebsd.org/changeset/base/346018 > > Log: > Use default shell assignment rather more complicated if then > construct. > > Discussed with: emaste@,

svn commit: r358089 - head/tests/sys/fs/fusefs

2020-02-18 Thread Alan Somers
Author: asomers Date: Wed Feb 19 01:51:01 2020 New Revision: 358089 URL: https://svnweb.freebsd.org/changeset/base/358089 Log: [skip ci] delete obsolete comment in fusefs tests It should've been deleted by r349436 MFC after:2 weeks Modified: head/tests/sys/fs/fusefs/io.cc

svn commit: r357859 - head/usr.sbin/sesutil

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 15:28:56 2020 New Revision: 357859 URL: https://svnweb.freebsd.org/changeset/base/357859 Log: sesutil: fix Coverity CIDs * 1411604: file descriptor leak * 1411586: memory leaks, null dereference on ENOMEM Reported by: Coverity Scan Coverity CIDs:

svn commit: r357835 - head/tests/sys/fs/fusefs

2020-02-12 Thread Alan Somers
Author: asomers Date: Wed Feb 12 18:11:07 2020 New Revision: 357835 URL: https://svnweb.freebsd.org/changeset/base/357835 Log: fusefs: fix some memory leaks in the tests. Oddly, most of these were not detected by Coverity. Reported by: Coverity (one of them, anyway) Coverity CID:

svn commit: r357235 - head/cddl/contrib/opensolaris/lib/libzfs/common

2020-01-28 Thread Alan Somers
Author: asomers Date: Tue Jan 28 23:07:31 2020 New Revision: 357235 URL: https://svnweb.freebsd.org/changeset/base/357235 Log: Speed up "zpool import" in the presence of many zvols By default, zpools may not be backed by zvols (that can be changed with the "vfs.zfs.vol.recursive"

svn commit: r357211 - head/tests/sys/geom/class/eli

2020-01-28 Thread Alan Somers
Author: asomers Date: Tue Jan 28 18:32:19 2020 New Revision: 357211 URL: https://svnweb.freebsd.org/changeset/base/357211 Log: geli: add a test case for attaching multiple providers with 1 command Reviewed by: cem MFC after:2 weeks Sponsored by: Axcient Differential Revision:

svn commit: r356809 - head/usr.sbin/extattr

2020-01-16 Thread Alan Somers
Author: asomers Date: Thu Jan 16 21:31:56 2020 New Revision: 356809 URL: https://svnweb.freebsd.org/changeset/base/356809 Log: setextattr: Increase stdin buffer size to 4096 Extended attribute values can potentially be quite large. One test for ZFS is supposed to set a 200MB xattr.

Re: svn commit: r355430 - head/sys/cam/scsi

2019-12-11 Thread Alan Somers
FFD doesn’t make sense for an ASCII string, but 0x3F might. Any idea > what Windows shows for this device? > > Scott > > > On Dec 11, 2019, at 8:42 AM, Alan Somers wrote: > > > > In this case the offending descriptor is solid 0xFF, so replacing > individual charact

Re: svn commit: r355430 - head/sys/cam/scsi

2019-12-11 Thread Alan Somers
e removed or replaced would the result be useful, > if so might that be a better approach? > > On Fri, 6 Dec 2019 at 00:06, Alan Somers wrote: > >> Author: asomers >> Date: Fri Dec 6 00:06:05 2019 >> New Revision: 355430 >> URL: https://svnweb.freebsd.org/change

svn commit: r355489 - head/lib/libc/sys

2019-12-07 Thread Alan Somers
Author: asomers Date: Sat Dec 7 16:45:12 2019 New Revision: 355489 URL: https://svnweb.freebsd.org/changeset/base/355489 Log: clock_gettime(2): add a HISTORY section MFC after:2 weeks Modified: head/lib/libc/sys/clock_gettime.2 Modified: head/lib/libc/sys/clock_gettime.2

svn commit: r355488 - head/lib/libc/sys

2019-12-07 Thread Alan Somers
Author: asomers Date: Sat Dec 7 16:29:56 2019 New Revision: 355488 URL: https://svnweb.freebsd.org/changeset/base/355488 Log: lio_listio(2): add a HISTORY section MFC after:2 weeks Modified: head/lib/libc/sys/lio_listio.2 Modified: head/lib/libc/sys/lio_listio.2

svn commit: r355431 - in head: etc/mtree sys/geom sys/geom/multipath tests/sys/geom/class tests/sys/geom/class/multipath

2019-12-05 Thread Alan Somers
Author: asomers Date: Fri Dec 6 00:12:14 2019 New Revision: 355431 URL: https://svnweb.freebsd.org/changeset/base/355431 Log: gmultipath: add ATF tests Add ATF tests for most gmultipath operations. Add some dtrace probes too, primarily for configuration changes that happen in response

  1   2   3   4   5   6   7   8   9   >