FreeBSD/src 4b79491lib/geom/eli geli.8

geli.8: add some notes regarding performance tuning

MFC after:      1 week
Sponsored by:   Axcient
Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D44908
DeltaFile
+41-1lib/geom/eli/geli.8
+41-11 files

FreeBSD/src 8ef2c02sys/kern subr_busdma_bufalloc.c

busdma: uma_zcreate() does not fail

No functional change intended.

MFC after:      1 week
DeltaFile
+0-4sys/kern/subr_busdma_bufalloc.c
+0-41 files

FreeBSD/src 1e607a0sys/kern kern_khelp.c

khelp: uma_zcreate() does not fail

No functional change intended.

MFC after:      1 week
DeltaFile
+0-4sys/kern/kern_khelp.c
+0-41 files

FreeBSD/src 78c51dbsys/fs/udf udf_vfsops.c

udf: uma_zcreate() does not fail

While here remove an old comment regarding preallocation; it appears to
refer to an optimization that is almost certainly irrelevant at this
point.

No functional change intended.

MFC after:      1 week
DeltaFile
+0-11sys/fs/udf/udf_vfsops.c
+0-111 files

FreeBSD/src b6a0ed7sys/dev/wg if_wg.c wg_cookie.c

wg: uma_zcreate() does not fail

No functional change intended.

MFC after:      1 week
DeltaFile
+3-3sys/dev/wg/if_wg.c
+2-3sys/dev/wg/wg_cookie.c
+5-62 files

FreeBSD/src 9640649sys/dev/dpaa if_dtsec_rm.c

dpaa: uma_zcreate() does not fail

No functional change intended.

MFC after:      1 week
DeltaFile
+0-4sys/dev/dpaa/if_dtsec_rm.c
+0-41 files

FreeBSD/src bb2ab7asys/netgraph ng_pipe.c

ng_pipe: Remove node when all hooks are disconnected

This is the behavior described in the man page.

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

Discussed with: glebius
Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181
DeltaFile
+7-0sys/netgraph/ng_pipe.c
+7-01 files

FreeBSD/src a3ecf8csys/netgraph ng_pipe.c

ng_pipe: Replace deprecated random() with prng32_bounded()

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

MFC after:      2 weeks
Reviewed by:    markj
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181
DeltaFile
+3-2sys/netgraph/ng_pipe.c
+3-21 files

FreeBSD/src d44c780sys/netgraph ng_pipe.c

ng_pipe: Do not panic when memory allocations fail

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181
DeltaFile
+30-15sys/netgraph/ng_pipe.c
+30-151 files

FreeBSD/src 8512311sys/netgraph ng_pipe.c

ng_pipe: Fix whitespace

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181
DeltaFile
+8-8sys/netgraph/ng_pipe.c
+8-81 files

FreeBSD/src b8e171bshare/misc organization.dot

organization.dot: Fix typos

MFC after:      3 days

(cherry picked from commit 806bd5e00658e66a5625397335cafa4748112f14)
DeltaFile
+2-2share/misc/organization.dot
+2-21 files

FreeBSD/src d7deb68sys/arm/arm gic.c

arm: Fix a typo in a KASSERT message

- s/resoure/resource/

(cherry picked from commit 178cf4b9db4bb6726e845b10923788cf4e7a5ef0)
DeltaFile
+1-1sys/arm/arm/gic.c
+1-11 files

FreeBSD/src d94c239sys/arm/freescale/vybrid vf_sai.c

freescale: Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit 26f6c148bce2d6734a07ea621616724f1e76e4fd)
DeltaFile
+1-1sys/arm/freescale/vybrid/vf_sai.c
+1-11 files

FreeBSD/src 87f5c26sys/geom geom_subr.c

geom(4): Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit c0a01ee83d3d4749ac9e7e46d8d47b991c65537f)
DeltaFile
+1-1sys/geom/geom_subr.c
+1-11 files

FreeBSD/src 656ec7bsys/kern uipc_domain.c

uipc_domain: Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit 9576fc16ca6cb360e085735dfaf891ae6d7f6181)
DeltaFile
+1-1sys/kern/uipc_domain.c
+1-11 files

FreeBSD/src e03c9c3sys/arm/arm gic.c

arm: Fix a typo in a KASSERT message

- s/resoure/resource/

(cherry picked from commit 178cf4b9db4bb6726e845b10923788cf4e7a5ef0)
DeltaFile
+1-1sys/arm/arm/gic.c
+1-11 files

FreeBSD/src c64f93bsys/arm/freescale/vybrid vf_sai.c

freescale: Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit 26f6c148bce2d6734a07ea621616724f1e76e4fd)
DeltaFile
+1-1sys/arm/freescale/vybrid/vf_sai.c
+1-11 files

FreeBSD/src 67e24edsys/geom geom_subr.c

geom(4): Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit c0a01ee83d3d4749ac9e7e46d8d47b991c65537f)
DeltaFile
+1-1sys/geom/geom_subr.c
+1-11 files

FreeBSD/src 64dfe0asys/kern uipc_domain.c

uipc_domain: Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit 9576fc16ca6cb360e085735dfaf891ae6d7f6181)
DeltaFile
+1-1sys/kern/uipc_domain.c
+1-11 files

