svn commit: r354195 - in stable/11/contrib/tcsh: . nls nls/C nls/et nls/finnish nls/french nls/german nls/greek nls/italian nls/ja nls/russian nls/spanish nls/ukrainian

2019-10-30 Thread Brooks Davis
nvert match() from recursive to backtracking. + 6. Handle 8 bit characters in bindkey (Werner Fink) + 5. Look for tgetent in libtinfo as well (Werner Fink) + 4. Don't play pointer tricks that are undefined in modern c (Brooks Davis) + 3. Fix out of bounds read (Brooks Davis) + 2. Fix type

svn commit: r354227 - head/share/mk

2019-10-31 Thread Brooks Davis
Author: brooks Date: Thu Oct 31 20:37:19 2019 New Revision: 354227 URL: https://svnweb.freebsd.org/changeset/base/354227 Log: Allow bsd.compat.mk to be reliably included outside Makefile.inc1. Replace explicit TARGET_* variables with COMPAT_* versions defined based on where the file is be

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

2019-10-31 Thread Brooks Davis
Author: brooks Date: Thu Oct 31 22:29:13 2019 New Revision: 354232 URL: https://svnweb.freebsd.org/changeset/base/354232 Log: truss: centralize pointer-constructing casts. In nearly all cases, the caller has a uintptr_t compatible argument so this eliminates a large number of casts.

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

2019-11-04 Thread Brooks Davis
Author: brooks Date: Mon Nov 4 21:06:06 2019 New Revision: 354340 URL: https://svnweb.freebsd.org/changeset/base/354340 Log: Remove an outdated assertion. The exclusive lock assertion became incorrect due to changes in lock scope in r354155. Discussed with: jeffr Sponsored b

svn commit: r354409 - head/sys/kern

2019-11-06 Thread Brooks Davis
Author: brooks Date: Wed Nov 6 19:44:44 2019 New Revision: 354409 URL: https://svnweb.freebsd.org/changeset/base/354409 Log: libstats: Improve ABI assertion. On platforms where pointers are larger than 64-bits, struct statsblob may be harmlessly padded out such that opaque[] always has s

svn commit: r359247 - head/etc

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 17:11:27 2020 New Revision: 359247 URL: https://svnweb.freebsd.org/changeset/base/359247 Log: Add the tests user, an unprivileged user from the default kyua config. This is a preparatory commit for D24103. Reviewed by: emaste Obtained from:Che

svn commit: r359249 - stable/12/share/mk

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 17:45:31 2020 New Revision: 359249 URL: https://svnweb.freebsd.org/changeset/base/359249 Log: MFC r359046: Support SUBDIR.${MK_FOO}.${MK_BAR} expresssions. This allows simplification of Makefiles where some SUBDIR entries depend on two things (e.g. som

svn commit: r359250 - stable/11/share/mk

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 17:50:00 2020 New Revision: 359250 URL: https://svnweb.freebsd.org/changeset/base/359250 Log: MFC r359046: Support SUBDIR.${MK_FOO}.${MK_BAR} expresssions. This allows simplification of Makefiles where some SUBDIR entries depend on two things (e.g. som

svn commit: r359255 - in head: contrib/lutok lib lib/liblutok share/mk

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 18:26:23 2020 New Revision: 359255 URL: https://svnweb.freebsd.org/changeset/base/359255 Log: Add liblutok a lightweight C++ API for lua. It is added an INTERNALLIB and not installed. It will be used by kyua. This is a preparatory commit for D24103.

svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bin...

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 19:01:23 2020 New Revision: 359260 URL: https://svnweb.freebsd.org/changeset/base/359260 Log: Import the kyua test framework. Having kyua in the base system will simplify automated testing in CI and eliminates bootstrapping issues on new platforms. The

Re: svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bi

2020-03-23 Thread Brooks Davis
On Mon, Mar 23, 2020 at 12:09:06PM -0700, Cy Schubert wrote: > In message <202003231901.02nj1olx063...@repo.freebsd.org>, Brooks Davis > writes: > > Author: brooks > > Date: Mon Mar 23 19:01:23 2020 > > New Revision: 359260 > > URL: https://svnweb.freebsd.o

svn commit: r359261 - head/sys/sys

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 19:28:24 2020 New Revision: 359261 URL: https://svnweb.freebsd.org/changeset/base/359261 Log: Bump for kyua import. Reported by: cy Sponsored by: DARPA Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

Re: svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bi

2020-03-23 Thread Brooks Davis
On Mon, Mar 23, 2020 at 08:15:22PM +, Alexey Dokuchaev wrote: > On Mon, Mar 23, 2020 at 07:01:24PM +0000, Brooks Davis wrote: > > New Revision: 359260 > > URL: https://svnweb.freebsd.org/changeset/base/359260 > > > > Log: > > Import the kyua test framework

svn commit: r359262 - in head: lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 21:21:38 2020 New Revision: 359262 URL: https://svnweb.freebsd.org/changeset/base/359262 Log: Improve LIBADD/_DP_* for kyua libraries. This fixes build with ld.bfd as the linker (e.g. on powerpc). This corrects a bug in D24103. Sponsored by: DARPA

