svn commit: r352791 - head/share/misc

2019-09-27 Thread Pawel Biernacki
ang\nk...@freebsd.org\n2007/09/26"] +kaktus [label="Pawel Biernacki\nkak...@freebsd.org\n2019/09/26"] kan [label="Alexander Kabaev\n...@freebsd.org\n2002/07/21"] karels [label="Mike Karels\nkar...@freebsd.org\n2016/06/09"] ken [label="Ken Merry\n...@fre

svn commit: r352913 - head/lib/libsysdecode

2019-09-30 Thread Pawel Biernacki
Author: kaktus Date: Mon Sep 30 19:03:43 2019 New Revision: 352913 URL: https://svnweb.freebsd.org/changeset/base/352913 Log: libsysdecode: decode PROT_MAX flags Extend libsysdecode to pretty-print PROT_MAX flags and fix decoding of regular protection flags broken since r349240. befor

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

2019-09-30 Thread Pawel Biernacki
Author: kaktus Date: Mon Sep 30 19:05:14 2019 New Revision: 352914 URL: https://svnweb.freebsd.org/changeset/base/352914 Log: linux_renameat2: don't add extra \n on error. linux_msg() already adds \n at the end of all messages. Reported by: emaste, kib (mentor), mjg (mentor) Reviewe

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

2020-06-18 Thread Pawel Biernacki
Author: kaktus Date: Thu Jun 18 21:42:54 2020 New Revision: 362343 URL: https://svnweb.freebsd.org/changeset/base/362343 Log: hw.bus.info: rework handler hw.bus.info was added in r68522 as a node, but there was never anything connected "behind" it. Its only purpose is to return a struct

svn commit: r362468 - head/sys/net

2020-06-21 Thread Pawel Biernacki
Author: kaktus Date: Sun Jun 21 18:40:17 2020 New Revision: 362468 URL: https://svnweb.freebsd.org/changeset/base/362468 Log: net.link.generic.ifdata..linkspecific: rework handler This OID was added in r17352 but the write path of IFDATA_LINKSPECIFIC seems unused as there are no in-base w

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

2020-06-25 Thread Pawel Biernacki
Author: kaktus Date: Thu Jun 25 12:31:05 2020 New Revision: 362611 URL: https://svnweb.freebsd.org/changeset/base/362611 Log: man page of select(2) should mention pselect(2) Reviewed by: bcr (manpages), kib, trasz Approved by: kib (mentor) MFC after:7 days Sponsored by: Mysterio

svn commit: r362612 - head/usr.sbin/bhyve

2020-06-25 Thread Pawel Biernacki
Author: kaktus Date: Thu Jun 25 12:35:20 2020 New Revision: 362612 URL: https://svnweb.freebsd.org/changeset/base/362612 Log: bhyve: allow for automatic destruction on power-off Introduce -D flag that allows for the VM to be destroyed on guest initiated power-off by the bhyve(8) process i

svn commit: r362932 - head/sys/dev/ixl

2020-07-04 Thread Pawel Biernacki
Author: kaktus Date: Sat Jul 4 14:20:03 2020 New Revision: 362932 URL: https://svnweb.freebsd.org/changeset/base/362932 Log: dev.ixl..debug: mark as MPSAFE This node provides no handler, it's implicitly MPSAFE. Reviewed by: erj Sponsored by: Mysterious Code Ltd. Differential Revi

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

2020-07-05 Thread Pawel Biernacki
Author: kaktus Date: Sun Jul 5 19:53:54 2020 New Revision: 362947 URL: https://svnweb.freebsd.org/changeset/base/362947 Log: truss: print more information about traced sysctls MFC after:2 weeks Sponsored by: Mysterious Code Ltd. Modified: head/usr.bin/truss/syscalls.c Modified: h

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

2020-07-06 Thread Pawel Biernacki
Author: kaktus Date: Mon Jul 6 16:33:28 2020 New Revision: 362967 URL: https://svnweb.freebsd.org/changeset/base/362967 Log: kern.tty_info_kstacks: add a compact format Add a more compact display format for kern.tty_info_kstacks inspired by procstat -kk. Set it as a default one. # s

