svn commit: r352697 - in head/sys: compat/cloudabi kern sys

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 17:35:03 2019 New Revision: 352697 URL: https://svnweb.freebsd.org/changeset/base/352697 Log: [2/3] Add an initial seal argument to kern_shm_open() Now that flags may be set on posixshm, add an argument to kern_shm_open() for the initial seals. To maintain

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

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 17:59:15 2019 New Revision: 352700 URL: https://svnweb.freebsd.org/changeset/base/352700 Log: Add a shm_open2 syscall to support upcoming memfd_create shm_open2 allows a little more flexibility than the original shm_open. shm_open2 doesn't enforce CLOEXEC o

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

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 17:59:58 2019 New Revision: 352701 URL: https://svnweb.freebsd.org/changeset/base/352701 Log: sysent: regenerate after r352700 Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compat/freebsd32/f

svn commit: r352704 - head

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 18:04:09 2019 New Revision: 352704 URL: https://svnweb.freebsd.org/changeset/base/352704 Log: Adjust Makefile.inc1 syscall sub commit Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r352703 - in head: . lib/libc/include lib/libc/sys sys/sys tests/sys/kern

2019-09-25 Thread Kyle Evans
Sh HISTORY +The +.Fn memfd_create +function appeared in +.Fx 13.0 . +.Pp The .Fn shm_open and Added: head/lib/libc/sys/shm_open.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/sys/shm_open

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

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 18:06:48 2019 New Revision: 352705 URL: https://svnweb.freebsd.org/changeset/base/352705 Log: Mark shm_open(2) as COMPAT12, succeeded by shm_open2 Implementation and regenerated files will follow. Modified: head/sys/compat/freebsd32/syscalls.master head/

svn commit: r352706 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys usr.bin/kdump

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 18:09:19 2019 New Revision: 352706 URL: https://svnweb.freebsd.org/changeset/base/352706 Log: sysent: regenerate after r352705 This also implements it, fixes kdump, and removes no longer needed bits from lib/libc/sys/shm_open.c for the interim. Modified:

svn commit: r352709 - head/sys/compat/freebsd32

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 18:48:05 2019 New Revision: 352709 URL: https://svnweb.freebsd.org/changeset/base/352709 Log: compat/freebsd32: restore style after r352705 (no functional change) The escaped newlines haven't been necessary since r339624, but this file has not been reformat

svn commit: r352711 - in head: lib/libc/sys sys/kern sys/sys

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 19:20:41 2019 New Revision: 352711 URL: https://svnweb.freebsd.org/changeset/base/352711 Log: rfork(2): add RFSPAWN flag When RFSPAWN is passed, rfork exhibits vfork(2) semantics but also resets signal handlers in the child during creation to avoid a point

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

2019-09-25 Thread Kyle Evans
Author: kevans Date: Wed Sep 25 19:22:03 2019 New Revision: 352712 URL: https://svnweb.freebsd.org/changeset/base/352712 Log: posix_spawn(3): handle potential signal issues with vfork Described in [1], signal handlers running in a vfork child have opportunities to corrupt the parent's sta

svn commit: r352727 - in head: lib/libc/sys tests/sys/kern

2019-09-25 Thread Kyle Evans
-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2019 Kyle Evans * All rights reserved. * Modified: head/tests/sys/kern/memfd_test.c == --- head/tests/sys/kern/memfd_test.cWed Sep 25 21:23:30 2019

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

2019-09-26 Thread Kyle Evans
On Wed, Sep 25, 2019 at 12:32 PM Kyle Evans wrote: > > Author: kevans > Date: Wed Sep 25 17:32:43 2019 > New Revision: 352695 > URL: https://svnweb.freebsd.org/changeset/base/352695 > > Log: > [1/3] Add mostly Linux-compatible file sealing support > > File seali

Re: svn commit: r352707 - in head/sys: conf kern net sys

2019-09-26 Thread Kyle Evans
On Thu, Sep 26, 2019 at 9:49 AM Charlie Li wrote: > > Gleb Smirnoff wrote: > > Modified: head/sys/conf/options > > == > > --- head/sys/conf/options Wed Sep 25 18:09:19 2019(r352706) > > +++ head/sys/conf/option

Re: svn commit: r352747 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys tests/sys/posixshm usr.bin/truss

2019-09-26 Thread Kyle Evans
On Thu, Sep 26, 2019 at 10:32 AM David Bright wrote: > > Author: dab > Date: Thu Sep 26 15:32:28 2019 > New Revision: 352747 > URL: https://svnweb.freebsd.org/changeset/base/352747 > > Log: > Add an shm_rename syscall > > Add an atomic shm rename operation, similar in spirit to a file > rena

svn commit: r352757 - in head: lib/libc/sys lib/libregex/tests stand/lua tests/sys/kern

2019-09-26 Thread Kyle Evans
-Clause-FreeBSD * * Copyright (c) 2019 Kyle Evans - * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions Modified: head/lib/libregex/tests/l