svn commit: r359341 - stable/11/etc

2020-03-26 Thread Brooks Davis
Author: brooks Date: Thu Mar 26 17:59:48 2020 New Revision: 359341 URL: https://svnweb.freebsd.org/changeset/base/359341 Log: MFC r359247: Add the tests user, an unprivileged user from the default kyua config. This is a preparatory commit for D24103. Reviewed by: emaste Obtaine

svn commit: r359339 - stable/12/etc

2020-03-26 Thread Brooks Davis
Author: brooks Date: Thu Mar 26 17:55:56 2020 New Revision: 359339 URL: https://svnweb.freebsd.org/changeset/base/359339 Log: MFC r359247: Add the tests user, an unprivileged user from the default kyua config. This is a preparatory commit for D24103. Reviewed by: emaste Obtaine

svn commit: r359335 - in head: etc/mtree lib/kyua lib/kyua/cli usr.bin/kyua

2020-03-26 Thread Brooks Davis
Author: brooks Date: Thu Mar 26 17:34:17 2020 New Revision: 359335 URL: https://svnweb.freebsd.org/changeset/base/359335 Log: Install expected kyua docs. The "kyua about" command assumes these files exist causing tests supplied devel/kyua to fail. Fix a bug defining the default KYUA_

Re: svn commit: r359341 - stable/11/etc

2020-03-26 Thread Brooks Davis
On Thu, Mar 26, 2020 at 11:28:51AM -0700, Rodney W. Grimes wrote: > > Author: brooks > > Date: Thu Mar 26 17:59:48 2020 > > New Revision: 359341 > > URL: https://svnweb.freebsd.org/changeset/base/359341 > > > > Log: > > MFC r359247: > > > > Add the tests user, an unprivileged user from the

svn commit: r359368 - head/etc

2020-03-27 Thread Brooks Davis
Author: brooks Date: Fri Mar 27 16:05:37 2020 New Revision: 359368 URL: https://svnweb.freebsd.org/changeset/base/359368 Log: Create and use a tests group for the tests user. No user (except nobody) should be a member of the nobody group. Reported by: rgrimes Reviewed by: rgrimes

svn commit: r359382 - head

2020-03-27 Thread Brooks Davis
Author: brooks Date: Fri Mar 27 23:27:54 2020 New Revision: 359382 URL: https://svnweb.freebsd.org/changeset/base/359382 Log: Use the real value of MK_TESTS_SUPPORT in _libraries. We need to build kyua libraries for kyua. Because we set MK_TESTS=no, we can't not set MK_TESTS_SUPPORT=${MK

Re: svn commit: r359385 - head/usr.bin/kyua

2020-03-27 Thread Brooks Davis
On Sat, Mar 28, 2020 at 01:08:20AM +, Enji Cooper wrote: > Author: ngie > Date: Sat Mar 28 01:08:20 2020 > New Revision: 359385 > URL: https://svnweb.freebsd.org/changeset/base/359385 > > Log: > Check in the generated copies of the manpages > > These manpages were meant to be templated

Re: svn commit: r359385 - head/usr.bin/kyua

2020-03-29 Thread Brooks Davis
On Sat, Mar 28, 2020 at 07:42:04PM -0700, Enji Cooper wrote: > > > On Mar 28, 2020, at 7:37 PM, Enji Cooper wrote: > > > >> > >> On Mar 27, 2020, at 8:22 PM, Brooks Davis >> <mailto:bro...@freebsd.org>> wrote: > >> > &g

svn commit: r359426 - head/usr.bin/kyua

2020-03-29 Thread Brooks Davis
Author: brooks Date: Sun Mar 29 19:48:28 2020 New Revision: 359426 URL: https://svnweb.freebsd.org/changeset/base/359426 Log: Fix build with src on a noexec filesystem. ${SH} expands to nothing on src builds so this worked by accident. Use a bare "sh" instead. PR: 245086

svn commit: r359448 - stable/11/etc

2020-03-30 Thread Brooks Davis
Author: brooks Date: Mon Mar 30 17:11:21 2020 New Revision: 359448 URL: https://svnweb.freebsd.org/changeset/base/359448 Log: MFC r359368: Create and use a tests group for the tests user. No user (except nobody) should be a member of the nobody group. Reported by: rgrimes Revie

svn commit: r359447 - stable/12/etc

2020-03-30 Thread Brooks Davis
Author: brooks Date: Mon Mar 30 17:07:05 2020 New Revision: 359447 URL: https://svnweb.freebsd.org/changeset/base/359447 Log: MFC r359368: Create and use a tests group for the tests user. No user (except nobody) should be a member of the nobody group. Reported by: rgrimes Revie

svn commit: r359456 - head