svn commit: r362969 - head/sys/kern

2020-07-06 Thread Pawel Biernacki
Author: kaktus Date: Mon Jul 6 16:34:15 2020 New Revision: 362969 URL: https://svnweb.freebsd.org/changeset/base/362969 Log: kern.tty_info_kstacks: set compact format as default Modified: head/sys/kern/tty_info.c Modified: head/sys/kern/tty_info.c ===

svn commit: r368022 - head/lib/libsysdecode

2020-11-25 Thread Pawel Biernacki
Author: kaktus Date: Wed Nov 25 16:30:57 2020 New Revision: 368022 URL: https://svnweb.freebsd.org/changeset/base/368022 Log: libsysdecode: correctly decode mmap flags r352913 added decoding of mmap PROT_MAX()'d flags but didn’t account for the case where different values were specified f

svn commit: r368053 - head/lib/libsysdecode

2020-11-26 Thread Pawel Biernacki
Author: kaktus Date: Thu Nov 26 09:07:45 2020 New Revision: 368053 URL: https://svnweb.freebsd.org/changeset/base/368053 Log: libsysdecode: account for invalid protection flags Reported by: jhb MFC with: r368022 Modified: head/lib/libsysdecode/flags.c Modified: head/lib/libsysdec

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

2019-12-29 Thread Pawel Biernacki
Author: kaktus Date: Sun Dec 29 17:19:57 2019 New Revision: 356179 URL: https://svnweb.freebsd.org/changeset/base/356179 Log: sysctlbyname(2): Remove temporary compatibility layer Remove temporary compatibility layer introduced in r351729. More that 3 months should be enough for everybody

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

2019-12-30 Thread Pawel Biernacki
Author: kaktus Date: Mon Dec 30 18:11:06 2019 New Revision: 356206 URL: https://svnweb.freebsd.org/changeset/base/356206 Log: linux(4): implement copy_file_range(2) copy_file_range(2) is implemented natively since r350315, make it available for Linux binaries too. Reviewed by: kib (

svn commit: r356262 - head/sys/kern

2020-01-01 Thread Pawel Biernacki
Author: kaktus Date: Thu Jan 2 01:23:43 2020 New Revision: 356262 URL: https://svnweb.freebsd.org/changeset/base/356262 Log: sysctl: hide 2.x era compat node r23081 introduced kern.dummy oid as a semi ABI compat for kern.maxsockbuf that was moved to a new namespace. It never functioned

svn commit: r356413 - in head/sys: amd64/amd64 arm64/arm64

2020-01-06 Thread Pawel Biernacki
Author: kaktus Date: Mon Jan 6 10:52:13 2020 New Revision: 356413 URL: https://svnweb.freebsd.org/changeset/base/356413 Log: sysctl: mark more nodes as MPSAFE vm.kvm_size and vm.kvm_free are read only and marked as MPSAFE on i386 already. Mark them as that on amd64 and arm64 too to avoid

svn commit: r356425 - head/sys/kern

2020-01-06 Thread Pawel Biernacki
Author: kaktus Date: Mon Jan 6 19:47:59 2020 New Revision: 356425 URL: https://svnweb.freebsd.org/changeset/base/356425 Log: kern_sysctl: make sysctl.debug work as intended r136999 introduced SYSTCL_DEBUG but apparently "opt_sysctl.h" was never included making the option ignored. r3

svn commit: r359975 - head/sys/kern

2020-04-15 Thread Pawel Biernacki
Author: kaktus Date: Wed Apr 15 16:33:55 2020 New Revision: 359975 URL: https://svnweb.freebsd.org/changeset/base/359975 Log: sysctl(9): fix handling string tunables. r357614 changed internals of handling string sysctls, and inadvertently broke setting string tunables. Take them into acc

svn commit: r359976 - head/sys/kern