svn commit: r352863 - head/sys/dev/fdt

2019-09-28 Thread Kyle Evans
Author: kevans Date: Sun Sep 29 03:12:35 2019 New Revision: 352863 URL: https://svnweb.freebsd.org/changeset/base/352863 Log: fdt_slicer: bump to SI_ORDER_THIRD following r347183 r347183 bumped GEOM classes to SI_ORDER_SECOND to resolve a race between them and the initialization of devsof

svn commit: r352864 - head/sys/sys

2019-09-28 Thread Kyle Evans
Author: kevans Date: Sun Sep 29 03:26:29 2019 New Revision: 352864 URL: https://svnweb.freebsd.org/changeset/base/352864 Log: MFD_*: swap ordering This API is still young enough that I would expect no one to be dependant on this yet... Swap the ordering while it's young to match Linux val

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

2019-09-29 Thread Kyle Evans
Author: kevans Date: Sun Sep 29 17:30:10 2019 New Revision: 352870 URL: https://svnweb.freebsd.org/changeset/base/352870 Log: memfd_create(3): Don't actually force hugetlb size with MFD_HUGETLB The size flags are only required to select a size on systems that support multiple sizes. MFD_H

svn commit: r352895 - head/sys/kern

2019-09-30 Thread Kyle Evans
Author: kevans Date: Mon Sep 30 13:26:16 2019 New Revision: 352895 URL: https://svnweb.freebsd.org/changeset/base/352895 Log: syscalls.master: consistency, move ); to newline (no functional change) Modified: head/sys/kern/syscalls.master Modified: head/sys/kern/syscalls.master ==

svn commit: r352927 - in head: release/picobsd/tinyware/simple_httpd share/mk tools/build/options usr.sbin usr.sbin/httpd

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 14:55:16 2019 New Revision: 352927 URL: https://svnweb.freebsd.org/changeset/base/352927 Log: Move simple_httpd out of picobsd, add HTTPD option (default OFF) picobsd/tinyware has had this compact HTTPD server for a long time, and some people do use it. Mov

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

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 14:56:31 2019 New Revision: 352928 URL: https://svnweb.freebsd.org/changeset/base/352928 Log: Regen src.conf(5) after r352927 (HTTPD option added) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r352929 - head

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 15:10:35 2019 New Revision: 352929 URL: https://svnweb.freebsd.org/changeset/base/352929 Log: Add a top-level makeman target Abstracting away the details of how src.conf(5) is generated is arguably a good thing; do so with a top-level makeman target. Modif

svn commit: r352935 - in head/usr.sbin: . httpd simple_httpd

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 18:14:37 2019 New Revision: 352935 URL: https://svnweb.freebsd.org/changeset/base/352935 Log: Move httpd to simple_httpd... This avoids PATH conflicts with a real httpd, as a user will likely almost always prefer the more fully-featured httpd. This also lin

svn commit: r352948 - in head: etc/mtree secure secure/caroot secure/caroot/blacklisted secure/caroot/trusted share/mk

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:05:29 2019 New Revision: 352948 URL: https://svnweb.freebsd.org/changeset/base/352948 Log: [1/3] Initial infrastructure for SSL root bundle in base This setup will add the trusted certificates from the Mozilla NSS bundle to base. This commit include

svn commit: r352949 - in head/usr.sbin: . certctl

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:05:53 2019 New Revision: 352949 URL: https://svnweb.freebsd.org/changeset/base/352949 Log: [2/3] Add certctl(8) This is a simple utility to hash all trusted on the system into /etc/ssl/certs. It also allows the user to blacklist certificates they do no

svn commit: r352950 - in head/usr.sbin: etcupdate mergemaster

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:06:37 2019 New Revision: 352950 URL: https://svnweb.freebsd.org/changeset/base/352950 Log: [3/3] etcupdate and mergemaster support for certctl This commit add support for certctl in mergemaster and etcupdate. Both will either rehash or prompt for rehash

svn commit: r352951 - head/secure/caroot

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:27:50 2019 New Revision: 352951 URL: https://svnweb.freebsd.org/changeset/base/352951 Log: caroot: add @generated tags to extracted .pem As is the current trend; while these files are manually curated, they are still generated. If they end up in a revie

svn commit: r352952 - in head: sys/kern tests/sys/posixshm

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 02:37:34 2019 New Revision: 352952 URL: https://svnweb.freebsd.org/changeset/base/352952 Log: shm_open2(2): completely unbreak kern_shm_open2(), since conception, completely fails to pass the mode along to kern_shm_open(). This breaks most uses of it.

Re: svn commit: r352953 - in head/usr.bin: killall split

2019-10-02 Thread Kyle Evans
Sorry for the crap formatting, mobile. We can perhaps also fix this class with a proper modelling file. koobs was going to send out an email about it, but I haven't seen anything. On Wed, Oct 2, 2019, 02:03 Conrad Meyer wrote: > Hi Alexander, > > Coverity has millions of spurious warnings of th