2020-03-30 Thread Brooks Davis
Author: brooks Date: Mon Mar 30 20:04:55 2020 New Revision: 359456 URL: https://svnweb.freebsd.org/changeset/base/359456 Log: Relax existence check of ${LOCALBASE}/bin/kyua After the base kyua import the testsuite can utilize the in-base kyua just fine. Submitted by: Dries Michiels

svn commit: r359598 - head/usr.bin/kyua

2020-04-03 Thread Brooks Davis
Author: brooks Date: Fri Apr 3 15:47:15 2020 New Revision: 359598 URL: https://svnweb.freebsd.org/changeset/base/359598 Log: Install a kyua.conf based on the one in devel/kyua. The kyua.conf from examples doesn't match the expected config and contains a lot of undesirable entries such as

svn commit: r359603 - head

2020-04-03 Thread Brooks Davis
Author: brooks Date: Fri Apr 3 16:19:07 2020 New Revision: 359603 URL: https://svnweb.freebsd.org/changeset/base/359603 Log: Pass the real value of MK_TESTS_SUPPORT to distribution. This allows kyua's config file to actually be installed. Reported by: arichardson Reviewed by: aric

svn commit: r359601 - head/usr.sbin/pmc

2020-04-03 Thread Brooks Davis
Author: brooks Date: Fri Apr 3 16:10:42 2020 New Revision: 359601 URL: https://svnweb.freebsd.org/changeset/base/359601 Log: pmc: diable position-independent builds, they fail to link on amd64 PR: 245189 Reported by: Gordon Bergling Sponsored by: DARPA Modified: head/usr.

svn commit: r359681 - in head: . share/mk

2020-04-06 Thread Brooks Davis
Author: brooks Date: Mon Apr 6 23:38:46 2020 New Revision: 359681 URL: https://svnweb.freebsd.org/changeset/base/359681 Log: Fix compilation with upstream clang builtin headers. By using -nobuiltininc and adding the clang builtin headers resource dir to the end of the compiler header sea

svn commit: r359691 - head/sys/conf

2020-04-07 Thread Brooks Davis
Author: brooks Date: Tue Apr 7 15:32:08 2020 New Revision: 359691 URL: https://svnweb.freebsd.org/changeset/base/359691 Log: Allow the kernel to build with a compiler that sets -fno-common. The mechanism that generates assym.inc and offset.inc depends on the symbols in question being com

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

2020-04-07 Thread Brooks Davis
On Tue, Apr 07, 2020 at 03:10:04PM +, Kyle Evans wrote: > Author: kevans > Date: Tue Apr 7 15:10:04 2020 > New Revision: 359690 > URL: https://svnweb.freebsd.org/changeset/base/359690 > > Log: > Fix port/kernel builds after r359681 > > Submitted by: bdrewery > Reported by:

svn commit: r359937 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-14 Thread Brooks Davis
Author: brooks Date: Tue Apr 14 20:30:48 2020 New Revision: 359937 URL: https://svnweb.freebsd.org/changeset/base/359937 Log: Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing definitation with include

svn commit: r359938 - in head/sys: compat/freebsd32 kern

2020-04-14 Thread Brooks Davis
Author: brooks Date: Tue Apr 14 20:53:12 2020 New Revision: 359938 URL: https://svnweb.freebsd.org/changeset/base/359938 Log: Remove bogus use of useracc() in (clock_)nanosleep. There's no point in pre-checking that we can access the user's rmtp pointer before we do it in copyout().

Re: svn commit: r359937 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-14 Thread Brooks Davis
On Tue, Apr 14, 2020 at 03:08:24PM -0700, Conrad Meyer wrote: > Brooks, > > On Tue, Apr 14, 2020 at 13:31 Brooks Davis wrote: > > > Author: brooks > > Date: Tue Apr 14 20:30:48 2020 > > New Revision: 359937 > > URL: https://svnweb.freebsd.org/changeset/base/

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

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 16:33:27 2020 New Revision: 359974 URL: https://svnweb.freebsd.org/changeset/base/359974 Log: Don't directly access userspace memory. Rather then using the racy useracc() followed by direct access to userspace memory, perform a copyin() and use the result i

svn commit: r359978 - in head: lib/libc/gen lib/libc/net lib/libc/rpc sys/dev/ocs_fc sys/net80211

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 18:15:58 2020 New Revision: 359978 URL: https://svnweb.freebsd.org/changeset/base/359978 Log: Fix -Wvoid-pointer-to-enum-cast warnings. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and relatively harmless.

svn commit: r359986 - head/sys/sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:19:59 2020 New Revision: 359986 URL: https://svnweb.freebsd.org/changeset/base/359986 Log: Introduce an AUXARGS_ENTRY_PTR() macro. As the name implys, it uses the a_ptr member of the auxarg entry (except in compat32 where it uses a_val). This is more co

svn commit: r359987 - in head/sys: amd64/ia32 amd64/linux32 compat/freebsd32 kern sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:21:30 2020 New Revision: 359987 URL: https://svnweb.freebsd.org/changeset/base/359987 Log: Make ps_strings in struct image_params into a pointer. This is a prepratory commit for D24407. Reviewed by: kib Obtained from:CheriBSD Sponsored by

