FreeBSD/src 0fda88fsys/geom/label g_label.c

glabel(8): Fix debug message for already existing labels

Remove the duplicate (incorrect) name.

PR:             294542
Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56400

(cherry picked from commit 92c69c791c436eb966fab806393b70e53cde6874)
DeltaFile
+2-2sys/geom/label/g_label.c
+2-21 files

FreeBSD/src 5131d20sys/geom/label g_label.c

glabel(8): Fix debug message for already existing labels

Remove the duplicate (incorrect) name.

PR:             294542
Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56400

(cherry picked from commit 92c69c791c436eb966fab806393b70e53cde6874)
DeltaFile
+2-2sys/geom/label/g_label.c
+2-21 files

FreeBSD/src c93e8b6sys/geom/label g_label.c

glabel(8): Fix debug message for already existing labels

Remove the duplicate (incorrect) name.

PR:             294542
Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56400

(cherry picked from commit 92c69c791c436eb966fab806393b70e53cde6874)
DeltaFile
+2-2sys/geom/label/g_label.c
+2-21 files

FreeBSD/src 98a868csys/compat/linux linux_misc.c linux_misc.h

linux: Support LINUX_PR_GET_NO_NEW_PRIVS prctl(2)

PR: 294651
Signed-off-by: Ricardo Branco <rbranco at suse.de>
Reviewed by: kib, pouria
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2151
DeltaFile
+8-0sys/compat/linux/linux_misc.c
+2-1sys/compat/linux/linux_misc.h
+10-12 files

FreeBSD/src 50ff71esys/compat/linux linux_misc.c linux_misc.h

linux: Support PR_GET_CHILD_SUBREAPER prctl(2)

PR: 294651
Signed-off-by: Ricardo Branco <rbranco at suse.de>
Reviewed by: kib, pouria
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2151
DeltaFile
+12-0sys/compat/linux/linux_misc.c
+2-1sys/compat/linux/linux_misc.h
+14-12 files

FreeBSD/src 5f71481sys/rpc/rpcsec_gss rpcsec_gss.c

rpcsec_gss(3): Fix a typo in a source code comment

- s/verfier/verifier/

(cherry picked from commit 6323e2be6102e2a152b4420db272f7e880017cf0)
DeltaFile
+1-1sys/rpc/rpcsec_gss/rpcsec_gss.c
+1-11 files

FreeBSD/src 3911c2asys/fs/msdosfs msdosfs_fat.c

msdosfs(4): Fix two typos in source code comments

- s/unititialized/uninitialized/

(cherry picked from commit 96246330c1c47ea06b7e781ddd87de45d541494f)
DeltaFile
+2-2sys/fs/msdosfs/msdosfs_fat.c
+2-21 files

FreeBSD/src 393ac01stand/powerpc/boot1.chrp Makefile

stand/powerpc: Fix a typo in a source code comment

- s/limitiations/limitations/

(cherry picked from commit 4177af3b0e2db36238bbd6f973943f830d1ff46f)
DeltaFile
+1-1stand/powerpc/boot1.chrp/Makefile
+1-11 files

FreeBSD/src 4b73f0alib/librpcsec_gss rpcsec_gss.c

librpcsec_gss: Fix a typo in a source code comment

- s/verfier/verifier/

(cherry picked from commit 59dacd7f008f54a335ec49e747bb8ddac67b0a83)
DeltaFile
+1-1lib/librpcsec_gss/rpcsec_gss.c
+1-11 files

FreeBSD/src 1914750sys/rpc/rpcsec_gss rpcsec_gss.c

rpcsec_gss(3): Fix a typo in a source code comment

- s/verfier/verifier/

(cherry picked from commit 6323e2be6102e2a152b4420db272f7e880017cf0)
DeltaFile
+1-1sys/rpc/rpcsec_gss/rpcsec_gss.c
+1-11 files

FreeBSD/src 5cb5254sys/fs/msdosfs msdosfs_fat.c

msdosfs(4): Fix two typos in source code comments

- s/unititialized/uninitialized/