svn commit: r353002 - in head/usr.sbin: etcupdate mergemaster

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 12:46:28 2019 New Revision: 353002 URL: https://svnweb.freebsd.org/changeset/base/353002 Log: Unbreak etcupdate(8) and mergemaster(8) after r352950 r352950 introduced improper case fall-through for shell scripts. Fix it with a pipe. Reported by: lwhsu

Re: svn commit: r338679 - head/lib/libusb

2019-10-02 Thread Kyle Evans
+ } \ > +} while (0) > > /* internal structures */ > Hi, How are people/users of libusb supposed to disable these messages after this? The only thing stopping them was the debug level in the context, I guess, because DPRINTF

Re: svn commit: r338679 - head/lib/libusb

2019-10-02 Thread Kyle Evans
On Wed, Oct 2, 2019 at 7:55 AM Kyle Evans wrote: > > On Fri, Sep 14, 2018 at 8:41 AM Hans Petter Selasky > wrote: > > > > Author: hselasky > > Date: Fri Sep 14 13:41:37 2018 > > New Revision: 338679 > > URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r353008 - head/sys/mips/include

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 15:13:40 2019 New Revision: 353008 URL: https://svnweb.freebsd.org/changeset/base/353008 Log: mips: fcmpset: do not spin on sc failure For ll/sc architectures, atomic(9) allows failure modes where *old == val due to write failure and callers should compensa

svn commit: r353009 - head/lib/libusb

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 15:19:39 2019 New Revision: 353009 URL: https://svnweb.freebsd.org/changeset/base/353009 Log: libusb: LIBUSB_DEBUG environment variable override of libusb_set_debug The debug level generally just controls verbosity of libusb for debugging libusb devices/usa

svn commit: r348328 - head/sbin/bectl

2019-05-28 Thread Kyle Evans
Author: kevans Date: Tue May 28 16:12:16 2019 New Revision: 348328 URL: https://svnweb.freebsd.org/changeset/base/348328 Log: bectl(8): Address Coverity complaints CID 1400451: case 0 is missing a break/return and falling through to the default case. waitpid(0, ...) makes little sense in

svn commit: r348346 - head/sys/net

2019-05-28 Thread Kyle Evans
Author: kevans Date: Wed May 29 01:08:30 2019 New Revision: 348346 URL: https://svnweb.freebsd.org/changeset/base/348346 Log: if_bridge(4): Complete bpf auditing of local traffic over the bridge There were two remaining "gaps" in auditing local bridge traffic with bpf(4): Locally ori

svn commit: r348471 - head/stand/libsa/zfs

2019-05-31 Thread Kyle Evans
Author: kevans Date: Fri May 31 17:44:22 2019 New Revision: 348471 URL: https://svnweb.freebsd.org/changeset/base/348471 Log: stand: zfs: Free bouncebuf on error path in vdev_read r344226 inadvertently added this path in which we return from failure on an lseek and do not free bouncebuf o

svn commit: r348503 - head/usr.bin/grep

2019-06-01 Thread Kyle Evans
Author: kevans Date: Sun Jun 2 02:38:44 2019 New Revision: 348503 URL: https://svnweb.freebsd.org/changeset/base/348503 Log: grep: Move lone 'r'grep case into the adjacent switch This 'r' case should have belonged to the switch in the first place, but I had somehow missed the switch when

svn commit: r348504 - in head: lib/clang/libllvm tools/build/mk usr.bin/clang

2019-06-01 Thread Kyle Evans
Author: kevans Date: Sun Jun 2 04:04:21 2019 New Revision: 348504 URL: https://svnweb.freebsd.org/changeset/base/348504 Log: llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG ASAN reports become a lot more useful with llvm-symbolizer in $PATH, and the build is not much more time-cons

svn commit: r348509 - head/lib/libjail

2019-06-02 Thread Kyle Evans
Author: kevans Date: Sun Jun 2 14:03:56 2019 New Revision: 348509 URL: https://svnweb.freebsd.org/changeset/base/348509 Log: jail_getid(3): add special-case immediate return for jid 0 As depicted in the comment: jid 0 always exists, but the lookup will fail as it does not appear in the k

svn commit: r348510 - head/sbin/bectl

2019-06-02 Thread Kyle Evans
Author: kevans Date: Sun Jun 2 14:05:51 2019 New Revision: 348510 URL: https://svnweb.freebsd.org/changeset/base/348510 Log: bectl(8): Don't accept jid=0 from jail_getid This will trivially exist, but we don't want it - none of our jailed BEs will have jid=0. MFC after:3 days M

Re: svn commit: r348504 - in head: lib/clang/libllvm tools/build/mk usr.bin/clang

2019-06-02 Thread Kyle Evans
On Sun, Jun 2, 2019 at 6:56 AM Shawn Webb wrote: > > On Sun, Jun 02, 2019 at 04:04:21AM +, Kyle Evans wrote: > > Author: kevans > > Date: Sun Jun 2 04:04:21 2019 > > New Revision: 348504 > > URL: https://svnweb.freebsd.org/changeset/base/348504 > > > &g