svn commit: r359988 - in head/sys: compat/freebsd32 kern sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:23:55 2020 New Revision: 359988 URL: https://svnweb.freebsd.org/changeset/base/359988 Log: Export argc, argv, envc, envv, and ps_strings in auxargs. This simplifies discovery of these values, potentially with reducing the number of syscalls we need to ma

svn commit: r359989 - head/usr.bin/procstat

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:25:38 2020 New Revision: 359989 URL: https://svnweb.freebsd.org/changeset/base/359989 Log: Add procstat support for AT_ flags added in r359988. This includes argc, argv, envc, envv, and ps_strings. Reviewed by: kib Obtained from:CheriBSD

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

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:26:41 2020 New Revision: 359990 URL: https://svnweb.freebsd.org/changeset/base/359990 Log: Support AT_PS_STRINGS in _elf_aux_info(). This will be used by setproctitle(). Reviewed by: kib Obtained from:CheriBSD Sponsored by: DARPA Differ

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

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:28:20 2020 New Revision: 359991 URL: https://svnweb.freebsd.org/changeset/base/359991 Log: Attempt to use AT_PS_STRINGS to get the ps_strings pointer. This saves a system call and avoids one of the (relatively rare) cases of the kernel exporting pointers

Re: svn commit: r360004 - head/sys/i386/i386

2020-04-16 Thread Brooks Davis
On Thu, Apr 16, 2020 at 05:27:14AM +, Scott Long wrote: > Author: scottl > Date: Thu Apr 16 05:27:13 2020 > New Revision: 360004 > URL: https://svnweb.freebsd.org/changeset/base/360004 > > Log: > Fix ps_strings type change for i386 Thanks for the fix. I did do a make tinderbox, but missed

svn commit: r360015 - head/sys/kern

2020-04-16 Thread Brooks Davis
Author: brooks Date: Thu Apr 16 17:24:13 2020 New Revision: 360015 URL: https://svnweb.freebsd.org/changeset/base/360015 Log: style(9): end continued line with operator. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c ==

svn commit: r360024 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 i386/linux kern powerpc/powerpc sys

2020-04-16 Thread Brooks Davis
Author: brooks Date: Thu Apr 16 21:53:17 2020 New Revision: 360024 URL: https://svnweb.freebsd.org/changeset/base/360024 Log: Convert canary, execpathp, and pagesizes to pointers. Use AUXARGS_ENTRY_PTR to export these pointers. This is a followup to r359987 and r359988. Reviewed by:

svn commit: r360200 - in stable/12/sys: compat/freebsd32 kern

2020-04-22 Thread Brooks Davis
Author: brooks Date: Wed Apr 22 17:14:02 2020 New Revision: 360200 URL: https://svnweb.freebsd.org/changeset/base/360200 Log: MFC r359938: Remove bogus use of useracc() in (clock_)nanosleep. There's no point in pre-checking that we can access the user's rmtp pointer before we do it i

svn commit: r360225 - in stable/11/sys: compat/freebsd32 kern

2020-04-23 Thread Brooks Davis
Author: brooks Date: Thu Apr 23 17:46:29 2020 New Revision: 360225 URL: https://svnweb.freebsd.org/changeset/base/360225 Log: MFC r359938: Remove bogus use of useracc() in (clock_)nanosleep. There's no point in pre-checking that we can access the user's rmtp pointer before we do it i

svn commit: r360414 - in stable/12: lib/libc/gen lib/libc/net lib/libc/rpc sys/dev/ocs_fc sys/net80211

2020-04-27 Thread Brooks Davis
Author: brooks Date: Mon Apr 27 23:47:40 2020 New Revision: 360414 URL: https://svnweb.freebsd.org/changeset/base/360414 Log: MFC r359978: Fix -Wvoid-pointer-to-enum-cast warnings. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and rel

svn commit: r360415 - in stable/11: lib/libc/gen lib/libc/net lib/libc/rpc sys/dev/ocs_fc sys/net80211

2020-04-27 Thread Brooks Davis
Author: brooks Date: Mon Apr 27 23:49:13 2020 New Revision: 360415 URL: https://svnweb.freebsd.org/changeset/base/360415 Log: MFC r359978: Fix -Wvoid-pointer-to-enum-cast warnings. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and rel

svn commit: r360446 - in stable/12/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-28 Thread Brooks Davis
Author: brooks Date: Tue Apr 28 17:59:37 2020 New Revision: 360446 URL: https://svnweb.freebsd.org/changeset/base/360446 Log: MFC r359937: Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing definit

svn commit: r360451 - in stable/11/sys: amd64/linux amd64/linux32 compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-28 Thread Brooks Davis
Author: brooks Date: Tue Apr 28 20:14:38 2020 New Revision: 360451 URL: https://svnweb.freebsd.org/changeset/base/360451 Log: MFC r359937: Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing definit

svn commit: r360635 - in head/contrib/jemalloc: . include/jemalloc