(cherry picked from commit 96246330c1c47ea06b7e781ddd87de45d541494f)
DeltaFile
+2-2sys/fs/msdosfs/msdosfs_fat.c
+2-21 files

FreeBSD/src 47e0076stand/powerpc/boot1.chrp Makefile

stand/powerpc: Fix a typo in a source code comment

- s/limitiations/limitations/

(cherry picked from commit 4177af3b0e2db36238bbd6f973943f830d1ff46f)
DeltaFile
+1-1stand/powerpc/boot1.chrp/Makefile
+1-11 files

FreeBSD/src 15578e2lib/librpcsec_gss rpcsec_gss.c

librpcsec_gss: Fix a typo in a source code comment

- s/verfier/verifier/

(cherry picked from commit 59dacd7f008f54a335ec49e747bb8ddac67b0a83)
DeltaFile
+1-1lib/librpcsec_gss/rpcsec_gss.c
+1-11 files

FreeBSD/src d865149tests/sys/netinet6 ndp.sh

tests/netinet6: fix missing require.progs

Approved by:    pouria
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D56569
DeltaFile
+1-0tests/sys/netinet6/ndp.sh
+1-01 files

FreeBSD/src c2b8a57usr.bin/du/tests du_test.sh

du: Set BLOCKSIZE before running tests

Several testcases assume BLOCKSIZE=K, so set it at the top of the
script.  This fixes an issue where the tests would sometimes fail
when run under sudo.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D56476

(cherry picked from commit d618ba314d1452c1cb4360e15ae1c80adac48306)
DeltaFile
+4-0usr.bin/du/tests/du_test.sh
+4-01 files

FreeBSD/src 10ed711usr.bin/du/tests du_test.sh

du: Set BLOCKSIZE before running tests

Several testcases assume BLOCKSIZE=K, so set it at the top of the
script.  This fixes an issue where the tests would sometimes fail
when run under sudo.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D56476

(cherry picked from commit d618ba314d1452c1cb4360e15ae1c80adac48306)
DeltaFile
+4-0usr.bin/du/tests/du_test.sh
+4-01 files

FreeBSD/src a1f848ausr.bin/du/tests du_test.sh

du: Fix t_flag test case

MFC after:      1 week
Fixes:          3e5550d25c6d ("du: Add regression tests")
Sponsored by:   Klara, Inc.

(cherry picked from commit e99b3f5e318626b45510e29993aabca1d161bfa0)
DeltaFile
+1-1usr.bin/du/tests/du_test.sh
+1-11 files

FreeBSD/src 41ba2e3usr.bin/du/tests du_test.sh

du: Set BLOCKSIZE before running tests

Several testcases assume BLOCKSIZE=K, so set it at the top of the
script.  This fixes an issue where the tests would sometimes fail
when run under sudo.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D56476

(cherry picked from commit d618ba314d1452c1cb4360e15ae1c80adac48306)
DeltaFile
+4-0usr.bin/du/tests/du_test.sh
+4-01 files

FreeBSD/src 54a4e4cusr.bin/du du.c du.1, usr.bin/du/tests du_test.sh

du: Complete libxo transition

* Use xo_warn() / xo_err() instead of warn() / err().

* Add a test case for the POSIX-mandated stdout error check.

* While here, don't assume the size of off_t, address some style issues,
  and broaden the use of bool instead of int.

* Reorder SEE ALSO section.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    allanjude
Differential Revision:  https://reviews.freebsd.org/D56402

(cherry picked from commit 6c18dd3eb42b50fddb6d9605ddde1362ae9c504a)
DeltaFile
+26-24usr.bin/du/du.c
+18-0usr.bin/du/tests/du_test.sh
+2-2usr.bin/du/du.1
+46-263 files

FreeBSD/src 5713172usr.bin/du/tests du_test.sh

du: Fix t_flag test case

MFC after:      1 week
Fixes:          3e5550d25c6d ("du: Add regression tests")
Sponsored by:   Klara, Inc.