FreeBSD/src a6ee6b6sys/arm/arm gic.c

arm: Fix a typo in a KASSERT message

- s/resoure/resource/

(cherry picked from commit 178cf4b9db4bb6726e845b10923788cf4e7a5ef0)
DeltaFile
+1-1sys/arm/arm/gic.c
+1-11 files

FreeBSD/src 87cf198sys/arm/freescale/vybrid vf_sai.c

freescale: Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit 26f6c148bce2d6734a07ea621616724f1e76e4fd)
DeltaFile
+1-1sys/arm/freescale/vybrid/vf_sai.c
+1-11 files

FreeBSD/src 956a99bsys/geom geom_subr.c

geom(4): Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit c0a01ee83d3d4749ac9e7e46d8d47b991c65537f)
DeltaFile
+1-1sys/geom/geom_subr.c
+1-11 files

FreeBSD/src 3b83e01sys/kern uipc_domain.c

uipc_domain: Fix a typo in a source code comment

- s/cant/can't/

(cherry picked from commit 9576fc16ca6cb360e085735dfaf891ae6d7f6181)
DeltaFile
+1-1sys/kern/uipc_domain.c
+1-11 files

FreeBSD/src a0d7d68crypto/heimdal/lib/hdb hdb-ldap.c

heimdal: Fix compiling hdb ldap as a module

Fix build when WITH_OPENLDAP defined.

PR:             278430
Obtained from:  Upstream c1c7da7f79
DeltaFile
+6-3crypto/heimdal/lib/hdb/hdb-ldap.c
+6-31 files

FreeBSD/src 9e248b7libexec/rc rc.conf, libexec/rc/rc.d kdc

kdc: Add restart option

Add a new kdc_restart rc variable that manages kdc (or krb5kdc) under
daemon(8). This automatically restarts the kdc should it fail, i.e.
when it's configured to use LDAP as a backend and cannot connect to its
LDAP directory.

Set kdc_restart="YES" to auto restart kdc on abnormal termination.

Set kdc_restart_delay="N" to the number of seconds to delay before
restarting the kdc. The daemon(8) default seconds applies when not set.

Reported by:            Lexi Winter <lexi.freebsd at le-fay.org>
PR:                     278395
Differential Revision:  https://reviews.freebsd.org/D44898
DeltaFile
+27-2libexec/rc/rc.d/kdc
+2-0libexec/rc/rc.conf
+29-22 files

FreeBSD/src cae3362contrib/less ch.c

MFV: less: Do not trust st_size if it equals zero

This is a smaller version of upstream
1fafd968b48e5cea6c85f126d77071a8de707a55 to address the
issue that less not being able to operate on files
residing in pseudo-filesystems that advertize a zero
size value.

PR:             bin/276133
MFC after:      3 days
DeltaFile
+2-11contrib/less/ch.c
+2-111 files

FreeBSD/src e8ec4b5. ch.c

less: Do not trust st_size if it equals zero
DeltaFile
+2-11ch.c
+2-111 files

FreeBSD/src 835b1bdrelease/scripts pkg-stage.sh

release: Use the ABI of the target release to fetch packages

- Point --rootdir at the installed destdir in the dvd tree.  This
  causes pkg to determine the ABI from the installed destdir instead
  of the host's binaries.  Previously the result was that packages
  for the host's ABI were always downloaded breaking cross-releases
  (e.g. arm64 releases built on an amd64 host included amd64
  packages on the DVD ISO image rather than arm64 packages).  This
  also handles version mismatches, and I tested this by cross-building
  a 15.x arm64 release on a 14.x amd64 host.

- As a result, pkg now does a chdir(3) to the rootdir before running,
  so the -o argument to fetch needs to be updated to be relative to
  rootdir instead of the CWD as make runs.

- Add a new ROOTDIR variable to limit references to "dvd" to one
  place.  Ideally ROOTDIR would be an argument to this script so
  that it didn't really know about the dvd layout at all.


    [12 lines not shown]
DeltaFile
+11-12release/scripts/pkg-stage.sh
+11-121 files

FreeBSD/src 6b8ca8crelease Makefile.ec2 Makefile.gce

release: Support r/o /usr/ports for cloudware

Set WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles when building tools
needed for uploading cloudware images.

While I'm here, adjust the bsdec2-image-upload build target to match
the style used by the Azure/GCE/Vagrant Makefiles.

MFC after:      3 days

(cherry picked from commit 6c87aed39c3053cd338c1ec18fba5b1d773beca9)
DeltaFile
+10-6release/Makefile.ec2
+6-2release/Makefile.gce
+3-1release/Makefile.azure
+3-1release/Makefile.vagrant
+22-104 files

FreeBSD/src 1b0e859release Makefile.vm

release/Makefile.vm: Support read-only ports tree

Build qemu (if needed) with WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles
so that we can have a read-only /usr/ports and don't contaminate it.  This
became an issue when I enabled parallel release building, since one image
might be creating its ports.txz file at the same time as we're building
qemu as a prerequisite for building another image.

MFC after:      5 days

(cherry picked from commit 6f454c211b295ad13e80fc5b858efc9bad33e33b)
DeltaFile
+4-1release/Makefile.vm
+4-11 files