2020-05-04 Thread Brooks Davis
Author: brooks Date: Mon May 4 17:16:30 2020 New Revision: 360635 URL: https://svnweb.freebsd.org/changeset/base/360635 Log: Set LG_VADDR to 48 on RISC-V. The Sv48 PTE format is the largest currently defined address space for RISC-V. It makes no sense to define a larger size and doing so

svn commit: r360693 - stable/12/sys/mips/mips

2020-05-06 Thread Brooks Davis
Author: brooks Date: Wed May 6 17:12:26 2020 New Revision: 360693 URL: https://svnweb.freebsd.org/changeset/base/360693 Log: MFC r359974: Don't directly access userspace memory. Rather then using the racy useracc() followed by direct access to userspace memory, perform a copyin() an

svn commit: r360695 - stable/11/sys/mips/mips

2020-05-06 Thread Brooks Davis
Author: brooks Date: Wed May 6 17:42:36 2020 New Revision: 360695 URL: https://svnweb.freebsd.org/changeset/base/360695 Log: MFC r359974: Don't directly access userspace memory. Rather then using the racy useracc() followed by direct access to userspace memory, perform a copyin() an

Re: svn commit: r360833 - head

2020-05-11 Thread Brooks Davis
On Sat, May 09, 2020 at 02:01:29AM +, Kyle Evans wrote: > Author: kevans > Date: Sat May 9 02:01:29 2020 > New Revision: 360833 > URL: https://svnweb.freebsd.org/changeset/base/360833 > > Log: > installworld: attempt a certctl rehash at the tail end > > This can be run as root or norma

svn commit: r354420 - head/sys/sys

2019-11-06 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 00:07:54 2019 New Revision: 354420 URL: https://svnweb.freebsd.org/changeset/base/354420 Log: Fix the alignment of struct xunpcb on systems with >64-bit pointers. Reviewed by: emaste Obtained from:CheriBSD MFC after:3 days Sponsored by: DAR

svn commit: r354449 - in head: . libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 17:10:33 2019 New Revision: 354449 URL: https://svnweb.freebsd.org/changeset/base/354449 Log: libcompat: build 32-bit rtld and ldd as part of "everything" Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles wo

svn commit: r354465 - in head: . lib/msun/src libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 19:22:51 2019 New Revision: 354465 URL: https://svnweb.freebsd.org/changeset/base/354465 Log: Revert r354449: libcompat: build 32-bit rtld and ldd as part of "everything" Additional testing is required.. Deleted: head/libexec/rtld-elf32/ head/usr.bin/ldd

svn commit: r354466 - head/lib/msun/src

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 19:28:03 2019 New Revision: 354466 URL: https://svnweb.freebsd.org/changeset/base/354466 Log: Revert change accidentally included in r354465. Will recommit with a proper commit message shortly. Modified: head/lib/msun/src/k_sincosl.h Modified: head/lib/ms

svn commit: r354467 - head/lib/msun/src

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 19:31:56 2019 New Revision: 354467 URL: https://svnweb.freebsd.org/changeset/base/354467 Log: Fix declaration of S1 by swapping misplaced ',' and ';'. Reported by: kargl Obtained from:OpenBSD (t...@openbsd.org) MFC after:1 week Modified: h

svn commit: r354491 - in head: . lib/msun/src libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 22:58:10 2019 New Revision: 354491 URL: https://svnweb.freebsd.org/changeset/base/354491 Log: libcompat: build 32-bit rtld and ldd as part of "everything" Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles wo

svn commit: r354518 - head

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 23:50:33 2019 New Revision: 354518 URL: https://svnweb.freebsd.org/changeset/base/354518 Log: Fix the ARCH check for LIB32 from Makefile.inc1. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

svn commit: r354519 - in head: . share/mk

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 23:54:40 2019 New Revision: 354519 URL: https://svnweb.freebsd.org/changeset/base/354519 Log: Revert r354518 and commit the intented fix rather than the diagnostic check. This fixes the definition of MK_LIB32 in Makefile.inc1. Modified: head/Makefile.inc

svn commit: r354523 - head/share/mk

2019-11-07 Thread Brooks Davis
Author: brooks Date: Fri Nov 8 03:14:06 2019 New Revision: 354523 URL: https://svnweb.freebsd.org/changeset/base/354523 Log: Turn the error about a lack of LIBCOMPAT into a warning. Add some diagnostic output. This works around the fact that buildworld calls cleandir in libexec with

svn commit: r354663 - in head: libexec/rtld-elf libexec/rtld-elf32 usr.bin/ldd32

2019-11-12 Thread Brooks Davis
Author: brooks Date: Tue Nov 12 22:31:59 2019 New Revision: 354663 URL: https://svnweb.freebsd.org/changeset/base/354663 Log: libcompat: Correct rtld MLINKS Don't install duplicate ld-elf.so.1.1 and ld.so.1 links in rtld-elf32. Do install lib-elf32.so.1.1 and ldd32.1 links. Reported

