svn commit: r333606 - head/sys/amd64/include

2018-05-14 Thread John Baldwin
Author: jhb Date: Mon May 14 17:27:53 2018 New Revision: 333606 URL: https://svnweb.freebsd.org/changeset/base/333606 Log: Make the common interrupt entry point labels local labels. Kernel debuggers depend on symbol names to find stack frames with a trapframe rather than a normal stack fr

svn commit: r333679 - in head: sys/riscv/include tests/sys/kern

2018-05-16 Thread John Baldwin
Author: jhb Date: Wed May 16 16:56:35 2018 New Revision: 333679 URL: https://svnweb.freebsd.org/changeset/base/333679 Log: Export a breakpoint() function to userland for riscv. As a result, enable tests using breakpoint() on riscv. Reviewed by: br Differential Revision:https

svn commit: r333681 - head/sys/mips/conf

2018-05-16 Thread John Baldwin
Author: jhb Date: Wed May 16 17:54:40 2018 New Revision: 333681 URL: https://svnweb.freebsd.org/changeset/base/333681 Log: Include kernel modules for MALTA kernels. Sponsored by: DARPA / AFRL Modified: head/sys/mips/conf/std.MALTA Modified: head/sys/mips/conf/std.MALTA =

svn commit: r333810 - head/sys/dev/cxgbe/tom

2018-05-18 Thread John Baldwin
Author: jhb Date: Fri May 18 19:09:11 2018 New Revision: 333810 URL: https://svnweb.freebsd.org/changeset/base/333810 Log: Be more robust against garbage input on a TOE TLS TX socket. If a socket is closed or shutdown and a partial record (or what appears to be a partial record) is waitin

Re: svn commit: r333757 - head/sys/sys

2018-05-18 Thread John Baldwin
/* (t) Base user pri */ > + u_char td_pre_epoch_prio; > uintptr_t td_rb_list; /* (k) Robust list head. */ > uintptr_t td_rbp_list;/* (k) Robust priv list head. */ > uintptr_t td_rb_inact;/* (k) Current in-action mutex loc. */ Can

Re: svn commit: r333962 - head/usr.bin/top

2018-05-21 Thread John Baldwin
t is not needed in specific cases (permitting the analyzer to warn about missing checks of return values in other cases). -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r334009 - in head/sys: amd64/amd64 amd64/include amd64/vmm/amd amd64/vmm/intel i386/i386 i386/include x86/include

2018-05-21 Thread John Baldwin
Author: jhb Date: Tue May 22 00:45:00 2018 New Revision: 334009 URL: https://svnweb.freebsd.org/changeset/base/334009 Log: Cleanups related to debug exceptions on x86. - Add constants for fields in DR6 and the reserved fields in DR7. Use these constants instead of magic numbers in most

svn commit: r334053 - head/lib/libkvm

2018-05-22 Thread John Baldwin
Author: jhb Date: Tue May 22 15:52:22 2018 New Revision: 334053 URL: https://svnweb.freebsd.org/changeset/base/334053 Log: Use __SCCSID for SCCS IDs in libkvm sources. Rather than using #ifdef's around a static char array, use the existing helper macro from for SCCS IDs. To preserve e

Re: svn commit: r334089 - head/sbin/dumpon

2018-05-23 Thread John Baldwin
> .Pp > -.Dl # kgdb /usr/obj/sys/GENERIC/kernel.debug vmcore.# > +.Dl # kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.# > .Pp > or shorter: > .Pp > -.Dl # kgdb -n # /usr/obj/sys/GENERIC/kernel.debug > +.Dl # kgdb -n # /usr/lib/debug

Re: svn commit: r334074 - head/sys/sys

2018-05-23 Thread John Baldwin
param.h FYI, these values are documented in head/en_US.ISO8859-1/books/porters-handbook/versions/chapter.xml in the doc repository. -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsu

svn commit: r334106 - head/lib/libutil

2018-05-23 Thread John Baldwin
Author: jhb Date: Wed May 23 17:02:12 2018 New Revision: 334106 URL: https://svnweb.freebsd.org/changeset/base/334106 Log: Use __SCCSID() for SCCS IDs. - Define NO__SCCSID in CFLAGS to preserve existing behavior of omitting SCCS IDs by default. - While here, fix the $FreeBSD$ in pw_ut

svn commit: r334107 - head/lib/libthr

2018-05-23 Thread John Baldwin
Author: jhb Date: Wed May 23 17:05:12 2018 New Revision: 334107 URL: https://svnweb.freebsd.org/changeset/base/334107 Log: Remove references to the LIBC_SCCS and SYSLIBC_SCCS C macros. This language dates back to when libthr was libc_r that included its own syscalls and replaced libc enti