Re: svn commit: r348610 - in head: lib/clang/libllvm usr.bin/clang

2019-06-04 Thread Kyle Evans
wants to delete these after they have been > installed. > > Possibly the same for the recently-enabled llvm-symbolizer as well. > Just to confirm... the commit for llvm-symbolizer included the move from MK_CLANG_EXTRAS to MK_CLANG in OptionalObsoleteFiles. Thanks, Kyle Evans _

Re: svn commit: r348610 - in head: lib/clang/libllvm usr.bin/clang

2019-06-05 Thread Kyle Evans
On Wed, Jun 5, 2019 at 9:09 AM Ed Maste wrote: > > On Tue, 4 Jun 2019 at 21:35, Kyle Evans wrote: > > > > Just to confirm... the commit for llvm-symbolizer included the move > > from MK_CLANG_EXTRAS to MK_CLANG in OptionalObsoleteFiles. > > Not the man page though,

svn commit: r349380 - head/lib/libbe

2019-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 25 18:13:39 2019 New Revision: 349380 URL: https://svnweb.freebsd.org/changeset/base/349380 Log: libbe(3): mount: the BE dataset is mounted at / Other parts of libbe(3) were fairly strict on the mountpoint property of the BE dataset, and be_mount was not much

svn commit: r349383 - head/lib/libbe

2019-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 25 18:47:40 2019 New Revision: 349383 URL: https://svnweb.freebsd.org/changeset/base/349383 Log: libbe(3): restructure be_mount, skip canmount check for BE dataset Further cleanup after r349380; loader and kernel will both ignore canmount on the root dataset a

svn commit: r349455 - in head/sbin/bectl: . tests

2019-06-27 Thread Kyle Evans
Author: kevans Date: Thu Jun 27 14:03:32 2019 New Revision: 349455 URL: https://svnweb.freebsd.org/changeset/base/349455 Log: bectl(8): create non-recursive boot environments bectl advertises that it has the ability to create recursive and non-recursive boot environments. This patch imple

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

2019-07-25 Thread Kyle Evans
On Thu, Jul 25, 2019 at 11:46 AM Shawn Webb wrote: > > Hey Rick, > > On Thu, Jul 25, 2019 at 05:46:17AM +, Rick Macklem wrote: > > Author: rmacklem > > Date: Thu Jul 25 05:46:16 2019 > > New Revision: 350315 > > URL: https://svnweb.freebsd.org/changeset/base/350315 > > > > Log: > > Add kerne

svn commit: r350336 - head/sys/net

2019-07-25 Thread Kyle Evans
Author: kevans Date: Thu Jul 25 22:23:34 2019 New Revision: 350336 URL: https://svnweb.freebsd.org/changeset/base/350336 Log: if_tuntap(4): Add TUNGIFNAME This effectively just moves TAPGIFNAME into common ioctl territory. MFC after:3 days Modified: head/sys/net/if_tap.h head/

svn commit: r350464 - in head/sys: compat/cloudabi kern

2019-07-31 Thread Kyle Evans
Author: kevans Date: Wed Jul 31 15:16:51 2019 New Revision: 350464 URL: https://svnweb.freebsd.org/changeset/base/350464 Log: kern_shm_open: push O_CLOEXEC into caller control The motivation for this change is to allow wrappers around shm to be written that don't set CLOEXEC. kern_shm_ope

svn commit: r350576 - head/sbin/ipfw

2019-08-04 Thread Kyle Evans
Author: kevans Date: Mon Aug 5 00:08:25 2019 New Revision: 350576 URL: https://svnweb.freebsd.org/changeset/base/350576 Log: ipfw: fix jail option after r348215 r348215 changed jail_getid(3) to validate passed-in jids as active jails (as the function is documented to return -1 if the jai

svn commit: r350630 - head/sys/dev/oce

2019-08-06 Thread Kyle Evans
Author: kevans Date: Tue Aug 6 13:09:20 2019 New Revision: 350630 URL: https://svnweb.freebsd.org/changeset/base/350630 Log: oce(4): potential out of bounds access before vector validation Submitted by: Augustin Cavalier Obtained from:Haiku (ec2b89264cfc63e05e611cce82cc449197403

svn commit: r350657 - head/sys/dev/ral

2019-08-06 Thread Kyle Evans
Author: kevans Date: Tue Aug 6 20:21:57 2019 New Revision: 350657 URL: https://svnweb.freebsd.org/changeset/base/350657 Log: ral: rt2860: fix wcid2ni access/size issue RT2860_WCID_MAX is supposed to describe the max STA index for wcid2ni, and was instead being used as the size -- off-by-

svn commit: r351078 - in head: lib/libc/quad stand/libsa