Re: svn commit: r354491 - in head: . lib/msun/src libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-12 Thread Brooks Davis
On Tue, Nov 12, 2019 at 10:14:28PM +0100, Guido Falsi wrote: > On 07/11/19 23:58, Brooks Davis wrote: > > Author: brooks > > Date: Thu Nov 7 22:58:10 2019 > > New Revision: 354491 > > URL: https://svnweb.freebsd.org/changeset/base/354491 > > > > Log: > &

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

2019-11-13 Thread Brooks Davis
Author: brooks Date: Wed Nov 13 18:10:42 2019 New Revision: 354688 URL: https://svnweb.freebsd.org/changeset/base/354688 Log: Fix a typo in the PMAP_PTE_SET_CACHE_BITS macro. The second argument should have been "pa" not "ps". It worked by accident because the argument was always "pa" wh

svn commit: r354694 - in head: lib/libc/gen sys/sys

2019-11-13 Thread Brooks Davis
Author: brooks Date: Wed Nov 13 21:51:55 2019 New Revision: 354694 URL: https://svnweb.freebsd.org/changeset/base/354694 Log: elf_aux_info: Add support for AT_EXECPATH. Reviewed by: emaste, sef MFC after:3 days Sponsored by: DARPA, AFRL Differential Revision:https://revie

svn commit: r354695 - stable/12/sys/sys

2019-11-13 Thread Brooks Davis
Author: brooks Date: Wed Nov 13 22:25:53 2019 New Revision: 354695 URL: https://svnweb.freebsd.org/changeset/base/354695 Log: MFC r354420: Fix the alignment of struct xunpcb on systems with >64-bit pointers. Reviewed by: emaste Obtained from:CheriBSD Sponsored by: DARPA, A

Re: svn commit: r354694 - in head: lib/libc/gen sys/sys

2019-11-13 Thread Brooks Davis
On Thu, Nov 14, 2019 at 12:46:40AM +0200, Konstantin Belousov wrote: > On Wed, Nov 13, 2019 at 09:51:55PM +0000, Brooks Davis wrote: > > Author: brooks > > Date: Wed Nov 13 21:51:55 2019 > > New Revision: 354694 > > URL: https://svnweb.freebsd.org/changes

svn commit: r354698 - stable/12

2019-11-13 Thread Brooks Davis
Author: brooks Date: Wed Nov 13 23:26:12 2019 New Revision: 354698 URL: https://svnweb.freebsd.org/changeset/base/354698 Log: MFC r353871 Record prior MFC of r353408 r353408: Fix -DNO_CLEAN build across r353340 and r353381 opensolaris_atomic.S is now only used on i386 with opensola

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

2019-11-13 Thread Brooks Davis
Author: brooks Date: Wed Nov 13 23:31:23 2019 New Revision: 354699 URL: https://svnweb.freebsd.org/changeset/base/354699 Log: Improve the description of AT_EXECPATH availability. Reported by: kib Sponsored by: DARPA, AFRL Modified: head/lib/libc/gen/auxv.3 Modified: head/lib/libc/gen

Re: svn commit: r354707 - head/contrib/llvm/lib/Support/Unix

2019-11-14 Thread Brooks Davis
On Thu, Nov 14, 2019 at 03:10:01PM +, Ed Maste wrote: > Author: emaste > Date: Thu Nov 14 15:10:01 2019 > New Revision: 354707 > URL: https://svnweb.freebsd.org/changeset/base/354707 > > Log: > llvm: use elf_aux_info to get executable's path, if available Thanks! Encoding ABI details (espe

svn commit: r354711 - in head/sys: compat/freebsd32 i386/linux kern

2019-11-14 Thread Brooks Davis
Author: brooks Date: Thu Nov 14 17:11:52 2019 New Revision: 354711 URL: https://svnweb.freebsd.org/changeset/base/354711 Log: Tidy syscall declerations. Pointer arguments should be of the form " *..." and not "* ...". No functional change. Reviewed by: kevans Sponsored by: DARP

svn commit: r354909 - in head: . share/mk

2019-11-20 Thread Brooks Davis
Author: brooks Date: Wed Nov 20 18:36:58 2019 New Revision: 354909 URL: https://svnweb.freebsd.org/changeset/base/354909 Log: Make the warning for deprecated NO_ variables an error. Support for NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB, NO_MAN, NO_PROFILE, and NO_WARNS as deprecated in 2014 w

svn commit: r354921 - stable/12/sys/mips/mips

2019-11-20 Thread Brooks Davis
Author: brooks Date: Wed Nov 20 23:09:21 2019 New Revision: 354921 URL: https://svnweb.freebsd.org/changeset/base/354921 Log: MFC r354688: Fix a typo in the PMAP_PTE_SET_CACHE_BITS macro. The second argument should have been "pa" not "ps". It worked by accident because the argument

svn commit: r354928 - in stable/12: lib/libc/gen sys/sys