(cherry picked from commit e99b3f5e318626b45510e29993aabca1d161bfa0)
DeltaFile
+1-1usr.bin/du/tests/du_test.sh
+1-11 files

FreeBSD/src abdf2a7usr.bin/printenv printenv.c, usr.bin/printenv/tests printenv_test.sh

printenv: Clean up

* Error out if more than one argument is given.

* Check for stdio errors.

* Clean up the code.

* Clean up and expand the tests.

MFC after:      1 week
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D56506
DeltaFile
+52-18usr.bin/printenv/tests/printenv_test.sh
+30-22usr.bin/printenv/printenv.c
+82-402 files

FreeBSD/src 394f6b1usr.bin/ident ident.c ident.1, usr.bin/ident/tests ident_test.sh

ident: Clean up

* Use libcasper instead of reinventing it.

* Add long option support.

* Drop pointless use of temporary locales.

* Consistently check for stdio errors.

* Clean up the code.

* Clean up and expand the tests.

MFC after:      1 week
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D56505
DeltaFile
+75-71usr.bin/ident/ident.c
+84-10usr.bin/ident/tests/ident_test.sh
+7-4usr.bin/ident/ident.1
+6-0usr.bin/ident/Makefile
+172-854 files

FreeBSD/src 3d00db6share/man/man7 tests.7

tests.7: Provide better examples

Previous authors appear to have prioritized brevity over clarity.  This
unfortunately resulted in a manual page that left its reader with the
false impression that Kyua is difficult to use.  Attempt to correct
this by providing more and simpler examples with longer explanations.

While here, correct outdated information about where Kyua stores its
logs and results.

MFC after:      1 week
Reviewed by:    ziaee, ngie
Differential Revision:  https://reviews.freebsd.org/D56475
DeltaFile
+89-13share/man/man7/tests.7
+89-131 files

FreeBSD/src e27255asys/dev/dpaa2 dpaa2_frame.c dpaa2_ni.c

dpaa2: Extract checksum statuses on ingress

In order to enable RX checksum offloading we need to check the
meta-information for the (good) frames to see if the L3/4 checksums
were calculated and if there was an error.

The way the buffere are setup, the needed frame meta-information is
already requested. All we have to do is make sure it is really part
of the RX frame, that it is valid, and if the respective bits are set.

Also do not forget to set the (dummy) csum_data as otherwise upper
layers will just be cranky. An artefact of the past which likely
should disappear.

PR:             292006
Reviewed by:    bz, tuexen
Tested by:      bz, tuexen
Approved by:    tuexen
Obtained from:  bz (initial version, D55320)

    [5 lines not shown]
DeltaFile
+88-12sys/dev/dpaa2/dpaa2_frame.c
+74-2sys/dev/dpaa2/dpaa2_ni.c
+61-2sys/dev/dpaa2/dpaa2_frame.h
+4-2sys/dev/dpaa2/dpaa2_ni.h
+227-184 files

FreeBSD/src 2b3799bsys/dev/dpaa2 dpaa2_ni.c dpaa2_frame.h

dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c]

As soon as we need information from the hardware frame annotation to
make sure that checksums of the ingress frames were verified by the
DPAA2 HW, I've decided to make a preparation and extracted all of the
frame related routines into the separate dpaa2_frame.[h,c] along with
some clean up and improvements, e.g. no more dpaa2_fa, but dpaa2_swa
and dpaa2_hwa structures to describe software and hardware frame
annotations respectively, dpaa2_fa_get_swa/dpaa2_fa_get_hwa to obtain
those annotations from the frame descriptor. The next step is to
implement dpaa2_fa_get_hwa.

PR:             292006
Approved by:    tuexen
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56315

(cherry picked from commit 8e994533806d8aa0ae4582a52d811ede2b19bb26)
DeltaFile
+63-145sys/dev/dpaa2/dpaa2_ni.c
+174-0sys/dev/dpaa2/dpaa2_frame.h
+165-0sys/dev/dpaa2/dpaa2_frame.c
+1-50sys/dev/dpaa2/dpaa2_swp.h
+5-4sys/dev/dpaa2/dpaa2_buf.c
+5-0sys/dev/dpaa2/dpaa2_types.h
+413-1994 files not shown
+419-20010 files