2019-08-15 Thread Kyle Evans
Author: kevans Date: Thu Aug 15 15:47:48 2019 New Revision: 351078 URL: https://svnweb.freebsd.org/changeset/base/351078 Log: stand: kick out quad.h Use quad.h from libc instead for the time being. This reduces the number of nearly-identical-quad.h we have in tree to two with only minor c

svn commit: r351085 - head/lib/libc/quad

2019-08-15 Thread Kyle Evans
Author: kevans Date: Thu Aug 15 16:28:05 2019 New Revision: 351085 URL: https://svnweb.freebsd.org/changeset/base/351085 Log: libc quad.h: one last _STANDALONE correction Modified: head/lib/libc/quad/quad.h Modified: head/lib/libc/quad/quad.h =

svn commit: r351088 - in head: lib/libc/quad stand/libsa

2019-08-15 Thread Kyle Evans
Author: kevans Date: Thu Aug 15 17:15:32 2019 New Revision: 351088 URL: https://svnweb.freebsd.org/changeset/base/351088 Log: Revert r351078, r351085: stand/quad.h eviction It did not go well; further examination is required... Added: head/stand/libsa/quad.h - copied unchanged from

svn commit: r351093 - head/libexec/rtld-elf/rtld-libc

2019-08-15 Thread Kyle Evans
Author: kevans Date: Thu Aug 15 17:35:24 2019 New Revision: 351093 URL: https://svnweb.freebsd.org/changeset/base/351093 Log: rtld-elf: fix build with xtoolchain-llvm90 strstr ends up using bcmp when compiled with llvm90; pull it in from libc as well. MFC after:3 days Modified:

Re: svn commit: r351093 - head/libexec/rtld-elf/rtld-libc

2019-08-15 Thread Kyle Evans
On Thu, Aug 15, 2019 at 12:35 PM Kyle Evans wrote: > > Author: kevans > Date: Thu Aug 15 17:35:24 2019 > New Revision: 351093 > URL: https://svnweb.freebsd.org/changeset/base/351093 > > Log: > rtld-elf: fix build with xtoolchain-llvm90 > > strstr ends up using

svn commit: r351119 - in head/stand: . libsa

2019-08-16 Thread Kyle Evans
Author: kevans Date: Fri Aug 16 13:22:57 2019 New Revision: 351119 URL: https://svnweb.freebsd.org/changeset/base/351119 Log: stand: push LIBC_SRC up into defs.mk Other parts of stand/ that don't use libsa will need to grab bits from libc shortly. Push LIBC_SRC up to defs.mk in advance of

svn commit: r351135 - head/stand/i386/boot2

2019-08-16 Thread Kyle Evans
Author: kevans Date: Fri Aug 16 20:07:43 2019 New Revision: 351135 URL: https://svnweb.freebsd.org/changeset/base/351135 Log: stand: boot2: fix build with xtoolchain-llvm90 ufsread.c grows a dependency on __ashldi3 with llvm90. Grab ashldi3.c out of compiler-rt rather than trying to link

svn commit: r351136 - head/stand/libsa

2019-08-16 Thread Kyle Evans
Author: kevans Date: Fri Aug 16 20:09:20 2019 New Revision: 351136 URL: https://svnweb.freebsd.org/changeset/base/351136 Log: stand: gptboot: fix build with xtoolchain-llvm90 ufsread.c grows a dependency on __ashldi3 with llvm90. For gptboot, just start pulling in ashldi3.c ashrdi3.c lshr

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

2020-06-17 Thread Kyle Evans
catch the second one at all, because it's hooked up to a switch that loses its mind once that laptop panicks and it had to be rebooted before I could attend to it to revive network for the other machines on the switch. Thanks, Kyle Evans ___

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

2020-06-17 Thread Kyle Evans
ither revert the assert (or degrade to a warning) or > add some commentary if I don't sort this out this week. > > On 6/17/20, Kyle Evans wrote: > > On Tue, Jun 9, 2020 at 10:17 AM Mateusz Guzik wrote: > >> > >> Author: mjg > >> Date: Tue Jun 9 15

svn commit: r362421 - head/sys/arm/broadcom/bcm2835

2020-06-19 Thread Kyle Evans
Author: kevans Date: Sat Jun 20 04:07:58 2020 New Revision: 362421 URL: https://svnweb.freebsd.org/changeset/base/362421 Log: raspberry pi 4: cpufreq support The submitter notes that the bcm2835_cpufreq driver really just needs the rpi4 compat string added to it; powerd subsequently works

svn commit: r362478 - head

2020-06-21 Thread Kyle Evans
Author: kevans Date: Mon Jun 22 03:44:01 2020 New Revision: 362478 URL: https://svnweb.freebsd.org/changeset/base/362478 Log: Squash liblzma build race As of r362452, liblzma depends on libmd but the buildworld build order hadn't been amended to document the new dependency. Reported

svn commit: r362564 - in head/stand: common efi/include efi/libefi