Re: svn commit: r334073 - head

2018-05-23 Thread John Baldwin
; standBoot loader sources. > > sys Kernel sources. > + > +sys//conf Kernel configuration file > > tests Regression tests which can be run by Kyua. See > tests/README > for additional information. > -- John Ba

Re: svn commit: r334073 - head

2018-05-23 Thread John Baldwin
On Wednesday, May 23, 2018 12:09:59 PM Eitan Adler wrote: > On 23 May 2018 at 09:27, John Baldwin wrote: > > On Wednesday, May 23, 2018 04:09:01 AM Eitan Adler wrote: > >> Author: eadler > >> Date: Wed May 23 04:09:01 2018 > >> New Revision: 334073 > >&

Re: svn commit: r334104 - in head/sys: netinet sys

2018-05-23 Thread John Baldwin
are unused by zeroing on INVARIANTS builds Is M_ZERO really so bad that you need to make it conditional? I would probably have preferred something like 'M_ZERO_INVARIANTS' instead perhaps (or M_ZERO_EPOCH) that only controls M_ZERO and is still or'd with

svn commit: r334123 - head/sys/netgraph

2018-05-23 Thread John Baldwin
Author: jhb Date: Thu May 24 00:06:55 2018 New Revision: 334123 URL: https://svnweb.freebsd.org/changeset/base/334123 Log: Catch up two more places to the V_ifnet change to a CK_STAILQ. Modified: head/sys/netgraph/ng_ether.c head/sys/netgraph/ng_gif.c Modified: head/sys/netgraph/ng_ether.c

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread John Baldwin
or do they fall under the GPLv2 "default" license in /COPYING of the Linux source tree? -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r334189 - head/sys/contrib/ck/include

2018-05-24 Thread John Baldwin
gt; This brings us the renaming of fields in ck_queue, so that our own > LIST/SLIST/TAILQ/etc won't accidentally work with them. Thanks. -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-s

Re: svn commit: r334089 - head/sbin/dumpon

2018-06-06 Thread John Baldwin
On 6/6/18 3:34 AM, Eitan Adler wrote: > On 23 May 2018 at 09:30, John Baldwin wrote: >> On Wednesday, May 23, 2018 10:45:32 AM Eitan Adler wrote: >>> Author: eadler >>> Date: Wed May 23 10:45:32 2018 >>> New Revision: 334089 >>> URL: https://svnweb.

Re: svn commit: r334616 - head/sys/dev/acpica

2018-06-07 Thread John Baldwin
and to map _PXM values to the VM domain values assigned by that mapping. -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool

2018-06-07 Thread John Baldwin
Doing a real merge would also have meant that you would probably not have caused the ports breakage since svn merge would have flagged the existing local changes you silently overwrote/dropped. -- John Baldwin ___ svn-src-head@freebsd.org mailing list ht

Re: svn commit: r334867 - in head: lib usr.sbin