FreeBSD/src 150ac95sys/dev/dpaa2 dpaa2_frame.c dpaa2_ni.c

dpaa2: Extract checksum statuses on ingress

In order to enable RX checksum offloading we need to check the
meta-information for the (good) frames to see if the L3/4 checksums
were calculated and if there was an error.

The way the buffere are setup, the needed frame meta-information is
already requested. All we have to do is make sure it is really part
of the RX frame, that it is valid, and if the respective bits are set.

Also do not forget to set the (dummy) csum_data as otherwise upper
layers will just be cranky. An artefact of the past which likely
should disappear.

PR:             292006
Reviewed by:    bz, tuexen
Tested by:      bz, tuexen
Approved by:    tuexen
Obtained from:  bz (initial version, D55320)

    [5 lines not shown]
DeltaFile
+88-12sys/dev/dpaa2/dpaa2_frame.c
+74-2sys/dev/dpaa2/dpaa2_ni.c
+61-2sys/dev/dpaa2/dpaa2_frame.h
+4-2sys/dev/dpaa2/dpaa2_ni.h
+227-184 files

FreeBSD/src f241c07sys/dev/dpaa2 dpaa2_ni.c dpaa2_frame.h

dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c]

As soon as we need information from the hardware frame annotation to
make sure that checksums of the ingress frames were verified by the
DPAA2 HW, I've decided to make a preparation and extracted all of the
frame related routines into the separate dpaa2_frame.[h,c] along with
some clean up and improvements, e.g. no more dpaa2_fa, but dpaa2_swa
and dpaa2_hwa structures to describe software and hardware frame
annotations respectively, dpaa2_fa_get_swa/dpaa2_fa_get_hwa to obtain
those annotations from the frame descriptor. The next step is to
implement dpaa2_fa_get_hwa.

PR:             292006
Approved by:    tuexen
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56315

(cherry picked from commit 8e994533806d8aa0ae4582a52d811ede2b19bb26)
DeltaFile
+63-145sys/dev/dpaa2/dpaa2_ni.c
+174-0sys/dev/dpaa2/dpaa2_frame.h
+165-0sys/dev/dpaa2/dpaa2_frame.c
+1-50sys/dev/dpaa2/dpaa2_swp.h
+5-4sys/dev/dpaa2/dpaa2_buf.c
+5-0sys/dev/dpaa2/dpaa2_types.h
+413-1994 files not shown
+419-20010 files

FreeBSD/src 4d062dbusr.bin/kdump kdump.c

kdump(1): add sys/ prefix for exterror source file name

This makes it consistent with libc formatting.

Requested by:   mckusick
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+1-1usr.bin/kdump/kdump.c
+1-11 files

FreeBSD/src 2bff747share/termcap termcap

termcap: fix screen entry standout mode (so/se) capabilities

so=\E[3m (italic) is incorrect, should be so=\E[7m (reverse video).
se=\E[23m (italic off) is incorrect, should be se=\E[27m (reverse off).

mr=\E[7m (reverse video) is correctly defined in the same entry.
screen-256color inherits from screen via tc=screen and is fixed
transitively.

PR:             294499
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2139
MFC after:      1 week

Signed-off-by: Dan Mahoney <freebsd at gushi.org>
DeltaFile
+2-2share/termcap/termcap
+2-21 files

FreeBSD/src 8bbba9ftools/build/options makeman.lua

makeman.lua: catch up to REQUIRED_OPTIONS change

161f8edc651c7 ("bsd.mkopt.mk: Prepare a list of all build options")
restructured things and now we should simply strip the leading double
underbar.  This fixes the oddity noticed in
4ed20e0236dd0 ("kshim/usb: Add build option."), where WITH_CASPER made
a surprise appearance.

This is a part of D56558, but not the meat of the change.

Reviewed by:    emaste, imp
DeltaFile
+1-1tools/build/options/makeman.lua
+1-11 files