2020-06-23 Thread Kyle Evans
Author: kevans Date: Tue Jun 23 23:52:43 2020 New Revision: 362564 URL: https://svnweb.freebsd.org/changeset/base/362564 Log: stand: remove redundant declarations These are picked out by the amd64-gcc6 build; time() is declared in and delay() is declared in . These are the correct places

Re: svn commit: r362333 - in head: contrib/flex contrib/flex/src usr.bin/lex usr.bin/lex/lib

2020-06-23 Thread Kyle Evans
On Thu, Jun 18, 2020 at 1:09 PM Jung-uk Kim wrote: > > Author: jkim > Date: Thu Jun 18 18:09:16 2020 > New Revision: 362333 > URL: https://svnweb.freebsd.org/changeset/base/362333 > > Log: > MFV: r362286 > > Merge flex 2.6.4. > Hi, I'm looking at getting amd64 world buildable again by gcc6;

Re: svn commit: r362333 - in head: contrib/flex contrib/flex/src usr.bin/lex usr.bin/lex/lib

2020-06-23 Thread Kyle Evans
On Tue, Jun 23, 2020 at 8:07 PM Jung-uk Kim wrote: > > On 20. 6. 23., Kyle Evans wrote: > > On Thu, Jun 18, 2020 at 1:09 PM Jung-uk Kim wrote: > >> > >> Author: jkim > >> Date: Thu Jun 18 18:09:16 2020 > >> New Revision: 362333 > >&

Re: svn commit: r362333 - in head: contrib/flex contrib/flex/src usr.bin/lex usr.bin/lex/lib

2020-06-24 Thread Kyle Evans
On Wed, Jun 24, 2020 at 5:09 AM Dimitry Andric wrote: > > On 24 Jun 2020, at 02:41, Kyle Evans wrote: > > > > On Thu, Jun 18, 2020 at 1:09 PM Jung-uk Kim wrote: > >> > >> Author: jkim > >> Date: Thu Jun 18 18:09:16 2020 > >> New Revision:

svn commit: r362769 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2020-06-28 Thread Kyle Evans
Author: kevans Date: Mon Jun 29 03:09:14 2020 New Revision: 362769 URL: https://svnweb.freebsd.org/changeset/base/362769 Log: linuxolator: implement memfd_create syscall This effectively mirrors our libc implementation, but with minor fudging -- name needs to be copied in from userspace,

Re: svn commit: r361720 - in head: etc etc/mail usr.sbin/mailwrapper

2020-06-29 Thread Kyle Evans
On Mon, Jun 29, 2020 at 10:46 AM John Baldwin wrote: > > On 6/1/20 7:38 PM, Kyle Evans wrote: > > Author: kevans > > Date: Tue Jun 2 02:38:54 2020 > > New Revision: 361720 > > URL: https://svnweb.freebsd.org/changeset/base/361720 > > > > Log: &

Re: svn commit: r362769 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2020-06-29 Thread Kyle Evans
On Mon, Jun 29, 2020 at 10:27 AM Shawn Webb wrote: > > Hey Kyle, > > On Mon, Jun 29, 2020 at 03:09:14AM +, Kyle Evans wrote: > > Author: kevans > > Date: Mon Jun 29 03:09:14 2020 > > New Revision: 362769 > > URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r362786 - head/sys/compat/linux

2020-06-29 Thread Kyle Evans
Author: kevans Date: Mon Jun 29 17:47:00 2020 New Revision: 362786 URL: https://svnweb.freebsd.org/changeset/base/362786 Log: linux: reposition the comment for bsd_to_linux_bits/linux_to_bsd_bits rpokala notes that splitting the definitions like this is kind of silly, since the comment ap

svn commit: r362787 - head/usr.sbin/mailwrapper

2020-06-29 Thread Kyle Evans
Author: kevans Date: Mon Jun 29 18:06:00 2020 New Revision: 362787 URL: https://svnweb.freebsd.org/changeset/base/362787 Log: mailwrapper: switch mailer.conf to CONFS This matches what was already being done in dma(8), and should again make this merge with etcupdate/mergemaster. Repo

svn commit: r363062 - head/sys/sys

2020-07-09 Thread Kyle Evans
Author: kevans Date: Fri Jul 10 00:03:06 2020 New Revision: 363062 URL: https://svnweb.freebsd.org/changeset/base/363062 Log: shmfd: make shm_size a vm_ooffset_t On 32-bit platforms, this expands the shm_size to a 64-bit quantity and resolves a mismatch between the shmfd size and underlyi

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

2020-07-09 Thread Kyle Evans
Author: kevans Date: Fri Jul 10 00:43:45 2020 New Revision: 363065 URL: https://svnweb.freebsd.org/changeset/base/363065 Log: shm_open2: Implement SHM_GROW_ON_WRITE Lack of SHM_GROW_ON_WRITE is actively breaking Python's memfd_create tests, so go ahead and implement it. A future change wi

svn commit: r363066 - in head: lib/libc/sys sys/compat/linux tests/sys/kern