2020-04-15 Thread Pawel Biernacki
Author: kaktus Date: Wed Apr 15 16:55:38 2020 New Revision: 359976 URL: https://svnweb.freebsd.org/changeset/base/359976 Log: sysctl_handle_string: Put logical or in parentheses. Reported by: rdivacky Approved by: kib (mentor) Pointy-hat to:kaktus Modified: head/sys/kern/ke

svn commit: r361113 - head/sys/net

2020-05-16 Thread Pawel Biernacki
Author: kaktus Date: Sat May 16 17:05:44 2020 New Revision: 361113 URL: https://svnweb.freebsd.org/changeset/base/361113 Log: sysctl: fix setting net.isr.dispatch during early boot Fix another collateral damage of r357614: netisr is initialised way before malloc() is available hence it ca

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

2020-02-06 Thread Pawel Biernacki
Author: kaktus Date: Thu Feb 6 12:45:58 2020 New Revision: 357614 URL: https://svnweb.freebsd.org/changeset/base/357614 Log: sysctl(9): add CTLFLAG_NEEDGIANT flag Add CTLFLAG_NEEDGIANT flag (modelled after D_NEEDGIANT) that will be used to mark sysctls that still require locking Giant.

svn commit: r357921 - head/sys/sys

2020-02-14 Thread Pawel Biernacki
Author: kaktus Date: Fri Feb 14 16:56:59 2020 New Revision: 357921 URL: https://svnweb.freebsd.org/changeset/base/357921 Log: sysctl(9): properly use xor in ENFORCE_FLAGS macro Assert on not specifying any of the (soon to be) required flags as well as specifying both of them. Pointe

svn commit: r357971 - in head/sys: dev/iscsi fs/autofs kern

2020-02-15 Thread Pawel Biernacki
Author: kaktus Date: Sat Feb 15 18:48:38 2020 New Revision: 357971 URL: https://svnweb.freebsd.org/changeset/base/357971 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (1 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r357972 - in head/sys/dev: sound/usb usb usb/controller usb/gadget usb/input usb/misc usb/net usb/serial usb/storage usb/template usb/video usb/wlan

2020-02-15 Thread Pawel Biernacki
Author: kaktus Date: Sat Feb 15 18:52:12 2020 New Revision: 357972 URL: https://svnweb.freebsd.org/changeset/base/357972 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r357973 - head/sys/compat/linuxkpi/common/src

2020-02-15 Thread Pawel Biernacki
Author: kaktus Date: Sat Feb 15 18:54:59 2020 New Revision: 357973 URL: https://svnweb.freebsd.org/changeset/base/357973 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r357974 - in head/sys/amd64/vmm: . amd intel io

2020-02-15 Thread Pawel Biernacki
Author: kaktus Date: Sat Feb 15 18:57:49 2020 New Revision: 357974 URL: https://svnweb.freebsd.org/changeset/base/357974 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (4 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r358004 - in head/sys/dev: drm2 pci

2020-02-16 Thread Pawel Biernacki
Author: kaktus Date: Sun Feb 16 17:11:54 2020 New Revision: 358004 URL: https://svnweb.freebsd.org/changeset/base/358004 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (5 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r358223 - in head/sys: netinet netpfil/pf

2020-02-21 Thread Pawel Biernacki
Author: kaktus Date: Fri Feb 21 16:23:00 2020 New Revision: 358223 URL: https://svnweb.freebsd.org/changeset/base/358223 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (6 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r358224 - in head/sys: dev/ath dev/ath/ath_rate/sample dev/otus net80211