2018-06-09 Thread John Baldwin
RAP}+= pkg > -.if (${COMPILER_TYPE} == "clang" || (${COMPILER_TYPE} == "gcc" && > ${COMPILER_VERSION} >= 60100) && ${MACHINE_CPUARCH} != "riscv") > +.if (${COMPILER_TYPE} == "clang" || (${COMPILER_TYPE} == "gcc" &

Re: svn commit: r334827 - in head/sys: amd64/amd64 arm/arm dev/hwpmc i386/i386 kern mips/atheros mips/cavium powerpc/powerpc sys

2018-06-09 Thread John Baldwin
was in more detail? It would probably not be hard to come up with something you can run creduce against to get down to a test case. If you do that, the LLVM folks are quite helpful and able at fixing the issue which fixes it in more places than just here. -- John Baldwin _

Re: svn commit: r334814 - head/sbin/dump

2018-06-09 Thread John Baldwin
nd they're > pre-initialized to 0. The linker "might" merge them into the common > section, or might not, resulting in bizarre conflicts like what she's > seeing. Though, I'm surprised we're not seeing a linker error or > warning anyway. Is this in fact fallout from lld vs ld.bfd then? -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r334911 - in head/lib/libcompat: . 4.1 4.3 4.4

2018-06-09 Thread John Baldwin
Author: jhb Date: Sun Jun 10 02:34:41 2018 New Revision: 334911 URL: https://svnweb.freebsd.org/changeset/base/334911 Log: Use __SCSSID() for SCCS IDs. While here, fix $FreeBSD$ ID in ftime.c to use __FBSDID instead of a static array. Modified: head/lib/libcompat/4.1/ftime.c head/lib

Re: svn commit: r335091 - head/sbin/nvmecontrol

2018-06-14 Thread John Baldwin
on which is where the diff > came from. Yes. git fails at this often since it's notion of a copy is "implicit guess" that you can't override vs "explicit action". I sometimes have to do fixups after an 'arc patch' of a diff that gi

svn commit: r335181 - head/sbin/devmatch

2018-06-14 Thread John Baldwin
Author: jhb Date: Thu Jun 14 22:31:30 2018 New Revision: 335181 URL: https://svnweb.freebsd.org/changeset/base/335181 Log: Exit with an error if a linker hints file can't be found. Continuing with a NULL hints variable just triggers a segfault later on. The other error cases in this funct

Re: svn commit: r335210 - head/tools/build/options

2018-06-15 Thread John Baldwin
ng the transition, but should we just rename that to usr.bin/objcopy now? -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r335278 - head/bin/pwd

2018-06-18 Thread John Baldwin
out them. What broken compiler are you using that doesn't properly inherit __dead2 from the call to exit()? -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail

Re: svn commit: r335278 - head/bin/pwd

2018-06-19 Thread John Baldwin
On 6/18/18 10:26 PM, Eitan Adler wrote: > On 18 June 2018 at 10:57, John Baldwin wrote: >> On 6/16/18 10:14 PM, Eitan Adler wrote: >>> Author: eadler >>> Date: Sun Jun 17 05:14:50 2018 >>> New Revision: 335278 >>> URL: https://svnweb.freebsd.org/chang

Re: svn commit: r335394 - head

2018-06-20 Thread John Baldwin
the package installed on the host will be using '11.2'. I want to revert the cross binutils packages back to the old naming scheme as that makes more sense (and it is what configure scripts keep looking for, I have to create symlinks for gdb's ./configure scrip

Re: svn commit: r335278 - head/bin/pwd

2018-06-20 Thread John Baldwin
On 6/18/18 10:26 PM, Eitan Adler wrote: > On 18 June 2018 at 10:57, John Baldwin wrote: >> On 6/16/18 10:14 PM, Eitan Adler wrote: >>> Author: eadler >>> Date: Sun Jun 17 05:14:50 2018 >>> New Revision: 335278 >>> URL: https://svnweb.freebsd.org/chang

svn commit: r335457 - head

2018-06-20 Thread John Baldwin
Author: jhb Date: Wed Jun 20 19:22:33 2018 New Revision: 335457 URL: https://svnweb.freebsd.org/changeset/base/335457 Log: Correct path to removed asf(8) binary. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

Re: svn commit: r326285 - in head/cddl: contrib/opensolaris/cmd/dtrace/test/tst/common/uctf usr.sbin/dtrace/tests/common/probes usr.sbin/dtrace/tests/common/speculation usr.sbin/dtrace/tests/common/uc

2017-11-27 Thread John Baldwin
need to install lib32 (and other alternate ABI libraries) into WORLDTMP for this to fully work. -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

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

2017-11-27 Thread John Baldwin
On Sunday, November 26, 2017 10:06:56 PM Nathan Whitehorn wrote: > > On 11/26/17 20:50, John Baldwin wrote: > > On Saturday, November 25, 2017 11:41:05 PM Nathan Whitehorn wrote: > >> Author: nwhitehorn > >> Date: Sat Nov 25 23:41:05 2017 > >&g

Re: svn commit: r326282 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-11-27 Thread John Baldwin
e 4 identical copies of this table. We should probably move it into some shared header file (libsysdecode already depends on files from sys/, so the header could live in sys/, maybe sys/x86/linux/errno.h or some such, or if it is MI sys/compat/linux/linux_errno.h) -- John Baldwin

Re: svn commit: r326286 - head/sys/cddl/dev/dtrace

2017-11-27 Thread John Baldwin
> This addresses assertion failures after r326218. I'd perhaps rather revert the assertion as per my other mail? -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, se

Re: svn commit: r326286 - head/sys/cddl/dev/dtrace

2017-11-28 Thread John Baldwin
On Monday, November 27, 2017 04:41:40 PM Mark Johnston wrote: > On Mon, Nov 27, 2017 at 11:28:07AM -0800, John Baldwin wrote: > > On Monday, November 27, 2017 06:42:23 PM Mark Johnston wrote: > > > Author: markj > > > Date: Mon Nov 27 18:42:23 2017 > > > N

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

2017-11-28 Thread John Baldwin
not be entirely unfixable on powerpc64? -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r326356 - head/usr.bin/truss

2017-11-28 Thread John Baldwin
Author: jhb Date: Wed Nov 29 05:07:54 2017 New Revision: 326356 URL: https://svnweb.freebsd.org/changeset/base/326356 Log: Replace a reference to a license in another file with the license text. The relevant file was recently renamed, so the reference was stale. In addition, explicit lice

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-12 Thread John Baldwin
kstack_pages=2 and building the kernel with CROSS_TOOLCHAIN=i386-gcc after installing the appropriate package. For people wanting to use 32-bit binaries on a modern x86 box, we should probably add support for the x32 ABI permitting you to use 32-bit pointers but with the full complement of

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-12 Thread John Baldwin
On 12/12/17 3:09 PM, Eugene Grosbein wrote: > On 13.12.2017 02:32, John Baldwin wrote: > >> Certainly for MIPS I have found that compiling with clang >> instead of gcc for mips64 gives a kernel that panics for stack overflow for >> any >> use of NFS. It might be

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-16 Thread John Baldwin
On 12/14/17 3:34 AM, Eugene Grosbein wrote: > On 13.12.2017 04:55, John Baldwin wrote: >> On 12/12/17 3:09 PM, Eugene Grosbein wrote: >>> On 13.12.2017 02:32, John Baldwin wrote: >>> >>>> Certainly for MIPS I have found that compiling with clang >>>

svn commit: r326953 - head/tests/sys/kern

2017-12-18 Thread John Baldwin
Author: jhb Date: Mon Dec 18 23:35:14 2017 New Revision: 326953 URL: https://svnweb.freebsd.org/changeset/base/326953 Log: Catch up to r325719 which makes the kern.proc.pid sysctl "work" for zombies. Some of the ptrace tests need to wait for a child process to become a zombie before prece

svn commit: r326986 - in head/sys: fs/fdescfs kern sys

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 18:20:38 2017 New Revision: 326986 URL: https://svnweb.freebsd.org/changeset/base/326986 Log: Add a custom VOP_PATHCONF method for fdescfs. The method handles NAME_MAX and LINK_MAX explicitly. For all other pathconf variables, the method passes the request do

svn commit: r326987 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:07:24 2017 New Revision: 326987 URL: https://svnweb.freebsd.org/changeset/base/326987 Log: Adjust ZFS' link count handling for ino64. - Define a ZFS_LINK_MAX as the ZFS version of LINK_MAX which is set to UINT64_MAX to match the on-disk format. - Enable

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

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:09:06 2017 New Revision: 326988 URL: https://svnweb.freebsd.org/changeset/base/326988 Log: Add a custom VOP_PATHCONF method for fuse. This method handles _PC_FILESIZEBITS, _PC_SYMLINK_MAX, and _PC_NO_TRUNC. For other values it defers to vop_stdpathconf().

svn commit: r326989 - head/sys/fs/msdosfs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:10:00 2017 New Revision: 326989 URL: https://svnweb.freebsd.org/changeset/base/326989 Log: Support _PC_FILESIZEBITS in msdosfs' VOP_PATHCONF(). MFC after:1 month Sponsored by: Chelsio Communications Modified: head/sys/fs/msdosfs/msdosfs_vnops.c Modi

svn commit: r326990 - head/sys/fs/smbfs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:14:01 2017 New Revision: 326990 URL: https://svnweb.freebsd.org/changeset/base/326990 Log: Handle _PC_FILESIZEBITS and _PC_NO_TRUNC for smbfs' VOP_PATHCONF(). MFC after:1 month Sponsored by: Chelsio Communications Modified: head/sys/fs/smbfs/smbfs_vn

svn commit: r326991 - in head/sys/fs: nfs nfsclient

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:18:48 2017 New Revision: 326991 URL: https://svnweb.freebsd.org/changeset/base/326991 Log: Update NFS to handle larger link counts post ino64. - Define a NFS_LINK_MAX as UINT32_MAX to match the wire protocol. - Use NFS_LINK_MAX instead of LINK_MAX as the fa

svn commit: r326993 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/devfs fs/ext2fs fs/fuse fs/msdosfs fs/nandfs fs/smbfs fs/tmpfs kern ufs/ufs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:51:36 2017 New Revision: 326993 URL: https://svnweb.freebsd.org/changeset/base/326993 Log: Move NAME_MAX, LINK_MAX, and CHOWN_RESTRICTED out of vop_stdpathconf(). Having all filesystems fall through to default values isn't always correct and these values ca

svn commit: r326994 - head/sys/fs/devfs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:53:34 2017 New Revision: 326994 URL: https://svnweb.freebsd.org/changeset/base/326994 Log: Handle _PC_FILESIZEBITS and _PC_SYMLINK_MAX for devfs' VOP_PATHCONF(). MFC after:1 month Sponsored by: Chelsio Communications Modified: head/sys/fs/devfs/devfs

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

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 19:57:55 2017 New Revision: 326995 URL: https://svnweb.freebsd.org/changeset/base/326995 Log: Use FUSE_LINK_MAX for LINK_MAX in fuse' VOP_PATHCONF(). Should have included this in r326993. MFC after:1 month Sponsored by: Chelsio Communications Modifie

svn commit: r326996 - head/sys/fs/devfs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 20:07:57 2017 New Revision: 326996 URL: https://svnweb.freebsd.org/changeset/base/326996 Log: Report INT_MAX for LINK_MAX for devfs' VOP_PATHCONF(). devfs uses int's for link counts internally and already reports the the full link count via stat() post ino64.

svn commit: r326997 - head/sys/fs/nandfs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 20:17:07 2017 New Revision: 326997 URL: https://svnweb.freebsd.org/changeset/base/326997 Log: Honor NANDFS_LINK_MAX for post-ino64. This uses NANDFS_LINK_MAX instead of LINK_MAX for link overflow checks and the value reported by pathconf() / fpathconf().

svn commit: r326998 - head/sys/fs/tmpfs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 20:19:07 2017 New Revision: 326998 URL: https://svnweb.freebsd.org/changeset/base/326998 Log: Update tmpfs link count handling for ino64. Add a new TMPFS_LINK_MAX to use in place of LINK_MAX for link overflow checks and pathconf() reporting. Rather than stori

svn commit: r327004 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/ext2fs fs/fifofs fs/nandfs fs/nfsclient fs/tmpfs fs/udf kern ufs/ufs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 22:39:05 2017 New Revision: 327004 URL: https://svnweb.freebsd.org/changeset/base/327004 Log: Rework pathconf handling for FIFOs. On the one hand, FIFOs should respect other variables not supported by the fifofs vnode operation (such as _PC_NAME_MAX, _PC_LINK_

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

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 22:40:54 2017 New Revision: 327006 URL: https://svnweb.freebsd.org/changeset/base/327006 Log: Update link count handling in fuse for post-ino64. Set FUSE_LINK_MAX to UINT32_MAX instead of LINK_MAX to match the maximum link count possible in the 'nlink' field o

svn commit: r327007 - head/sys/fs/nfs

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 22:43:39 2017 New Revision: 327007 URL: https://svnweb.freebsd.org/changeset/base/327007 Log: Replace one more LINK_MAX with NFS_LINK_MAX missed in r326991. Sponsored by: Chelsio Communications Modified: head/sys/fs/nfs/nfs_commonsubs.c Modified: head/sys/fs

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

2017-12-19 Thread John Baldwin
Author: jhb Date: Tue Dec 19 23:54:44 2017 New Revision: 327009 URL: https://svnweb.freebsd.org/changeset/base/327009 Log: Don't return early for non-failure for one of the EMLINK checks. r326987 enabled two #if 0'd-out EMLINK checks in zfs_link_create() for link overflow. However, one o

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

2017-12-19 Thread John Baldwin
On Tuesday, December 19, 2017 11:54:44 PM John Baldwin wrote: > Author: jhb > Date: Tue Dec 19 23:54:44 2017 > New Revision: 327009 > URL: https://svnweb.freebsd.org/changeset/base/327009 > > Log: > Don't return early for non-failure for one of the EMLINK checks. &g

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread John Baldwin
On Wednesday, December 20, 2017 09:59:26 AM David Chisnall wrote: > On 16 Dec 2017, at 18:05, John Baldwin wrote: > > > > When I build a FreeBSD/mips64 kernel with clang, > > _any_ simple NFS op triggers a kernel stack overflow. Kernels compiled > > with GCC

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-20 Thread John Baldwin
On Wednesday, December 20, 2017 10:16:58 AM Nathan Whitehorn wrote: > > On 12/20/17 09:14, John Baldwin wrote: > > On Wednesday, December 20, 2017 09:59:26 AM David Chisnall wrote: > >> On 16 Dec 2017, at 18:05, John Baldwin wrote: > >>> When I build a

Re: svn commit: r326991 - in head/sys/fs: nfs nfsclient

2017-12-20 Thread John Baldwin
On Wednesday, December 20, 2017 01:07:22 PM Ian Lepore wrote: > On Tue, 2017-12-19 at 19:18 +0000, John Baldwin wrote: > > Author: jhb > > Date: Tue Dec 19 19:18:48 2017 > > New Revision: 326991 > > URL: https://svnweb.freebsd.org/changeset/base/326991 > > &g

Re: svn commit: r327089 - in head/sys: dev/drm2/i915 dev/drm2/radeon dev/ed dev/intpm dev/ioat dev/ntb/ntb_hw net

2017-12-22 Thread John Baldwin
tb_hw_intel.cFri Dec 22 17:52:38 2017 > (r327088) > +++ head/sys/dev/ntb/ntb_hw/ntb_hw_intel.cFri Dec 22 17:53:27 2017 > (r327089) > @@ -3119,5 +3119,5 @@ static DEFINE_CLASS_0(ntb_hw, ntb_intel_driver, ntb_in > -MODULE_PNP_INFO(&

Re: svn commit: r327166 - head/sys/x86/isa

2017-12-27 Thread John Baldwin
NP_EISAID("PNP0C80")); > } So does this mean orm0 will trigger warnings in GENERIC now? -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r327291 - head/sys/conf

2017-12-28 Thread John Baldwin
Author: jhb Date: Thu Dec 28 17:55:58 2017 New Revision: 327291 URL: https://svnweb.freebsd.org/changeset/base/327291 Log: Remove a stale reference to ie(4). This was missed in r304513. Submitted by: kib Modified: head/sys/conf/files.i386 Modified: head/sys/conf/files.i386

svn commit: r327292 - head/sys/dev/pccard

2017-12-28 Thread John Baldwin
Author: jhb Date: Thu Dec 28 18:51:35 2017 New Revision: 327292 URL: https://svnweb.freebsd.org/changeset/base/327292 Log: Minor formatting and style tweaks to some comments. Modified: head/sys/dev/pccard/pccardvar.h Modified: head/sys/dev/pccard/pccardvar.h =

svn commit: r327313 - head/sys/i386/conf

2017-12-28 Thread John Baldwin
Author: jhb Date: Thu Dec 28 21:35:53 2017 New Revision: 327313 URL: https://svnweb.freebsd.org/changeset/base/327313 Log: Remove a few more dangling references to ie(4). Modified: head/sys/i386/conf/GENERIC head/sys/i386/conf/NOTES Modified: head/sys/i386/conf/GENERIC

svn commit: r327374 - head/sys/opencrypto

2017-12-29 Thread John Baldwin
Author: jhb Date: Sat Dec 30 03:08:49 2017 New Revision: 327374 URL: https://svnweb.freebsd.org/changeset/base/327374 Log: Remove a redunant check. Modified: head/sys/opencrypto/cryptosoft.c Modified: head/sys/opencrypto/cryptosoft.c ==

Re: svn commit: r327447 - head/sys/sys

2018-01-02 Thread John Baldwin
few years we have been using _WANT_FOO when new things need to be exposed and that is our current pattern. However, that doesn't fix existing code for old things. -- John Baldwin ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r327523 - in head/stand/mips/beri: boot2 loader

2018-01-03 Thread John Baldwin
Author: jhb Date: Wed Jan 3 17:35:38 2018 New Revision: 327523 URL: https://svnweb.freebsd.org/changeset/base/327523 Log: Don't clobber system LDFLAGS for beri boot loaders. Prior to r325114, bsd.init.mk was included after assignments to CFLAGS and LDFLAGS in these Makefiles. After r325

svn commit: r327524 - in head/stand/mips/beri: common loader

2018-01-03 Thread John Baldwin
Author: jhb Date: Wed Jan 3 17:40:51 2018 New Revision: 327524 URL: https://svnweb.freebsd.org/changeset/base/327524 Log: Use 'extern uint8_t' instead of 'extern void' for external symbols. The beri boot loaders depend on symbols defined in linker scripts or assembly files. The boot loa

svn commit: r327561 - head/sys/kern

2018-01-04 Thread John Baldwin
Author: jhb Date: Thu Jan 4 21:59:34 2018 New Revision: 327561 URL: https://svnweb.freebsd.org/changeset/base/327561 Log: Report offset relative to the backing object for kinfo_vmentry structures. For the pathname reported in kinfo_vmentry structures (kve_path), the sysctl handlers walk

svn commit: r327562 - head/sys/kern

2018-01-04 Thread John Baldwin
Author: jhb Date: Thu Jan 4 22:07:58 2018 New Revision: 327562 URL: https://svnweb.freebsd.org/changeset/base/327562 Log: Always use atomic_fetchadd() when updating per-user accounting values. This avoids re-reading a variable after it has been updated via an atomic op. It is just a cos

svn commit: r327591 - head/sys/fs/procfs

2018-01-05 Thread John Baldwin
Author: jhb Date: Fri Jan 5 18:32:46 2018 New Revision: 327591 URL: https://svnweb.freebsd.org/changeset/base/327591 Log: Correct comment. procfs_doprocfile implements 'file', not 'self'. Modified: head/sys/fs/procfs/procfs.c Modified: head/sys/fs/procfs/procfs.c ==

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

2018-01-05 Thread John Baldwin
On Thursday, January 04, 2018 09:59:34 PM John Baldwin wrote: > Author: jhb > Date: Thu Jan 4 21:59:34 2018 > New Revision: 327561 > URL: https://svnweb.freebsd.org/changeset/base/327561 > > Log: > Report offset relative to the backing object for kinfo_vmentry structu

svn commit: r327598 - head/sys/sys

2018-01-05 Thread John Baldwin
Author: jhb Date: Fri Jan 5 22:26:23 2018 New Revision: 327598 URL: https://svnweb.freebsd.org/changeset/base/327598 Log: Remove LINK_MAX. After recent changes to change filesystems to use filesystem-specific limits, LINK_MAX is no longer used in the base system. Applications should i

svn commit: r327703 - head/stand/mips/beri/boot2

2018-01-08 Thread John Baldwin
Author: jhb Date: Mon Jan 8 18:44:36 2018 New Revision: 327703 URL: https://svnweb.freebsd.org/changeset/base/327703 Log: Define __dmadat after #include'ing ufsread.c. The __dmadat variable is a statically allocated I/O buffer. The type is declared in the ufsread.c source file and clang

svn commit: r327704 - head/stand/mips/beri/loader

2018-01-08 Thread John Baldwin
Author: jhb Date: Mon Jan 8 18:46:10 2018 New Revision: 327704 URL: https://svnweb.freebsd.org/changeset/base/327704 Log: Fix printf missing format variables warnings. Include the failing kernel file name for errors in beri_elf64_exec(). Sponsored by: DARPA / AFRL Modified: head/st

svn commit: r327705 - head/stand/mips/beri/common

2018-01-08 Thread John Baldwin
Author: jhb Date: Mon Jan 8 18:47:35 2018 New Revision: 327705 URL: https://svnweb.freebsd.org/changeset/base/327705 Log: Use instead of and in boot code. In the freestanding boot compile environment, standard headers are not available. Curiously, only building with clang exposed thi

Re: svn commit: r327705 - head/stand/mips/beri/common

2018-01-09 Thread John Baldwin
nd stdio.h rather than stand.h? > Warner > > On Mon, Jan 8, 2018 at 11:47 AM, John Baldwin wrote: > > > Author: jhb > > Date: Mon Jan 8 18:47:35 2018 > > New Revision: 327705 > > URL: https://svnweb.freebsd.org/changeset/base/327705 > > > > Log: &

svn commit: r327752 - head/sys/kern

2018-01-09 Thread John Baldwin
Author: jhb Date: Tue Jan 9 23:57:29 2018 New Revision: 327752 URL: https://svnweb.freebsd.org/changeset/base/327752 Log: Add a counter to track in-flight AIO requests using unmapped I/O. MFC after:2 weeks Sponsored by: Chelsio Communications Modified: head/sys/kern/vfs_aio.c Mod

svn commit: r327753 - head/sys/kern

2018-01-09 Thread John Baldwin
Author: jhb Date: Wed Jan 10 00:02:06 2018 New Revision: 327753 URL: https://svnweb.freebsd.org/changeset/base/327753 Log: Simplify some logic by merging an if test with a subsequent switch. Specifically, in aio_queue_file() the code was doing this: if (opcode == LIO_SYNC) {

svn commit: r327755 - head/sys/kern

2018-01-09 Thread John Baldwin
Author: jhb Date: Wed Jan 10 00:18:47 2018 New Revision: 327755 URL: https://svnweb.freebsd.org/changeset/base/327755 Log: Allow the fast-path for disk AIO requests to fail requests. - If aio_qphysio() returns a non-zero error code, fail the request rather than queueing it to the AIO kp

svn commit: r327776 - head/sys/conf

2018-01-10 Thread John Baldwin
Author: jhb Date: Wed Jan 10 17:36:43 2018 New Revision: 327776 URL: https://svnweb.freebsd.org/changeset/base/327776 Log: Include ffsll() on riscv kernels. Modified: head/sys/conf/files.riscv Modified: head/sys/conf/files.riscv ===

Re: svn commit: r327767 - in head/sys: conf i386/bios i386/conf i386/isa

2018-01-10 Thread John Baldwin
e sleeping). > > > > > > It's only required for APM. ACPI it's a nop. > > > > > > And it didn't (until I believe that I fixed it) even adjust the time for > > > APM. On APM it just prints how long the sleep was. > > > > Not s

Re: svn commit: r327763 - in head/sys: conf contrib/zstd/lib/freebsd

2018-01-10 Thread John Baldwin
std_kfreebsd.c:58: > undefined reference to `ffsll' > > I got substantively the same error both before and after `pkg upgrade' > brought in updated RISC-V stuff: > > riscv64-binutils (2.29.51.20170726 -> 2.29_20180105,1) > riscv64-

Re: svn commit: r327705 - head/stand/mips/beri/common

2018-01-10 Thread John Baldwin
On Tuesday, January 09, 2018 10:48:30 AM Warner Losh wrote: > On Tue, Jan 9, 2018 at 10:05 AM, John Baldwin wrote: > > > On Monday, January 08, 2018 12:02:09 PM Warner Losh wrote: > > > This should have been a nop... libsa specifically creates 'safe' headers

svn commit: r327790 - head/sys/mips/mips

2018-01-10 Thread John Baldwin
Author: jhb Date: Wed Jan 10 21:08:43 2018 New Revision: 327790 URL: https://svnweb.freebsd.org/changeset/base/327790 Log: Set the 'FR' bit in the status register for N32 kernels. This permits N32 hard-float binaries to use 64-bit floating point registers (which is what N32 binaries expec

svn commit: r327792 - head/sys/kern

2018-01-10 Thread John Baldwin
Author: jhb Date: Wed Jan 10 21:18:46 2018 New Revision: 327792 URL: https://svnweb.freebsd.org/changeset/base/327792 Log: Don't store shadow copies of per-process AIO limits. Previously the AIO subsystem would save a snapshot of the currently configured per-process limits the first time

svn commit: r327803 - head/sys/opencrypto

2018-01-10 Thread John Baldwin
Author: jhb Date: Thu Jan 11 00:22:24 2018 New Revision: 327803 URL: https://svnweb.freebsd.org/changeset/base/327803 Log: Flesh out static dtrace probes for /dev/crypto ioctl errors. In particular, no probes were present for AEAD requests, but also for some other error cases in other ioc

svn commit: r327838 - head/sys/opencrypto

2018-01-11 Thread John Baldwin
Author: jhb Date: Thu Jan 11 18:07:21 2018 New Revision: 327838 URL: https://svnweb.freebsd.org/changeset/base/327838 Log: Axe tmp_iv from the cryptodev session structure. Just copyin the IV into the crypto descriptor directly. This avoids copying the IV twice for each operation. Re

svn commit: r327839 - head/sys/opencrypto

2018-01-11 Thread John Baldwin
Author: jhb Date: Thu Jan 11 18:09:24 2018 New Revision: 327839 URL: https://svnweb.freebsd.org/changeset/base/327839 Log: Change the type of 'crp_opaque' from caddr_t to void *. Opaque pointers should be void *. Note that this does not go through the tree removing all of the now-unneces

svn commit: r327841 - head

2018-01-11 Thread John Baldwin
Author: jhb Date: Thu Jan 11 19:24:44 2018 New Revision: 327841 URL: https://svnweb.freebsd.org/changeset/base/327841 Log: Allow MIPS lib32 to build with clang. Don't try to set -march as clang doesn't permit use of the O32 ABI with newer CPU microarchitectures like 'mips3'. In addition,

Re: svn commit: r327783 - head/share/mk

2018-01-12 Thread John Baldwin
i386 is affected, only amd64. I've started on a fix, but my first attempt to boot it resulted in no modules loading anymore and it's time to go home for the day. :-P I'll try to resolve this early next week. If you need to use kgdb on amd64 with kernel modules, you will have

Re: svn commit: r327841 - head

2018-01-15 Thread John Baldwin
On Monday, January 15, 2018 11:11:58 AM Antoine Brodin wrote: > On Thu, Jan 11, 2018 at 8:24 PM, John Baldwin wrote: > > Author: jhb > > Date: Thu Jan 11 19:24:44 2018 > > New Revision: 327841 > > URL: https://svnweb.freebsd.org/changeset/base/327841 > > > &g

Re: svn commit: r328014 - head/lib/libsysdecode

2018-01-15 Thread John Baldwin
> SCTP level cmsgs. > > Modified: > head/lib/libsysdecode/Makefile > head/lib/libsysdecode/flags.c > head/lib/libsysdecode/sysdecode.h > head/lib/libsysdecode/sysdecode_mask.3 I think sysdecode_mask.3 needs a .Dd bump? (Changes lo

Re: svn commit: r327919 - head/usr.bin/truss

2018-01-15 Thread John Baldwin
eadlink", .ret_type = 1, .nargs = 3, > .args = { { Name, 0 }, { Readlinkres | OUT, 1 }, { Sizet, 2 } } }, Please keep the array of syscall names sorted. > { .name = "readlinkat", .ret_type = 1, .nargs = 4, -- John Baldwin

svn commit: r328035 - head/usr.sbin/newsyslog

2018-01-15 Thread John Baldwin
Author: jhb Date: Tue Jan 16 00:47:53 2018 New Revision: 328035 URL: https://svnweb.freebsd.org/changeset/base/328035 Log: Sort the list of flags in newsyslog.conf entries. Move the 'X' and 'Y' entries into their sorted location in the list of flags just above 'Z'. Reviewed by: bcr

  1   2   3   4   5   6   7   8   9   10   >