2020-07-09 Thread Kyle Evans
Author: kevans Date: Fri Jul 10 00:45:16 2020 New Revision: 363066 URL: https://svnweb.freebsd.org/changeset/base/363066 Log: memfd_create: turn on SHM_GROW_ON_WRITE memfd_create fds will no longer require an ftruncate(2) to set the size; they'll grow (to the extent that it's possible) up

Re: svn commit: r353283 - in head: lib lib/libstats share/man/man3 share/mk sys/amd64/conf sys/conf sys/kern sys/sys tools/build/options

2020-07-14 Thread Kyle Evans
On Mon, Oct 7, 2019 at 2:05 PM Edward Tomasz Napierala wrote: > > Author: trasz > Date: Mon Oct 7 19:05:05 2019 > New Revision: 353283 > URL: https://svnweb.freebsd.org/changeset/base/353283 > > Log: > Introduce stats(3), a flexible statistics gathering API. > > This provides a framework to d

svn commit: r363244 - head/sys/net

2020-07-16 Thread Kyle Evans
Author: kevans Date: Thu Jul 16 13:37:32 2020 New Revision: 363244 URL: https://svnweb.freebsd.org/changeset/base/363244 Log: ether_ifattach: set mtu before calling if_attach() if_attach() -> if_attach_internal() will call if_attachdomain1(ifp) any time an ethernet interface is setup *aft

svn commit: r363252 - head/sys/net

2020-07-16 Thread Kyle Evans
Author: kevans Date: Thu Jul 16 15:02:11 2020 New Revision: 363252 URL: https://svnweb.freebsd.org/changeset/base/363252 Log: tuntap: drop redundant if_mtu assignment in tuncreate ether_ifattach will immediately clobber if_mtu with ETHERMTU anyways, just let it happen. MFC after:

svn commit: r363409 - head/lib/libbe

2020-07-21 Thread Kyle Evans
Author: kevans Date: Wed Jul 22 02:09:10 2020 New Revision: 363409 URL: https://svnweb.freebsd.org/changeset/base/363409 Log: libbe: annotate lbh as __unused in be_is_auto_snapshot_name lbh is included for consistency with other functions and in case future work needs to use it, but it is

svn commit: r363421 - head/usr.sbin/pkg

2020-07-22 Thread Kyle Evans
Author: kevans Date: Wed Jul 22 17:33:35 2020 New Revision: 363421 URL: https://svnweb.freebsd.org/changeset/base/363421 Log: pkg-bootstrap: complain on improper `pkg bootstrap` usage Right now, the bootstrap will gloss over things like pkg bootstrap -x or pkg bootstrap -f pkg. Make it mo

svn commit: r363595 - head/sys/kern

2020-07-26 Thread Kyle Evans
Author: kevans Date: Mon Jul 27 03:13:23 2020 New Revision: 363595 URL: https://svnweb.freebsd.org/changeset/base/363595 Log: makesyscalls.sh: spit out a deprecation notice to stderr This has for a while been replaced by makesyscalls.lua in the stock FreeBSD build. Ensure downstreams get

svn commit: r363628 - head/sys/kern

2020-07-27 Thread Kyle Evans
Author: kevans Date: Tue Jul 28 01:05:40 2020 New Revision: 363628 URL: https://svnweb.freebsd.org/changeset/base/363628 Log: makesyscalls.sh: improve the 'this is going away' message Reported by: Ronald Klop, rgrimes Modified: head/sys/kern/makesyscalls.sh Modified: head/sys/kern/make

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

2020-07-27 Thread Kyle Evans
el free to tweak it however you want and just commit it... consider any adjustment okay by me unless said adjustment is the complete opposite of what we're doing. Thanks, Kyle Evans > > > > > > Van: Kyle Evans > > Datum: maandag, 27 juli 2020 05:13 > > Aan: sr

svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2020-07-29 Thread Kyle Evans
Author: kevans Date: Wed Jul 29 23:21:56 2020 New Revision: 363679 URL: https://svnweb.freebsd.org/changeset/base/363679 Log: regex(3): Interpret many escaped ordinary characters as EESCAPE In IEEE 1003.1-2008 [1] and earlier revisions, BRE/ERE grammar allows for any character to be escap

svn commit: r363681 - head