2019-11-20 Thread Brooks Davis
Author: brooks Date: Thu Nov 21 00:40:12 2019 New Revision: 354928 URL: https://svnweb.freebsd.org/changeset/base/354928 Log: MFC r354694, r354699 r354694: elf_aux_info: Add support for AT_EXECPATH. Reviewed by: emaste, sef Sponsored by: DARPA, AFRL Differential Revision:

Re: svn commit: r354909 - in head: . share/mk

2019-11-21 Thread Brooks Davis
On Thu, Nov 21, 2019 at 04:13:37PM +, Glen Barber wrote: > On Wed, Nov 20, 2019 at 06:36:58PM +0000, Brooks Davis wrote: > > Author: brooks > > Date: Wed Nov 20 18:36:58 2019 > > New Revision: 354909 > > URL: https://svnweb.freebsd.org/changeset/base/354909 > >

svn commit: r355011 - in head: . share/mk

2019-11-22 Thread Brooks Davis
Author: brooks Date: Fri Nov 22 18:41:09 2019 New Revision: 355011 URL: https://svnweb.freebsd.org/changeset/base/355011 Log: Revert r354909: Make the warning for deprecated NO_ variables an error. An unexpectidly large number of ports define NO_MAN (and sometimes the long-dead NOMAN). I

svn commit: r355139 - head/sys/dev/bwn

2019-11-27 Thread Brooks Davis
Author: brooks Date: Wed Nov 27 20:00:44 2019 New Revision: 355139 URL: https://svnweb.freebsd.org/changeset/base/355139 Log: Fix a logic bug when "mask" contains a ?: operator. Newer versions of clang warn that '&' evaluates before '?:'. Reviewed by: markj MFC after:3 days Sp

svn commit: r355453 - stable/12/sys/dev/bwn

2019-12-06 Thread Brooks Davis
Author: brooks Date: Fri Dec 6 17:58:27 2019 New Revision: 355453 URL: https://svnweb.freebsd.org/changeset/base/355453 Log: MFC r355139: Fix a logic bug when "mask" contains a ?: operator. Newer versions of clang warn that '&' evaluates before '?:'. Reviewed by: markj Sponsor

svn commit: r355454 - stable/11/sys/dev/bwn

2019-12-06 Thread Brooks Davis
Author: brooks Date: Fri Dec 6 18:15:27 2019 New Revision: 355454 URL: https://svnweb.freebsd.org/changeset/base/355454 Log: MFC r355139: Fix a logic bug when "mask" contains a ?: operator. Newer versions of clang warn that '&' evaluates before '?:'. Reviewed by: markj Sponsor

svn commit: r355473 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/linux kern

2019-12-06 Thread Brooks Davis
Author: brooks Date: Fri Dec 6 23:59:23 2019 New Revision: 355473 URL: https://svnweb.freebsd.org/changeset/base/355473 Log: sysent: Reduce duplication and improve readability. Use the power of variable to avoid spelling out source and generated files too many times. The previous Makefi

svn commit: r355830 - head/sys/dev/ata/chipsets

2019-12-16 Thread Brooks Davis
Author: brooks Date: Tue Dec 17 00:10:19 2019 New Revision: 355830 URL: https://svnweb.freebsd.org/changeset/base/355830 Log: Avoid a tautological bitwise compare. This looks like a bit of debugging code that sliped into the initial import of the new ATA framework. This changes the behavi

svn commit: r339101 - in head/sys: cam/scsi compat/freebsd32

2018-10-02 Thread Brooks Davis
Author: brooks Date: Tue Oct 2 23:23:56 2018 New Revision: 339101 URL: https://svnweb.freebsd.org/changeset/base/339101 Log: Move 32-bit compat support for CDIOREADTOCENTRYS to the right place. ioctl(2) commands only have meaning in the context of a file descriptor so translating them in

svn commit: r339174 - in head/sys: compat/freebsd32 fs/devfs

2018-10-03 Thread Brooks Davis
Author: brooks Date: Wed Oct 3 20:39:48 2018 New Revision: 339174 URL: https://svnweb.freebsd.org/changeset/base/339174 Log: Move 32-bit compat support for FIODGNAME to the right place. ioctl(2) commands only have meaning in the context of a file descriptor so translating them in the sys

svn commit: r339184 - head/include

2018-10-04 Thread Brooks Davis
Author: brooks Date: Thu Oct 4 21:55:58 2018 New Revision: 339184 URL: https://svnweb.freebsd.org/changeset/base/339184 Log: Reduce NL_ARGMAX to 4096 to match Linux. NL_ARGMAX is the maximum number of positional arguments supported by printf(3). Prior to r308145 it was declared as 99 and

svn commit: r339186 - in head/sys: compat/freebsd32 fs/devfs

2018-10-04 Thread Brooks Davis
Author: brooks Date: Thu Oct 4 23:55:03 2018 New Revision: 339186 URL: https://svnweb.freebsd.org/changeset/base/339186 Log: Revert r339174: Move 32-bit compat support for FIODGNAME to the right place. A case was missed in this commit which breaks sshing into a 32-bit sshd on a 64-bit sy