2020-02-21 Thread Pawel Biernacki
Author: kaktus Date: Fri Feb 21 16:32:17 2020 New Revision: 358224 URL: https://svnweb.freebsd.org/changeset/base/358224 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (7 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

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

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:33:51 2020 New Revision: 358275 URL: https://svnweb.freebsd.org/changeset/base/358275 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (8 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r358276 - head/sys/contrib/ipfilter/netinet

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:35:58 2020 New Revision: 358276 URL: https://svnweb.freebsd.org/changeset/base/358276 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (8 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r358277 - head/sys/fs/pseudofs

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:37:56 2020 New Revision: 358277 URL: https://svnweb.freebsd.org/changeset/base/358277 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (10 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358280 - head/sys/dev/ofw

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:41:22 2020 New Revision: 358280 URL: https://svnweb.freebsd.org/changeset/base/358280 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (11 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

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

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:42:56 2020 New Revision: 358283 URL: https://svnweb.freebsd.org/changeset/base/358283 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (12 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358284 - in head/sys: arm/allwinner arm64/rockchip

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:45:22 2020 New Revision: 358284 URL: https://svnweb.freebsd.org/changeset/base/358284 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (13 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358285 - in head/sys: netinet netinet/libalias netinet6

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:47:18 2020 New Revision: 358285 URL: https://svnweb.freebsd.org/changeset/base/358285 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (14 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358286 - in head/sys/dev: e1000 ixgbe ixl

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:51:26 2020 New Revision: 358286 URL: https://svnweb.freebsd.org/changeset/base/358286 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (15 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358316 - in head/sys: dev/xen/balloon dev/xen/blkfront dev/xen/netback dev/xen/xenstore xen/xenbus

2020-02-25 Thread Pawel Biernacki
Author: kaktus Date: Tue Feb 25 19:04:39 2020 New Revision: 358316 URL: https://svnweb.freebsd.org/changeset/base/358316 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358318 - head/sys/sys

2020-02-25 Thread Pawel Biernacki
Author: kaktus Date: Tue Feb 25 19:12:40 2020 New Revision: 358318 URL: https://svnweb.freebsd.org/changeset/base/358318 Log: SYSCTL_ROOT_NODE should use the SYSCTL_ENFORCE_FLAGS macro too. Approved by: kib (mentor, blanket) Modified: head/sys/sys/sysctl.h Modified: head/sys/sys/sysctl

svn commit: r358333 - in head/sys: amd64/amd64 amd64/linux32 arm/altera/socfpga arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/nvidia arm/nvidia/tegra124 arm/ti arm/ti/am335x arm/ti/cpsw...

2020-02-26 Thread Pawel Biernacki
Author: kaktus Date: Wed Feb 26 14:26:36 2020 New Revision: 358333 URL: https://svnweb.freebsd.org/changeset/base/358333 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358334 - head/sys/sys

2020-02-26 Thread Pawel Biernacki
Author: kaktus Date: Wed Feb 26 15:12:38 2020 New Revision: 358334 URL: https://svnweb.freebsd.org/changeset/base/358334 Log: Move the SYSCTL_ENFORCE_FLAGS to SYSCTL_NODE_WITH_LABEL where it should be at the beginning. Modified: head/sys/sys/sysctl.h Modified: head/sys/sys/sysctl.h ===

svn commit: r358379 - head/sys/dev/random

2020-02-27 Thread Pawel Biernacki
Author: kaktus Date: Thu Feb 27 13:12:14 2020 New Revision: 358379 URL: https://svnweb.freebsd.org/changeset/base/358379 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (18 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358548 - head/sys/kern

2020-03-02 Thread Pawel Biernacki
Author: kaktus Date: Mon Mar 2 15:30:52 2020 New Revision: 358548 URL: https://svnweb.freebsd.org/changeset/base/358548 Log: sys/: Document few more sysctls. Submitted by: Antranig Vartanian Reviewed by: kaktus Commented by: jhb Approved by: kib (mentor) Sponsored by: illuria se

svn commit: r366537 - head/libexec/rc/rc.d

2020-10-08 Thread Pawel Biernacki
Author: kaktus Date: Thu Oct 8 11:45:10 2020 New Revision: 366537 URL: https://svnweb.freebsd.org/changeset/base/366537 Log: [pf] /etc/rc.d/pf should REQUIRE routing When a system with pf_enable="YES" in /etc/rc.conf uses hostnames in /etc/pf.conf, these hostnames cannot be resolved via