Author: freqlabs
Date: Sat Oct 24 22:36:20 2020
New Revision: 367025
URL: https://svnweb.freebsd.org/changeset/base/367025
Log:
sockstat: Fix error message when jail_attach fails
jail_errmsg is for libjail, jail_attach() is a system call.
Modified:
head/usr.bin/sockstat/sockstat.c
Modif
use file is newly added)
+++ head/lib/flua/libjail/jail.3lua Sat Oct 24 17:08:59 2020
(r367013)
@@ -0,0 +1,210 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+.\"
+.\" Copyright (c) 2020, Ryan Moeller
+.\"
+.\" Redistribution and use in source and
Author: freqlabs
Date: Sat Oct 24 16:25:52 2020
New Revision: 367010
URL: https://svnweb.freebsd.org/changeset/base/367010
Log:
Skip RAW kstat sysctls by default
hese kstats are often expensive to compute so we want to avoid them
unless specifically requested.
The following kstats ar
Author: freqlabs
Date: Sat Oct 24 16:17:07 2020
New Revision: 367009
URL: https://svnweb.freebsd.org/changeset/base/367009
Log:
sysctl+kern_sysctl: Honor SKIP for descendant nodes
Ensure we also skip descendants of SKIP nodes when iterating through children
of an explicitly specified node
Author: freqlabs
Date: Sat Oct 24 16:05:37 2020
New Revision: 367006
URL: https://svnweb.freebsd.org/changeset/base/367006
Log:
sysctl: Misc code cleanup
* Use defined SYS_SYSCTL names
* Use memcmp instead of explicit loop
* Use NULL instead of 0 for pointer value
* Use __FBSDID
* R
Author: freqlabs
Date: Sat Oct 24 14:46:38 2020
New Revision: 367003
URL: https://svnweb.freebsd.org/changeset/base/367003
Log:
kern_sysctl: Misc code cleanup
Remove unused oidpp parameter from sysctl_sysctl_next_ls and
add high level comments to describe how it works.
No functional
Author: freqlabs
Date: Wed Oct 21 05:27:25 2020
New Revision: 366906
URL: https://svnweb.freebsd.org/changeset/base/366906
Log:
Move list_cloners to libifconfig
Move list_cloners() from ifconfig(8) to libifconfig(3) where it can be
reused by other consumers.
Reviewed by: kp
Differ
Author: freqlabs
Date: Mon Oct 19 10:38:40 2020
New Revision: 366830
URL: https://svnweb.freebsd.org/changeset/base/366830
Log:
efibootmgr: Use returned error code for error message, not errno
efivar_unix_path_to_device_path returns the error code, it does not set errno.
Reviewed by:
Author: freqlabs
Date: Fri Oct 16 20:27:20 2020
New Revision: 366771
URL: https://svnweb.freebsd.org/changeset/base/366771
Log:
bhyve: Update TX descriptor base address and host mapping on change
bhyve sometimes segfaults when using an e1000 NIC with a Windows guest.
We are only updati
Author: freqlabs
Date: Mon Oct 5 20:13:22 2020
New Revision: 366465
URL: https://svnweb.freebsd.org/changeset/base/366465
Log:
Enable iterating all sysctls, even ones with CTLFLAG_SKIP
Add an "nextnoskip" sysctl that allows for listing of sysctls intended to be
normally skipped for cost
Author: freqlabs
Date: Sun Oct 4 19:37:15 2020
New Revision: 366433
URL: https://svnweb.freebsd.org/changeset/base/366433
Log:
Explicit CTLFLAG_DYN not needed
Dynamically created OIDs automatically get this flag set.
Reviewed by: jhb
MFC after:1 week
Sponsored by: iXsystems,
Author: freqlabs
Date: Wed Sep 2 16:03:33 2020
New Revision: 365252
URL: https://svnweb.freebsd.org/changeset/base/365252
Log:
Correct and expand on OpenZFS cache file and auto import
Reported by: avg
Sponsored by: iXsystems, Inc.
Modified:
head/UPDATING
Modified: head/UPDATING
On 9/2/20 11:43 AM, Andriy Gapon wrote:
On 02/09/2020 18:23, Ryan Moeller wrote:
On 9/2/20 10:28 AM, Warner Losh wrote:
Author: imp
Date: Wed Sep 2 14:28:54 2020
New Revision: 365249
URL: https://svnweb.freebsd.org/changeset/base/365249
Log:
Add note about needing to manually import the
On 9/2/20 10:28 AM, Warner Losh wrote:
Author: imp
Date: Wed Sep 2 14:28:54 2020
New Revision: 365249
URL: https://svnweb.freebsd.org/changeset/base/365249
Log:
Add note about needing to manually import the zfs pools or update
/etc/rc.d due to the cache file moving to /etc.
Modified:
Author: freqlabs
Date: Wed Sep 2 15:20:10 2020
New Revision: 365250
URL: https://svnweb.freebsd.org/changeset/base/365250
Log:
Use MLINKS where appropriate for zfs/zpool subcommand pages
Reported by: Julian H. Stacey
Sponsored by: iXsystems, Inc.
Modified:
head/cddl/sbin/zfs/Makefile
Author: freqlabs
Date: Tue Sep 1 19:02:07 2020
New Revision: 365057
URL: https://svnweb.freebsd.org/changeset/base/365057
Log:
Ensure zstreamdump subdir can be visited
Reported by: Thomas Laus
Sponsored by: iXsystems, Inc.
Modified:
head/cddl/usr.bin/Makefile
Modified: head/cddl/usr
On 8/28/20 8:51 AM, Harry Schmalzbauer wrote:
Am 27.08.2020 um 15:26 schrieb Ryan Moeller:
Author: freqlabs
Date: Thu Aug 27 13:26:36 2020
New Revision: 364863
URL: https://svnweb.freebsd.org/changeset/base/364863
Log:
libzfs: Also add the crypto dependency to Makefile.inc1
Reported
Author: freqlabs
Date: Thu Aug 27 13:26:36 2020
New Revision: 364863
URL: https://svnweb.freebsd.org/changeset/base/364863
Log:
libzfs: Also add the crypto dependency to Makefile.inc1
Reported by: kevans
Discussed with: kevans
Sponsored by: iXsystems, Inc.
Modified:
head/Makef
Author: freqlabs
Date: Thu Aug 27 13:05:41 2020
New Revision: 364861
URL: https://svnweb.freebsd.org/changeset/base/364861
Log:
libzfs: Add missing crypto dependency
libzfs_crypto.c uses PKCS5_PBKDF2_HMAC_SHA1 from libcrypto.
Reported by: John Kennedy
Sponsored by: iXsystems, Inc.
Author: freqlabs
Date: Wed Aug 26 19:03:15 2020
New Revision: 364830
URL: https://svnweb.freebsd.org/changeset/base/364830
Log:
Move zstd sources from libzfs to libzpool
zstd is kernel code that was not supposed to be in libzfs.
libzpool provides userland shims for kernel code and is w
Author: freqlabs
Date: Wed Aug 26 19:00:17 2020
New Revision: 364829
URL: https://svnweb.freebsd.org/changeset/base/364829
Log:
Tidy up libzpool Makefile
Sponsored by: iXsystems, Inc.
Modified:
head/cddl/lib/libzpool/Makefile
Modified: head/cddl/lib/libzpool/Makefile
===
Author: freqlabs
Date: Wed Aug 26 15:43:44 2020
New Revision: 364821
URL: https://svnweb.freebsd.org/changeset/base/364821
Log:
Install zfs-events.5
Sponsored by: iXsystems, Inc.
Modified:
head/cddl/sbin/zpool/Makefile
Modified: head/cddl/sbin/zpool/Makefile
Author: freqlabs
Date: Tue Aug 25 21:07:27 2020
New Revision: 364785
URL: https://svnweb.freebsd.org/changeset/base/364785
Log:
bsdinstall: Update loader.conf for new OpenZFS deps
zfs.ko now includes the SPL but relies on cryptodev instead.
Reported by: D Scott Phillips
Sponsored by
Author: freqlabs
Date: Tue Aug 25 20:04:35 2020
New Revision: 364783
URL: https://svnweb.freebsd.org/changeset/base/364783
Log:
Skip zpool_clear_005_pos test until bug fixed
Messing with gnop devices under a zpool fails in this test, causing
the pool to be suspended and eventually the sys
Author: freqlabs
Date: Tue Aug 25 18:22:30 2020
New Revision: 364777
URL: https://svnweb.freebsd.org/changeset/base/364777
Log:
Fix zstd in OpenZFS module with CPUTYPE?=
The build breaks when something adds -march= to the
compiler flags, for example CPUTYPE?=native. When the arch support
dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libifconfig/libifconfig_sfp.c Sun Aug 9 16:27:28 2020
(r364058)
@@ -0,0 +1,592 @@
+/*-
+ * Copyright (c) 2014, Alexander V. Chernikov
+ * Copyright (c) 2020, Ryan Moeller
+ *
+ * Redistribution and use in sou
Author: freqlabs
Date: Tue Jul 28 02:56:26 2020
New Revision: 363630
URL: https://svnweb.freebsd.org/changeset/base/363630
Log:
libpmc: Use known pmc_cpuid buffer size
Use the existing PMC_CPUID_LEN to size pmc_cpuid in the kernel and various
buffers for reading it in libpmc. This avoids
Author: freqlabs
Date: Tue Jul 14 22:25:06 2020
New Revision: 363206
URL: https://svnweb.freebsd.org/changeset/base/363206
Log:
hwpmc: Always set pmc_cpuid to something
pmc_cpuid was uninitialized for most AMD processor families. We can still
populate this string for unimplemented famili
nfig/libifconfig_bridge.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libifconfig/libifconfig_bridge.c Wed Jul 1 02:32:41 2020
(r362824)
@@ -0,0 +1,142 @@
+/*
+ * Copyright (c) 2020, Ryan Moeller
+ *
+ *
Author: freqlabs
Date: Tue Jun 23 16:29:59 2020
New Revision: 362544
URL: https://svnweb.freebsd.org/changeset/base/362544
Log:
libdevdctl: Force full match of "timestamp" field name
OpenZFS generates events with a "zio_timestamp" field, which gets mistaken for
"timestamp" by libdevdctl d
Author: freqlabs
Date: Mon Jun 22 03:14:43 2020
New Revision: 362477
URL: https://svnweb.freebsd.org/changeset/base/362477
Log:
flua: add ucl library
libucl comes with a Lua library binding. Build it into flua.
This lets us parse/generate config files in the various formats supported
Author: freqlabs
Date: Tue Jun 16 21:30:30 2020
New Revision: 362252
URL: https://svnweb.freebsd.org/changeset/base/362252
Log:
Apply default security flavor in vfs_export
There may be some version of mountd out there that does not supply a default
security flavor when none is given for a
Author: freqlabs
Date: Mon Jun 15 16:35:27 2020
New Revision: 362201
URL: https://svnweb.freebsd.org/changeset/base/362201
Log:
Avoid trying to toggle TSO twice
Remove TSO from the toggle mask when automatically disabled by TXCKSUM* in
various NIC drivers.
Reviewed by: hselasky, np,
Author: freqlabs
Date: Wed Jun 3 17:26:00 2020
New Revision: 361757
URL: https://svnweb.freebsd.org/changeset/base/361757
Log:
Fix typo in previous commit
Applied the wrong patch
Reported by: Michael Butler
Approved by: mav (mentor)
Sponsored by: iXsystems.com
Modified:
head
Author: freqlabs
Date: Wed Jun 3 16:57:30 2020
New Revision: 361756
URL: https://svnweb.freebsd.org/changeset/base/361756
Log:
scope6: Check for NULL afdata before dereferencing
Narrows the race window with if_detach.
Approved by: mav (mentor)
MFC after:3 days
Sponsored by: i
Author: freqlabs
Date: Wed Jun 3 09:38:51 2020
New Revision: 361748
URL: https://svnweb.freebsd.org/changeset/base/361748
Log:
tmpfs: Preserve alignment of struct fid fields
On 64-bit platforms, the two short fields in `struct tmpfs_fid` are padded to
the 64-bit alignment of the long fie
On 6/1/20 8:03 PM, Rick Macklem wrote:
Author: rmacklem
Date: Tue Jun 2 00:03:26 2020
New Revision: 361711
URL: https://svnweb.freebsd.org/changeset/base/361711
Log:
Fix build issue introduced by r361699.
Oops, that was easily avoidable. :/ Thanks for picking up the pieces.
Reported
Author: freqlabs
Date: Mon Jun 1 18:43:51 2020
New Revision: 361699
URL: https://svnweb.freebsd.org/changeset/base/361699
Log:
Assign default security flavor when converting old export args
vfs_export requires security flavors be explicitly listed when
exporting as of r360900.
Use t
Author: freqlabs
Date: Thu May 21 01:55:35 2020
New Revision: 361313
URL: https://svnweb.freebsd.org/changeset/base/361313
Log:
Deduplicate fsid comparisons
Comparing fsid_t objects requires internal knowledge of the fsid structure
and yet this is duplicated across a number of places in t
Author: freqlabs
Date: Tue May 19 18:41:46 2020
New Revision: 361265
URL: https://svnweb.freebsd.org/changeset/base/361265
Log:
Mention new jail(8) command hooks in RELNOTES
Reported by: 0mp
Approved by: mmacy (mentor)
Modified:
head/RELNOTES
Modified: head/RELNOTES
Author: freqlabs
Date: Tue May 19 18:38:46 2020
New Revision: 361264
URL: https://svnweb.freebsd.org/changeset/base/361264
Log:
Mention new dd flags in RELNOTES
Approved by: mmacy (mentor)
Sponsored by: iXsystems, Inc.
Modified:
head/RELNOTES
Modified: head/RELNOTES
=
On 5/15/20 4:17 PM, Rodney W. Grimes wrote:
On 5/15/20 3:24 PM, Rodney W. Grimes wrote:
On 5/15/20 6:18 AM, Mateusz Piotrowski wrote:
On 5/15/20 1:38 AM, Ryan Moeller wrote:
Author: freqlabs
Date: Thu May 14 23:38:11 2020
New Revision: 361066
URL: https://svnweb.freebsd.org/changeset/base
On 5/15/20 3:24 PM, Rodney W. Grimes wrote:
On 5/15/20 6:18 AM, Mateusz Piotrowski wrote:
On 5/15/20 1:38 AM, Ryan Moeller wrote:
Author: freqlabs
Date: Thu May 14 23:38:11 2020
New Revision: 361066
URL: https://svnweb.freebsd.org/changeset/base/361066
Log:
jail: Add exec.prepare and
On 5/15/20 6:18 AM, Mateusz Piotrowski wrote:
On 5/15/20 1:38 AM, Ryan Moeller wrote:
Author: freqlabs
Date: Thu May 14 23:38:11 2020
New Revision: 361066
URL: https://svnweb.freebsd.org/changeset/base/361066
Log:
jail: Add exec.prepare and exec.release command hooks
This change
Author: freqlabs
Date: Thu May 14 23:38:11 2020
New Revision: 361066
URL: https://svnweb.freebsd.org/changeset/base/361066
Log:
jail: Add exec.prepare and exec.release command hooks
This change introduces new jail command hooks that run before and after any
other actions.
The exec.pr
Author: freqlabs
Date: Tue May 12 13:23:25 2020
New Revision: 360960
URL: https://svnweb.freebsd.org/changeset/base/360960
Log:
nfs: Remove APPLESTATIC macro
It is no longer useful.
Reviewed by: rmacklem
Approved by: mav (mentor)
MFC after:1 week
Sponsored by: iXsystems, In
Author: freqlabs
Date: Mon May 11 15:38:44 2020
New Revision: 360900
URL: https://svnweb.freebsd.org/changeset/base/360900
Log:
vfs_exports: Tighten bounds and assert consistency of numsecflavors
We know the value must be greater than 0 and less than MAXSECFLAVORS.
Reject values outsid
Author: freqlabs
Date: Fri May 8 14:39:38 2020
New Revision: 360813
URL: https://svnweb.freebsd.org/changeset/base/360813
Log:
Remove APPLEKEXT ifndefs
They are no longer useful.
Reviewed by: rmacklem
Approved by: mav (mentor)
MFC after:1 week
Sponsored by: iXsystems, Inc.
Author: freqlabs
Date: Sun Apr 26 20:55:11 2020
New Revision: 360356
URL: https://svnweb.freebsd.org/changeset/base/360356
Log:
sockstat: Attach to jail if in new vnet
Attach sockstat -j to the specified jail if the jail is in a new vnet.
Otherwise we do not see all sockets belonging to t
Author: freqlabs
Date: Wed Apr 22 17:04:31 2020
New Revision: 360199
URL: https://svnweb.freebsd.org/changeset/base/360199
Log:
menu.lua: Give names to menu entries
Make menu customizations easier by naming the entries and using the
names to build the table entries.
Reviewed by: kev
Author: freqlabs
Date: Fri Mar 27 17:37:31 2020
New Revision: 359371
URL: https://svnweb.freebsd.org/changeset/base/359371
Log:
loader: Fully reset terminal settings, not just colors
Reviewed by: kevans
Reviewed by: tsoome
Approved by: mav (mentor)
MFC after:1 week
Sponsored
Author: freqlabs
Date: Wed Mar 25 15:56:18 2020
New Revision: 359303
URL: https://svnweb.freebsd.org/changeset/base/359303
Log:
MFOpenZFS: ZVOLs should not be allowed to have children
zfs create, receive and rename can bypass this hierarchy rule. Update
both userland and kernel module to
Author: freqlabs
Date: Wed Mar 18 17:01:03 2020
New Revision: 359073
URL: https://svnweb.freebsd.org/changeset/base/359073
Log:
Fixup line lost from previous commit (r359072)
Reviewed by: kevans
Approved by: mav (mentor)
MFC after:1 week
Sponsored by: iXsystems, Inc.
Different
Author: freqlabs
Date: Wed Mar 18 16:21:11 2020
New Revision: 359072
URL: https://svnweb.freebsd.org/changeset/base/359072
Log:
loader: Add a "kernel.loaded" hook
This hook can be useful, for example to run a local function to choose
different modules to load when a user has picked a diff
Author: freqlabs
Date: Sat Mar 14 00:16:15 2020
New Revision: 358971
URL: https://svnweb.freebsd.org/changeset/base/358971
Log:
TODO DONE: Use sx_xholder in SPL rwlock.h
Approved by: mav (mentor)
MFC after:1 week
Sponsored by: iXsystems, Inc.
Modified:
head/sys/cddl/compat/opens
> 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)?
No, that looks technically possible.
-Ryan
___
Author: freqlabs
Date: Thu Mar 12 23:04:40 2020
New Revision: 358923
URL: https://svnweb.freebsd.org/changeset/base/358923
Log:
libpmcstat: Try /boot/modules if module not found
Modules from ports/pkg are commonly installed to /boot/modules rather than to
the same directory the kernel res
[label="Fabien Thomas\nfabi...@freebsd.org\n20
fanf [label="Tony Finch\nf...@freebsd.org\n2002/05/05"]
fjoe [label="Max Khon\nf...@freebsd.org\n2001/08/06"]
flz [label="Florent Thoumie\n...@freebsd.org\n2006/03/30"]
+freqlabs [label="Ryan Moeller\nfreql...@free
58 matches
Mail list logo