svn commit: r339245 - stable/11/usr.bin/bmake

2018-10-08 Thread Brooks Davis
Author: brooks Date: Mon Oct 8 22:38:28 2018 New Revision: 339245 URL: https://svnweb.freebsd.org/changeset/base/339245 Log: MFC r338925: Don't override LDFLAGS set in bsd.cpu.mk. This is a direct commit to a generated file. Simon plans to fix this upstream before the next import.

svn commit: r339269 - in head/sys: amd64/linux amd64/linux32 compat/cloudabi32 compat/cloudabi64 i386/linux

2018-10-09 Thread Brooks Davis
Author: brooks Date: Tue Oct 9 20:42:17 2018 New Revision: 339269 URL: https://svnweb.freebsd.org/changeset/base/339269 Log: Regenerated assorted syscall related files after: - r327895: Implement 'domainset'... - r329876: Use linux types for linux-specific syscalls Diff generated wit

svn commit: r339272 - head

2018-10-09 Thread Brooks Davis
Author: brooks Date: Tue Oct 9 22:22:15 2018 New Revision: 339272 URL: https://svnweb.freebsd.org/changeset/base/339272 Log: Don't include the broken riscv64sf TARGET_ARCH in universe. riscv64sf has been broken due to duplicate symbols for months and degrades the quality of universe buil

svn commit: r339622 - in head/sys: compat/freebsd32 kern

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 21:50:43 2018 New Revision: 339622 URL: https://svnweb.freebsd.org/changeset/base/339622 Log: Remove __restrict qualifiers from syscalls.master. The restruct qualifier is intended to aid code generation in the compiler, but the only access to storage throug

svn commit: r339623 - head/sys/sys

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 21:51:59 2018 New Revision: 339623 URL: https://svnweb.freebsd.org/changeset/base/339623 Log: Regen after r339622. Note: changes to freebsd32 syscalls.master impacted no generated files. Modified: head/sys/sys/sysproto.h Modified: head/sys/sys/sysproto.h

svn commit: r339624 - head/sys/kern

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 22:13:00 2018 New Revision: 339624 URL: https://svnweb.freebsd.org/changeset/base/339624 Log: Remove the need for backslashes in syscalls.master. Join non-special lines together until we hit a line containing a '}' character. This allows the function declar

svn commit: r339625 - in head/sys: arm/include arm64/include mips/include powerpc/include riscv/include sparc64/include sys x86/include

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 22:24:32 2018 New Revision: 339625 URL: https://svnweb.freebsd.org/changeset/base/339625 Log: Consolidate identical ELF auxargs type defintions. All platforms except powerpc use the same values and powerpc shares a majority of them. Go ahead and declar

svn commit: r339703 - in head: share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc sys/dev/ae sys/dev/bm sys/dev/cs sys/dev/de sys/dev/dme sys/dev/ed sys/dev/ep sys/dev/ex sys/dev/f...

2018-10-24 Thread Brooks Davis
Author: brooks Date: Thu Oct 25 04:10:41 2018 New Revision: 339703 URL: https://svnweb.freebsd.org/changeset/base/339703 Log: Deprecate a number of less used 10 and 10/100 Ethernet devices. The current deprecated list is: ae, bm, cs, de, dme, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx,

Re: svn commit: r339703 - in head: share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc sys/dev/ae sys/dev/bm sys/dev/cs sys/dev/de sys/dev/dme sys/dev/ed sys/dev/ep sys/dev/ex sys/dev/

2018-10-24 Thread Brooks Davis
On Thu, Oct 25, 2018 at 04:10:41AM +, Brooks Davis wrote: > Author: brooks > Date: Thu Oct 25 04:10:41 2018 > New Revision: 339703 > URL: https://svnweb.freebsd.org/changeset/base/339703 > > Log: > Deprecate a number of less used 10 and 10/100 Ethernet devices.

svn commit: r339735 - in stable/12: share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc sys/dev/ae sys/dev/bm sys/dev/cs sys/dev/de sys/dev/dme sys/dev/ed sys/dev/ep sys/dev/ex sys/...

2018-10-25 Thread Brooks Davis
Author: brooks Date: Thu Oct 25 17:00:39 2018 New Revision: 339735 URL: https://svnweb.freebsd.org/changeset/base/339735 Log: MFC r339703: Deprecate a number of less used 10 and 10/100 Ethernet devices. The current deprecated list is: ae, bm, cs, de, dme, ed, ep, ex, fe, pcn, sf, sn,

svn commit: r339779 - in head/sys: compat/freebsd32 fs/devfs kern sys

2018-10-26 Thread Brooks Davis
Author: brooks Date: Fri Oct 26 17:59:25 2018 New Revision: 339779 URL: https://svnweb.freebsd.org/changeset/base/339779 Log: Move 32-bit compat support for FIODGNAME to the right place. ioctl(2) commands only have meaning in the context of a file descriptor so translating them in the sys

<    4   5   6   7   8   9   10   11   12   13   >