svn commit: r357978 - head/lib/libfetch

2020-02-15 Thread Kyle Evans
Author: kevans Date: Sat Feb 15 19:39:50 2020 New Revision: 357978 URL: https://svnweb.freebsd.org/changeset/base/357978 Log: fetch(3): fix regression in IPv6:port spec from r357977 In case the port was specified, we never actually populated *host. Do so now. Pointy hat: kevans Mo

svn commit: r357979 - head/lib/libfetch

2020-02-15 Thread Kyle Evans
Author: kevans Date: Sat Feb 15 19:47:49 2020 New Revision: 357979 URL: https://svnweb.freebsd.org/changeset/base/357979 Log: fetch(3): don't leak sockshost on failure fetch_socks5_getenv will allocate memory for the host (or set it to NULL) in all cases through the function; the caller i

svn commit: r357980 - head/share/misc

2020-02-15 Thread Kyle Evans
efort\njylef...@freebsd.or kai [label="Kai Knoblich\n...@freebsd.org\n2019/02/01"] kami [label="Dominic Fandrey\nk...@freebsd.org\n2014/09/09"] kbowling [label="Kevin Bowling\nkbowl...@freebsd.org\n2018/09/02"] +kevans [label="Kyle Evans\nkev...@freebsd.org\n

svn commit: r358091 - head/usr.sbin/certctl

2020-02-18 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 02:34:56 2020 New Revision: 358091 URL: https://svnweb.freebsd.org/changeset/base/358091 Log: certctl(8): switch to install(1) to fix DESTDIR support "Oops" - ln(1) is fine and dandy, but when you're using DESTDIR...it's not- the path will almost certainly

svn commit: r358092 - head/release/packages

2020-02-18 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 02:35:43 2020 New Revision: 358092 URL: https://svnweb.freebsd.org/changeset/base/358092 Log: caroot pkg: pass through the pkg -r rootdir as DESTDIR If we're trying to bootstrap a different root with pkgbase, we should be doing the right thing with caroot.

svn commit: r358109 - head/usr.bin/kdump

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:32:55 2020 New Revision: 358109 URL: https://svnweb.freebsd.org/changeset/base/358109 Log: kdump: decode SHM_ANON as first arg to legacy shm_open(2) The first argument to shm_open(2) as well as shm_open2(2) may be a path or SHM_ANON. Decode SHM_ANON, at

svn commit: r358115 - head/lib/libsysdecode

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:52:32 2020 New Revision: 358115 URL: https://svnweb.freebsd.org/changeset/base/358115 Log: libsysdecode: grab shmflags from sys/mman.h, add decode method Any SHM_* flag here is (and likely will continue to be) a shmflag that may be passed to shm_open2(),

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

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:54:33 2020 New Revision: 358116 URL: https://svnweb.freebsd.org/changeset/base/358116 Log: truss: decode shm_open2 shm_open2 is similar to shm_open, except it also takes shmflags and optional name to label the anonymous region for, e.g., debugging purpos

svn commit: r358117 - head/usr.bin/kdump

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:55:59 2020 New Revision: 358117 URL: https://svnweb.freebsd.org/changeset/base/358117 Log: kdump: decode shm_open2 This is the kdump counterpart of the truss support added in r358116, and also a part of D23733. shm_open2 is the successor to shm_open.

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

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 15:12:01 2020 New Revision: 358118 URL: https://svnweb.freebsd.org/changeset/base/358118 Log: truss: fix shm_open2 oversight (BinString -> Name) BinString assumes a length in the next argument; Name is more appropriate for the final argument. Modified: h

Re: svn commit: r358133 - head/sys/vm

2020-02-19 Thread Kyle Evans
On Wed, Feb 19, 2020 at 4:49 PM Joerg Sonnenberger wrote: > > On Wed, Feb 19, 2020 at 10:34:23PM +, Jeff Roberson wrote: > > Author: jeff > > Date: Wed Feb 19 22:34:22 2020 > > New Revision: 358133 > > URL: https://svnweb.freebsd.org/changeset/base/358133 > > > > Log: > > Silence a gcc warni

svn commit: r358227 - head/lib/libfetch

2020-02-21 Thread Kyle Evans
Author: kevans Date: Fri Feb 21 18:21:57 2020 New Revision: 358227 URL: https://svnweb.freebsd.org/changeset/base/358227 Log: fetch(3): plug some leaks In the successful case, sockshost is not freed prior to return. The failure case can now be hit after fetch_reopen(), which was not tr

svn commit: r358235 - head/bin/sh

2020-02-21 Thread Kyle Evans
Author: kevans Date: Sat Feb 22 03:14:05 2020 New Revision: 358235 URL: https://svnweb.freebsd.org/changeset/base/358235 Log: sh: fix read builtin on 32-bit systems Specifically, any system with a 32-bit size_t; -residue is calculated as a 32-bit *then* promoted to the 64-bit off_t and th

Re: svn commit: r358152 - head/bin/sh

2020-02-21 Thread Kyle Evans
t; Please either fix or revert. > > > > Antoine (with hat: portmgr) > > Could you provide more detail? I'm worried because I didn't see > related regression from the recent test results. We may need to add > more test against the breakage you mentioned. > Th

svn commit: r358237 - head/tools/bsdbox

2020-02-21 Thread Kyle Evans
Author: kevans Date: Sat Feb 22 04:02:07 2020 New Revision: 358237 URL: https://svnweb.freebsd.org/changeset/base/358237 Log: bsdbox: fix build We've grown to also require libthr and libprivatestd to be explicitly linked in here, so do this now to fix freebsd-wifi-build. Submitted by

svn commit: r358248 - head/sys/vm

2020-02-22 Thread Kyle Evans
Author: kevans Date: Sat Feb 22 16:20:04 2020 New Revision: 358248 URL: https://svnweb.freebsd.org/changeset/base/358248 Log: vm_radix: prefer __builtin_unreachable() to an unreachable panic() This provides the needed hint to GCC and offers an annotation for readers to observe that it's i

Re: svn commit: r358248 - head/sys/vm

2020-02-22 Thread Kyle Evans
On Sat, Feb 22, 2020 at 10:25 AM Ian Lepore wrote: > > On Sat, 2020-02-22 at 16:20 +, Kyle Evans wrote: > > Author: kevans > > Date: Sat Feb 22 16:20:04 2020 > > New Revision: 358248 > > URL: https://svnweb.freebsd.org/changeset/base/358248 >

Re: svn commit: r358248 - head/sys/vm

2020-02-22 Thread Kyle Evans
On Sat, Feb 22, 2020 at 10:44 AM Mateusz Guzik wrote: > > On 2/22/20, Kyle Evans wrote: > > On Sat, Feb 22, 2020 at 10:25 AM Ian Lepore wrote: > >> > >> On Sat, 2020-02-22 at 16:20 +, Kyle Evans wrote: > >> > Author: kevans > >> > Date

Re: svn commit: r358248 - head/sys/vm

2020-02-22 Thread Kyle Evans
On Sat, Feb 22, 2020 at 11:18 AM Mateusz Guzik wrote: > > On 2/22/20, Kyle Evans wrote: > > On Sat, Feb 22, 2020 at 10:44 AM Mateusz Guzik wrote: > >> > >> On 2/22/20, Kyle Evans wrote: > >> > On Sat, Feb 22, 2020 at 10:25 AM Ian Lepore wrote: > &g

Re: svn commit: r358248 - head/sys/vm

2020-02-22 Thread Kyle Evans
On Sat, Feb 22, 2020 at 1:21 PM Pedro Giffuni wrote: > > > On 22/02/2020 14:13, Ian Lepore wrote: > > On Sat, 2020-02-22 at 20:01 +0100, Dimitry Andric wrote: > >> On 22 Feb 2020, at 17:44, Mateusz Guzik wrote: > >>> On 2/22/20, Kyle Evans wrote: > &g

Re: svn commit: r358257 - in head/sys: kern sys

2020-02-22 Thread Kyle Evans
t actually all that bad, basically just shuffling around declarations. There's only one case where it ends up introducing some __DECONST ugliness because the caller writes it out with uiomove(). Thanks, Kyle Evans ___ svn-src-head@freebsd.org ma

svn commit: r358515 - head/sys/net

2020-03-01 Thread Kyle Evans
Author: kevans Date: Mon Mar 2 02:45:57 2020 New Revision: 358515 URL: https://svnweb.freebsd.org/changeset/base/358515 Log: if_edsc: generate an arbitrary MAC address When generating an cloned interface instance in edsc_clone_create(), generate a MAC address from the FF OUI with ether_g

svn commit: r358518 - head/usr.bin/elfctl

2020-03-01 Thread Kyle Evans
Author: kevans Date: Mon Mar 2 04:22:38 2020 New Revision: 358518 URL: https://svnweb.freebsd.org/changeset/base/358518 Log: elfctl: initialize features GCC points out a couple levels down in convert_to_features that this may be used uninitialized. Indeed, this is true- initialize it to

svn commit: r358549 - head/release/packages

2020-03-02 Thread Kyle Evans
Author: kevans Date: Mon Mar 2 15:58:50 2020 New Revision: 358549 URL: https://svnweb.freebsd.org/changeset/base/358549 Log: pkgbase: remove logic for _profile packages We don't produce these anymore as of r356797, remove the remnant in generate-ucl.sh that accounted for them. This isn't

svn commit: r358553 - head/usr.bin/hexdump/tests

2020-03-02 Thread Kyle Evans
Author: kevans Date: Mon Mar 2 18:40:34 2020 New Revision: 358553 URL: https://svnweb.freebsd.org/changeset/base/358553 Log: hexdump: tests: take into account byte order Hexdump test was failling on big endian systems when testing decimal, octal and hexa outputs as the tests were designe

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Kyle Evans
older clang version due to > > crashes when compiled with newer ones. > > > > Not sure whose responsibility is to fix this. > > > > Should I file a bug report on bugzilla? > > > > -- > > Guido Falsi > > We've discussed whether to provide co

svn commit: r358687 - head/libexec/tftpd/tests

2020-03-05 Thread Kyle Evans
Author: kevans Date: Thu Mar 5 22:45:16 2020 New Revision: 358687 URL: https://svnweb.freebsd.org/changeset/base/358687 Log: tftpd: tests: raise targeted cstd to c11 r358556 added alignas() use to the functional tests, which isn't defined until C11. Raise the -std to C11 to fix the build

Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Kyle Evans
MFC after:2 weeks > Sponsored by: iXsystems, Inc. > It's unclear from the context- is there any particular reason this can't instead using sysctl kern.module_path and accept a semicolon delimited list of directories for -k (maybe calling it -k kernelpath instead)? Thanks,

svn commit: r358993 - head/lib/libssp

2020-03-14 Thread Kyle Evans
Author: kevans Date: Sat Mar 14 15:15:27 2020 New Revision: 358993 URL: https://svnweb.freebsd.org/changeset/base/358993 Log: libssp: don't compile with -fstack-protector* This similarly matches what we do in libc; compiling libssp with -fstack-protector* is actively harmful. For instanc

svn commit: r359243 - head/tools/bsdbox

2020-03-23 Thread Kyle Evans
Author: kevans Date: Mon Mar 23 14:53:55 2020 New Revision: 359243 URL: https://svnweb.freebsd.org/changeset/base/359243 Log: bsdbox: remove useless linking against libl All is good without it; just remove it. Requested by: bapt Modified: head/tools/bsdbox/Makefile Modified: head/t

svn commit: r359389 - head/usr.sbin/config

2020-03-27 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 04:02:00 2020 New Revision: 359389 URL: https://svnweb.freebsd.org/changeset/base/359389 Log: config(8): fixes for -fno-common Move this handful of definitions into main.c, properly declare these as extern in config.h. This fixes the config(8) build with -f

svn commit: r359388 - head/contrib/binutils/gas

2020-03-27 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 03:58:57 2020 New Revision: 359388 URL: https://svnweb.freebsd.org/changeset/base/359388 Log: gas: mark dwarf2_loc_mark_labels as extern Compiling with -fno-common complains as this header's included in multiple compilation units. In fact, the proper defini

svn commit: r359399 - in head/contrib/telnet: libtelnet telnetd

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 17:06:34 2020 New Revision: 359399 URL: https://svnweb.freebsd.org/changeset/base/359399 Log: telnet: remove some duplicate definitions, mark terminaltype extern Most of these were already properly declared and defined elsewhere, this is effectively just a

svn commit: r359397 - in head/cddl/contrib/opensolaris/cmd: zfs zpool

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 17:00:38 2020 New Revision: 359397 URL: https://svnweb.freebsd.org/changeset/base/359397 Log: zfs: fix -fno-common issues A similar (or identical?) fix has already landed in OpenZFS. -fno-common will become the default in GCC10/LLVM11. MFC after:

svn commit: r359398 - head/bin/sh

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 17:02:32 2020 New Revision: 359398 URL: https://svnweb.freebsd.org/changeset/base/359398 Log: sh: remove duplicate el definition el is declared extern in myhistedit.h and defined in histedit.c. Remove the duplicate definition in input.c to appease the -fno-

svn commit: r359394 - head/contrib/tcsh

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 15:00:55 2020 New Revision: 359394 URL: https://svnweb.freebsd.org/changeset/base/359394 Log: MFV r359393: tcsh: import 6974bc35a5cd This removes an extra variable definition that causes the -fno-common build to fail, which will be a new default in GCC10/LL

svn commit: r359402 - head/contrib/openbsm/bin/auditreduce

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 17:36:39 2020 New Revision: 359402 URL: https://svnweb.freebsd.org/changeset/base/359402 Log: MFV r359401: OpenBSM: import ee79d73e8df5: auditreduce: add a zone filter This allows one to select audit records that match a -z zone glob. MFC after:1 wee

svn commit: r359403 - in head/contrib/telnet: libtelnet telnetd

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 17:57:36 2020 New Revision: 359403 URL: https://svnweb.freebsd.org/changeset/base/359403 Log: Revert 359399: telnet -fno-common bits There was a large misfire from my local diff that I need to investigate, and this version committed did not build. Modified

svn commit: r359404 - head/contrib/telnet/telnetd

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 19:43:45 2020 New Revision: 359404 URL: https://svnweb.freebsd.org/changeset/base/359404 Log: Re-apply r359399: telnet -fno-common fix line and auth_level's redefinitions are just extraneous telnetd will #define extern and then include ext.h to allocate

svn commit: r359406 - head/contrib/telnet/telnetd

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sat Mar 28 20:43:15 2020 New Revision: 359406 URL: https://svnweb.freebsd.org/changeset/base/359406 Log: telnet: kill off remaining duplicate definition Modified: head/contrib/telnet/telnetd/state.c Modified: head/contrib/telnet/telnetd/state.c ==

svn commit: r359414 - head/sbin/iscontrol

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 02:28:15 2020 New Revision: 359414 URL: https://svnweb.freebsd.org/changeset/base/359414 Log: iscontrol: move definition of vflag/iscsidev to iscontrol.c Mark the declaration extern as these are used elsewhere; this fixes the build with -fno-common. MF

svn commit: r359416 - head/usr.bin/systat

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 02:30:23 2020 New Revision: 359416 URL: https://svnweb.freebsd.org/changeset/base/359416 Log: systat: remove redundant definition of kd kd is already properly declared in extern.h and defined in main.c, rendering this definition useless. This fixes the -fno

svn commit: r359413 - in head/contrib/ipfilter: . tools

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 02:26:58 2020 New Revision: 359413 URL: https://svnweb.freebsd.org/changeset/base/359413 Log: ipfilter: remove duplicate definition of 'thishost' thishost is already defined in lib/initparse.c; no need for this one. This fixes the ipfilter build with -fno-c

svn commit: r359415 - head/stand/userboot/userboot

2020-03-28 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 02:29:06 2020 New Revision: 359415 URL: https://svnweb.freebsd.org/changeset/base/359415 Log: userboot: mark host_fsops as extern This is already defined elsewhere; mark this declaration extern to the fix the -fno-common build. MFC after:3 days Mo

svn commit: r359424 - head/crypto/openssh

2020-03-29 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 19:14:27 2020 New Revision: 359424 URL: https://svnweb.freebsd.org/changeset/base/359424 Log: openssh: -fno-common fix from upstream f47d72ddad This is currently staged in vendor/ as part of the 8.0p1 import, which isn't quite ready to land. Given that this

svn commit: r359425 - head/usr.bin/locate/locate

2020-03-29 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 19:16:14 2020 New Revision: 359425 URL: https://svnweb.freebsd.org/changeset/base/359425 Log: locate: fix -fno-common build Just a single variable declaration to extern and define elsewhere here, myctype. -fno-common will become a default in GCC10/LLVM

svn commit: r359427 - in head/sbin: fsck_ffs fsdb

2020-03-29 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 20:03:46 2020 New Revision: 359427 URL: https://svnweb.freebsd.org/changeset/base/359427 Log: fsck_ffs/fsdb: fix -fno-common build This one is also a small list: - 3x duplicate definition (ufs2_zino, returntosingle, nflag) - 5x 'needs extern', 3/5 of w

svn commit: r359432 - head/gnu/usr.bin/gdb

2020-03-29 Thread Kyle Evans
Author: kevans Date: Sun Mar 29 23:59:14 2020 New Revision: 359432 URL: https://svnweb.freebsd.org/changeset/base/359432 Log: gdb: compile with -fcommon explicitly As described in the comment, gdb relies on some of the linker magic that happens with -fcommon. I suspect the life expectancy

svn commit: r359433 - head/contrib/bmake

2020-03-29 Thread Kyle Evans
Author: kevans Date: Mon Mar 30 00:06:56 2020 New Revision: 359433 URL: https://svnweb.freebsd.org/changeset/base/359433 Log: bmake: fix -fno-common build debug was declared extern, but debug_file was not; correct this and define debug_file in main.c (as debug is) to fix the -fno-common b

svn commit: r359434 - in head/usr.sbin/cron: cron crontab lib

2020-03-29 Thread Kyle Evans
Author: kevans Date: Mon Mar 30 03:26:52 2020 New Revision: 359434 URL: https://svnweb.freebsd.org/changeset/base/359434 Log: cron: respect PATH from login.conf As a followup to the use of login.conf environment vars (other than PATH) in cron, this patch adds PATH (and HOME) to the list o

svn commit: r359443 - head/contrib/bmake

2020-03-30 Thread Kyle Evans
Author: kevans Date: Mon Mar 30 16:22:16 2020 New Revision: 359443 URL: https://svnweb.freebsd.org/changeset/base/359443 Log: MFV r359442: bmake: import -fno-common fix build back from upstream sjg@ committed the local patch previously committed upstream; pull it in to vendor/ to ease any

svn commit: r359453 - head/libexec/flua

2020-03-30 Thread Kyle Evans
Author: kevans Date: Mon Mar 30 18:43:05 2020 New Revision: 359453 URL: https://svnweb.freebsd.org/changeset/base/359453 Log: flua: enable readline bits, courtesy of libedit This is a nicer experience when attempting to run ad-hoc lua bits in the flua REPL. PR: 245121 MFC

svn commit: r359455 - head/libexec/flua

2020-03-30 Thread Kyle Evans
Author: kevans Date: Mon Mar 30 20:01:44 2020 New Revision: 359455 URL: https://svnweb.freebsd.org/changeset/base/359455 Log: flua: follow-up to r359453, don't bother with libedit in bootstrap The bootstrap flua should not be used for REPL-like activities; exclude it to save the dependenc

svn commit: r359642 - head/usr.sbin/adduser

2020-04-05 Thread Kyle Evans
Author: kevans Date: Sun Apr 5 19:25:46 2020 New Revision: 359642 URL: https://svnweb.freebsd.org/changeset/base/359642 Log: adduser: allow standard IFS characters in passwords Notably, the default IFS contains space/tab, thus any leading/trailing whitespace characters tend to be removed

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

2020-04-05 Thread Kyle Evans
Author: kevans Date: Mon Apr 6 01:28:03 2020 New Revision: 359645 URL: https://svnweb.freebsd.org/changeset/base/359645 Log: src.conf(5): re-roll after r359644 (LLVM_ASSERTIONS) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r359644 - in head: lib/clang share/mk tools/build/options

2020-04-05 Thread Kyle Evans
Author: kevans Date: Mon Apr 6 01:27:17 2020 New Revision: 359644 URL: https://svnweb.freebsd.org/changeset/base/359644 Log: llvm: add a build knob for enabling assertions For head/, this will remain eternally default-on to maintain the status quo. For stable/ branches, it should be flip

svn commit: r359675 - head/tests/sys/kqueue/libkqueue

2020-04-06 Thread Kyle Evans
Author: kevans Date: Mon Apr 6 23:08:07 2020 New Revision: 359675 URL: https://svnweb.freebsd.org/changeset/base/359675 Log: kqueue tests: fix -fno-common build vnode_fd and kqfd are both shared among multiple CU; define them exactly once. In the case of vnode_fd, it was simply the

svn commit: r359676 - in head/contrib/ntp: include ntpd

2020-04-06 Thread Kyle Evans
Author: kevans Date: Mon Apr 6 23:11:43 2020 New Revision: 359676 URL: https://svnweb.freebsd.org/changeset/base/359676 Log: ntpd: fix build with -fno-common Only a small nit here: psl should be declared extern and defined exactly once. -fno-common will become the default in GCC10/L

svn commit: r359677 - in head: libexec/ypxfr usr.sbin/rpc.yppasswdd usr.sbin/rpc.ypupdated usr.sbin/rpc.ypxfrd usr.sbin/ypldap usr.sbin/ypserv

2020-04-06 Thread Kyle Evans
Author: kevans Date: Mon Apr 6 23:16:05 2020 New Revision: 359677 URL: https://svnweb.freebsd.org/changeset/base/359677 Log: yp*: fix -fno-common build This is mostly two problems spread out far and wide: - ypldap_process should be declared properly - debug is defined differently in ma

svn commit: r359678 - head/usr.bin/indent

2020-04-06 Thread Kyle Evans
Author: kevans Date: Mon Apr 6 23:20:20 2020 New Revision: 359678 URL: https://svnweb.freebsd.org/changeset/base/359678 Log: indent: fix the -fno-common build Spread the globals far and wide, hopefully to the files that make the most sense. -fno-common will become the default in GCC

svn commit: r359680 - in head/usr.bin: gprof mail tip/tip

2020-04-06 Thread Kyle Evans
Author: kevans Date: Mon Apr 6 23:28:24 2020 New Revision: 359680 URL: https://svnweb.freebsd.org/changeset/base/359680 Log: mail/gprof/tip: tap with the ugly stick The ugly stick here is this bit in the respective headers: #ifndef EXTERN #define EXTERN extern #endif with a f

svn commit: r359688 - in head/stand: mips/beri/loader powerpc/ofw uboot/lib

2020-04-07 Thread Kyle Evans
Author: kevans Date: Tue Apr 7 12:57:50 2020 New Revision: 359688 URL: https://svnweb.freebsd.org/changeset/base/359688 Log: stand: -fno-common fixes for !x86 loaders - beriloader: archsw is declared extern and defined elsewhere - ofwloader: ofw_elf{,64} are defined in elf_freebsd.c and

svn commit: r359689 - head/usr.sbin/config

2020-04-07 Thread Kyle Evans
Author: kevans Date: Tue Apr 7 14:14:59 2020 New Revision: 359689 URL: https://svnweb.freebsd.org/changeset/base/359689 Log: config(8): "fix" a couple of buffer overflows Recently added/changed lines in various kernel configs have caused some buffer overflows that went undetected. These

svn commit: r359690 - head/share/mk

2020-04-07 Thread Kyle Evans
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: bdrewery, sobomax, antoine Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk

svn commit: r359702 - in head: share/mk sys/conf

2020-04-07 Thread Kyle Evans
Author: kevans Date: Tue Apr 7 17:04:24 2020 New Revision: 359702 URL: https://svnweb.freebsd.org/changeset/base/359702 Log: Add -fno-common to all userland/kernel src builds -fno-common will become the default in GCC10/LLVM11. Plenty of work has been put in to make sure our world builds

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

2020-04-07 Thread Kyle Evans
_SHELL="make -C stand -V .OBDJIR" *doesn't* reproduce it (objdir has arm.armv7 in it again). I tried with both zsh (and export CPUTYPE=) and /bin/sh, but it seems to reproduce both ways. Thanks, Kyle Evans ___ svn-src-head@freebsd.org mai

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

2020-04-07 Thread Kyle Evans
On Tue, Apr 7, 2020 at 4:49 PM Simon J. Gerraty wrote: > > Kyle Evans wrote: > > universe13a% make -C stand -V .OBJDIR > > /scratch/tmp/kevans/obj/home/kevans/head/amd64.amd64/stand > > > > But in a buildenv: > > universe13a% make TARGET_ARCH=armv7 build

Re: svn commit: r359689 - head/usr.sbin/config

2020-04-09 Thread Kyle Evans
On Wed, Apr 8, 2020 at 1:28 PM Enji Cooper wrote: > > > > On Apr 7, 2020, at 7:14 AM, Kyle Evans wrote: > > > > Author: kevans > > Date: Tue Apr 7 14:14:59 2020 > > New Revision: 359689 > > URL: https://svnweb.freebsd.org/changeset/base/359689 >

Re: svn commit: r359346 - in head/sys: amd64/vmm/amd contrib/dev/acpica contrib/dev/acpica/common contrib/dev/acpica/compiler contrib/dev/acpica/components/debugger contrib/dev/acpica/components/dispa

2020-04-09 Thread Kyle Evans
rged back to stable/12 (and 11, but it looks like it's not getting ACPICA updates anymore)? Below is, in particular, the subset of the diff I care about as it resolves -fno-common issues. Thanks, Kyle Evans universe12a% svn diff sys/contrib Index: sys/contrib/d

svn commit: r359774 - in head: gnu/usr.bin/gdb share/mk

2020-04-10 Thread Kyle Evans
Author: kevans Date: Fri Apr 10 14:01:07 2020 New Revision: 359774 URL: https://svnweb.freebsd.org/changeset/base/359774 Log: userland build: replace -fno-common with ${CFCOMMONFLAG} This change allows any downstream or otherwise consumer to easily override the new -fno-common default on

svn commit: r359836 - in head: include lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys tests/sys/file

2020-04-12 Thread Kyle Evans
Author: kevans Date: Sun Apr 12 21:23:19 2020 New Revision: 359836 URL: https://svnweb.freebsd.org/changeset/base/359836 Log: Implement a close_range(2) syscall close_range(min, max, flags) allows for a range of descriptors to be closed. The Python folk have indicated that they would much

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

2020-04-12 Thread Kyle Evans
Author: kevans Date: Sun Apr 12 21:23:51 2020 New Revision: 359837 URL: https://svnweb.freebsd.org/changeset/base/359837 Log: sysent: re-roll after introduction of close_range in r359836 Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c

svn commit: r359839 - head/sys/sys

2020-04-12 Thread Kyle Evans
Author: kevans Date: Sun Apr 12 22:22:53 2020 New Revision: 359839 URL: https://svnweb.freebsd.org/changeset/base/359839 Log: Bump __FreeBSD_version after r359836, close_range(2) Reported by: cy Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h =

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

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 15:59:15 2020 New Revision: 359865 URL: https://svnweb.freebsd.org/changeset/base/359865 Log: libc: remove shm_open(2)'s compat fallback This had been introduced to ease any pain for using slightly older kernels with a newer libc, e.g., for bisecting a kern

svn commit: r359891 - in head: sys/kern tests/sys/file

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 17:55:31 2020 New Revision: 359891 URL: https://svnweb.freebsd.org/changeset/base/359891 Log: close_range/closefrom: fix regression from close_range introduction close_range will clamp the range between [0, fdp->fd_lastfile], but failed to take into account

svn commit: r359895 - in head: . tools/build

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 19:50:47 2020 New Revision: 359895 URL: https://svnweb.freebsd.org/changeset/base/359895 Log: Move shm_open dependency cleanup into a new home r359461 introduced this nifty script to centralize these things, so add shm_open.c there to remove a total of one

svn commit: r359896 - head/tools/build

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 20:00:44 2020 New Revision: 359896 URL: https://svnweb.freebsd.org/changeset/base/359896 Log: depend-cleanup: fix typo, ^/lib/libc/sys/Makefile.inc generates .S stubs Pointy hat: kevans Modified: head/tools/build/depend-cleanup.sh Modified: head/tools/b

svn commit: r359918 - in head: sys/kern tests/sys/kern

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 13:32:03 2020 New Revision: 359918 URL: https://svnweb.freebsd.org/changeset/base/359918 Log: posixshm: fix counting of writable mappings Similar to mmap'ing vnodes, posixshm should count any mapping where maxprot contains VM_PROT_WRITE (i.e. fd opened r/w

svn commit: r359930 - in head: lib/libc/include lib/libc/sys sys/compat/freebsd32 sys/kern tools/build

2020-04-14 Thread Kyle Evans
Tue Apr 14 18:07:42 2020 (r359930) @@ -0,0 +1,47 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2020 Kyle Evans + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

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

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 18:11:26 2020 New Revision: 359931 URL: https://svnweb.freebsd.org/changeset/base/359931 Log: sysent: re-roll after r359930 Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compat/freebsd32/free

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

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 23:24:24 2020 New Revision: 359943 URL: https://svnweb.freebsd.org/changeset/base/359943 Log: closefrom: clamp lowfd to >= 0; close_range's parameters are unsigned. Pointy hat: kevans Reported by: CI (lwhsu) Modified: head/lib/libc/sys/closefrom.c Mo

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

2020-04-14 Thread Kyle Evans
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 close_range internally; remediation is underway for this, marking it as

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

2020-04-14 Thread Kyle Evans
On Tue, Apr 14, 2020 at 7:21 PM Alan Somers wrote: > > 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 >> >>

svn commit: r359953 - in head/sys: kern sys

2020-04-14 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 03:59:26 2020 New Revision: 359953 URL: https://svnweb.freebsd.org/changeset/base/359953 Log: kern uuid: break format validation out into a separate KPI This new KPI, validate_uuid, strictly validates the formatting of the input UUID and, optionally, popula

svn commit: r359954 - head/sys/sys

2020-04-14 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 04:03:46 2020 New Revision: 359954 URL: https://svnweb.freebsd.org/changeset/base/359954 Log: sys/types.h: adjust #endif comment to match reality Submitted by: sigsys gmail com Modified: head/sys/sys/types.h Modified: head/sys/sys/types.h

svn commit: r335642 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Mon Jun 25 17:17:47 2018 New Revision: 335642 URL: https://svnweb.freebsd.org/changeset/base/335642 Log: config(8): Add `envvar` support envvar allows adding individual environment variables to the kernel's static environment without the overhead of pulling in a full

svn commit: r335651 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 02:05:45 2018 New Revision: 335651 URL: https://svnweb.freebsd.org/changeset/base/335651 Log: config(8): Set envmode if we accept an envvar X-MFC-With: r335642 Modified: head/usr.sbin/config/config.y Modified: head/usr.sbin/config/config.y =

svn commit: r335652 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 03:56:10 2018 New Revision: 335652 URL: https://svnweb.freebsd.org/changeset/base/335652 Log: config(8): Make 'env' files consistent with other file-accepting options Previously, only one 'env' file could be specified. Later 'env' directives would overwrite

svn commit: r335653 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 04:02:25 2018 New Revision: 335653 URL: https://svnweb.freebsd.org/changeset/base/335653 Log: config(8): Flip the order of concatenation for `hints` and `env` As previously noted, kernel's processing of these means that the first appearance of a hint/variab

svn commit: r335654 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 04:06:49 2018 New Revision: 335654 URL: https://svnweb.freebsd.org/changeset/base/335654 Log: config(8): part of patch disappeared, don't close ifp at the end Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c =

svn commit: r335757 - head/sbin/ifconfig

2018-06-27 Thread Kyle Evans
Author: kevans Date: Thu Jun 28 03:37:15 2018 New Revision: 335757 URL: https://svnweb.freebsd.org/changeset/base/335757 Log: ifconfig(8): Attempt to render non-printable sequences w/ UTF-8 Environment Currently ifconfig(8) only prints the hex representation of ssid names with non-ASCII c

svn commit: r335995 - in head: sys/kern sys/sys usr.sbin/config

2018-07-05 Thread Kyle Evans
Author: kevans Date: Thu Jul 5 16:25:48 2018 New Revision: 335995 URL: https://svnweb.freebsd.org/changeset/base/335995 Log: kern_environment: use any provided environments, evict hintmode/envmode At the moment, hintmode and envmode are used to indicate whether static hints or static env

svn commit: r335997 - in head: sys/kern sys/sys usr.sbin/config

2018-07-05 Thread Kyle Evans
Author: kevans Date: Thu Jul 5 16:28:43 2018 New Revision: 335997 URL: https://svnweb.freebsd.org/changeset/base/335997 Log: Revert r335995 due to accidental changes snuck in Modified: head/sys/kern/kern_environment.c head/sys/kern/subr_hints.c head/sys/kern/tty.c head/sys/sys/systm.h

svn commit: r335998 - in head: sys/kern sys/sys usr.sbin/config

2018-07-05 Thread Kyle Evans
Author: kevans Date: Thu Jul 5 16:30:32 2018 New Revision: 335998 URL: https://svnweb.freebsd.org/changeset/base/335998 Log: kern_environment: use any provided environments, evict hintmode/envmode At the moment, hintmode and envmode are used to indicate whether static hints or static env

svn commit: r336011 - head/usr.sbin/config

2018-07-05 Thread Kyle Evans
Author: kevans Date: Thu Jul 5 17:53:51 2018 New Revision: 336011 URL: https://svnweb.freebsd.org/changeset/base/336011 Log: config(8): De-dupe hint/env vars within a single file r335653 flipped the order in which hints/env files are concatenated to match the order in which vars are proc

Re: svn commit: r336011 - head/usr.sbin/config

2018-07-05 Thread Kyle Evans
On Thu, Jul 5, 2018 at 12:57 PM, O. Hartmann wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Am Thu, 5 Jul 2018 17:53:51 +0000 (UTC) > Kyle Evans schrieb: > >> Author: kevans >> Date: Thu Jul 5 17:53:51 2018 >> New Revision: 336011 >>

svn commit: r336012 - in head: . usr.sbin/config

2018-07-05 Thread Kyle Evans
Author: kevans Date: Thu Jul 5 18:39:02 2018 New Revision: 336012 URL: https://svnweb.freebsd.org/changeset/base/336012 Log: Fix build after r336011 Add libnv to bootstrap-tools, use ${SRCTOP}/sys headers. Modified: head/Makefile.inc1 head/usr.sbin/config/Makefile head/usr.sbin/conf

svn commit: r336013 - in head: . usr.sbin/config

2018-07-05 Thread Kyle Evans
Author: kevans Date: Thu Jul 5 18:55:42 2018 New Revision: 336013 URL: https://svnweb.freebsd.org/changeset/base/336013 Log: Revert r336011,r336012 until I can competently test Modified: head/Makefile.inc1 head/usr.sbin/config/Makefile head/usr.sbin/config/mkmakefile.c Modified: head/Ma

svn commit: r336019 - in head: . usr.sbin/config

2018-07-05 Thread Kyle Evans
Author: kevans Date: Fri Jul 6 01:11:06 2018 New Revision: 336019 URL: https://svnweb.freebsd.org/changeset/base/336019 Log: config(8): De-dupe hint/env vars within a single file r335653 flipped the order in which hints/env files are concatenated to match the order in which vars are proc

Re: svn commit: r336019 - in head: . usr.sbin/config

2018-07-05 Thread Kyle Evans
On Thu, Jul 5, 2018 at 8:11 PM, Kyle Evans wrote: > Author: kevans > Date: Fri Jul 6 01:11:06 2018 > New Revision: 336019 > URL: https://svnweb.freebsd.org/changeset/base/336019 > > Log: > config(8): De-dupe hint/env vars within a single file > > r335653 flipped t

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