2020-07-29 Thread Kyle Evans
Author: kevans Date: Wed Jul 29 23:59:35 2020 New Revision: 363681 URL: https://svnweb.freebsd.org/changeset/base/363681 Log: UPDATING / RELNOTES: Document new regcomp(3) behavior This is a breaking change that had a not-insignificant impact in ports, it is worth documenting it well. Mod

Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2020-07-29 Thread Kyle Evans
re. I think the best path forward for that one is to commit my libregex extensions and link that baby up so that \w works. Thanks, Kyle Evans On Wed, Jul 29, 2020, 22:53 Li-Wen Hsu wrote: > On Thu, Jul 30, 2020 at 7:22 AM Kyle Evans wrote: > > > > Author: kevans > > Date

Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2020-07-30 Thread Kyle Evans
On Thu, Jul 30, 2020 at 6:26 AM Stefan Eßer wrote: > > Am 30.07.20 um 01:21 schrieb Kyle Evans: > [...] > > This change bumps the symbol version of regcomp to FBSD_1.6 and provides > > the > > old escape semantics for legacy applications, just in case one has an

Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2020-07-30 Thread Kyle Evans
On Thu, Jul 30, 2020 at 6:48 AM Gordon Bergling wrote: > > On Thu, Jul 30, 2020 at 01:26:46PM +0200, Stefan Eßer wrote: > > Am 30.07.20 um 01:21 schrieb Kyle Evans: > > [...] > > > This change bumps the symbol version of regcomp to FBSD_1.6 and > > > provi

svn commit: r363692 - head/usr.bin/diff/tests

2020-07-30 Thread Kyle Evans
Author: kevans Date: Thu Jul 30 13:33:45 2020 New Revision: 363692 URL: https://svnweb.freebsd.org/changeset/base/363692 Log: diff: fix side_by_side after r363679 It's currently unclear to me how this could have worked previously; \n here is not a literal newline but actual '\' 'n', and w

svn commit: r363693 - head/usr.bin/sed/tests

2020-07-30 Thread Kyle Evans
Author: kevans Date: Thu Jul 30 13:36:24 2020 New Revision: 363693 URL: https://svnweb.freebsd.org/changeset/base/363693 Log: sed: fix hex_subst test after after r363679 r363679 is in-fact the future change referenced by the comment, helpfully left and forgotten by kevans. Instead of just

Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2020-07-30 Thread Kyle Evans
On Wed, Jul 29, 2020 at 10:53 PM Li-Wen Hsu wrote: > > On Thu, Jul 30, 2020 at 7:22 AM Kyle Evans wrote: > > > > Author: kevans > > Date: Wed Jul 29 23:21:56 2020 > > New Revision: 363679 > > URL: https://svnweb.freebsd.org/changeset/base/363679 > &g

Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2020-07-30 Thread Kyle Evans
On Thu, Jul 30, 2020 at 8:47 PM Kyle Evans wrote: > > On Wed, Jul 29, 2020 at 10:53 PM Li-Wen Hsu wrote: > > > > On Thu, Jul 30, 2020 at 7:22 AM Kyle Evans wrote: > > > > > > Author: kevans > > > Date: Wed Jul 29 23:21:56 2020 > > > New

svn commit: r363723 - head

2020-07-30 Thread Kyle Evans
Author: kevans Date: Fri Jul 31 02:21:19 2020 New Revision: 363723 URL: https://svnweb.freebsd.org/changeset/base/363723 Log: UPDATING: Add a note about running installworld twice Some folks seem to be hitting issues with build orchestration; presumably some of our .WAIT-removal optimizat

svn commit: r363734 - head/include

2020-07-31 Thread Kyle Evans
Author: kevans Date: Fri Jul 31 12:40:31 2020 New Revision: 363734 URL: https://svnweb.freebsd.org/changeset/base/363734 Log: : reserve a regcomp field for REG_POSIX For libc regcomp, this will be a nop. libregex will take this to mean that it needs to turn off GNU extensions, effectively

Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2020-07-31 Thread Kyle Evans
On Fri, Jul 31, 2020 at 8:39 AM Li-Wen Hsu wrote: > > On Fri, Jul 31, 2020 at 9:50 AM Kyle Evans wrote: > > > > On Thu, Jul 30, 2020 at 8:47 PM Kyle Evans wrote: > > > > > > On Wed, Jul 29, 2020 at 10:53 PM Li-Wen Hsu wrote: > > > > > >

svn commit: r363817 - head/lib/libc/regex

2020-08-03 Thread Kyle Evans
Author: kevans Date: Tue Aug 4 02:06:49 2020 New Revision: 363817 URL: https://svnweb.freebsd.org/changeset/base/363817 Log: regex(3): belatedly document REG_POSIX from r363734 My original patch included this documented, but it appears that I failed to include the manpage update. Do so n

svn commit: r363818 - head/lib/libc/regex

2020-08-03 Thread Kyle Evans
Author: kevans Date: Tue Aug 4 02:14:51 2020 New Revision: 363818 URL: https://svnweb.freebsd.org/changeset/base/363818 Log: libregex: Implement a subset of the GNU extensions The entire patch-set is not yet mature enough for commit, but this usable subset is generally enough for googlet

svn commit: r363819 - head/lib/libregex/tests

2020-08-03 Thread Kyle Evans
Author: kevans Date: Tue Aug 4 02:16:43 2020 New Revision: 363819 URL: https://svnweb.freebsd.org/changeset/base/363819 Log: libregex: disable some of the unimplemented test cases for now This should allow the tests to actually pass. Future work will uncomment the unimplemented tests as

<    1   2   3   4   5   6   7   8   9   10   >