OPNSense/src 7b43a80sys/dev/bhnd/cores/chipc/pwrctl bhnd_pwrctlvar.h, sys/dev/bhnd/cores/pci bhnd_pci_hostbvar.h bhnd_pcibvar.h

sys: Remove $FreeBSD$: one-line .h pattern

Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/

Similar commit in current:
(cherry picked from commit 2ff63af9b88c)
DeltaFile
+0-1sys/dev/bhnd/cores/chipc/pwrctl/bhnd_pwrctlvar.h
+0-1sys/dev/bhnd/cores/pci/bhnd_pci_hostbvar.h
+0-1sys/dev/bhnd/cores/pci/bhnd_pcibvar.h
+0-1sys/dev/bhnd/cores/pci/bhnd_pcivar.h
+0-1sys/dev/bhnd/cores/pcie2/bhnd_pcie2_hostbvar.h
+0-1sys/dev/bhnd/cores/pcie2/bhnd_pcie2_var.h
+0-6903 files not shown
+0-909909 files

OPNSense/src 2ff63afsys/arm/include in_cksum.h limits.h

sys: Remove $FreeBSD$: one-line .h pattern

Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
DeltaFile
+0-1sys/arm/include/in_cksum.h
+0-1sys/arm/include/limits.h
+0-1sys/arm/include/md_var.h
+0-1sys/arm/include/minidump.h
+0-1sys/arm/include/param.h
+0-1sys/arm/include/pcpu.h
+0-6739 files not shown
+0-745745 files

OPNSense/src 586ee69sys/fs/nfs nfs_commonkrpc.c nfs_commonsubs.c, sys/fs/nfsclient nfs_clrpcops.c nfs_clvfsops.c

fs: clean up empty lines in .c and .h files
DeltaFile
+15-18sys/fs/nfsclient/nfs_clrpcops.c
+6-8sys/fs/nfs/nfs_commonkrpc.c
+4-9sys/fs/nfsclient/nfs_clvfsops.c
+5-8sys/fs/nfsserver/nfs_nfsdport.c
+5-7sys/fs/nfsclient/nfs_clvnops.c
+6-6sys/fs/nfs/nfs_commonsubs.c
+41-5668 files not shown
+72-18074 files

OPNSense/src cd3acfesys/fs/ext2fs ext2_extents.c ext2_inode_cnv.c

Add BE architectures support.

Author of most initial version: pfg (https://reviews.freebsd.org/D23259)

Reviewed by:    pfg
MFC after:      3 months

Differential Revision:    https://reviews.freebsd.org/D24685
DeltaFile
+116-104sys/fs/ext2fs/ext2_extents.c
+101-73sys/fs/ext2fs/ext2_inode_cnv.c
+84-71sys/fs/ext2fs/ext2_alloc.c
+78-68sys/fs/ext2fs/ext2_csum.c
+79-64sys/fs/ext2fs/ext2_vfsops.c
+73-60sys/fs/ext2fs/ext2_extattr.c
+531-44010 files not shown
+695-57216 files

OPNSense/src 41ba6e2share/colldef zh_CN.GB18030.src zh_CN.UTF-8.src, sys/dev/qlnx/qlnxe ecore_init_values.h

src: clean-cut move to releng/12.1

Taken from: FreeBSD
Commit ref: 991ac913fd9
DeltaFile
+70,239-70,390share/colldef/zh_CN.GB18030.src
+51,685-49,575sys/dev/qlnx/qlnxe/ecore_init_values.h
+42,270-42,546share/colldef/zh_CN.UTF-8.src
+36,985-37,199share/colldef/zh_CN.GBK.src
+0-59,053usr.bin/fortune/datfiles/fortunes
+20,052-20,058share/colldef/ko_KR.UTF-8.src
+221,231-278,82144,193 files not shown
+4,744,721-3,828,67644,199 files

OPNSense/src f993ed2sbin/camcontrol camcontrol.c, stand/efi/libefi efi_console.c

Merge ^/head r351732 through r352104.
DeltaFile
+655-481stand/i386/libi386/vidconsole.c
+421-599sbin/camcontrol/camcontrol.c
+686-227sys/netinet/tcp_lro.c
+0-910usr.sbin/pc-sysinstall/backend/functions-disk.sh
+0-784usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh
+332-377stand/efi/libefi/efi_console.c
+2,094-3,378428 files not shown
+5,533-14,516434 files

OPNSense/src fe8b345sys/fs/ext2fs ext2_extattr.c ext2_extents.c

ext2fs: Remove redundant brelse() after r294954

Coccinelle:

@ rule1 @
 identifier __error;
@@
 ...
 int __error;
 ...

@ rule2 depends on rule1 @
 identifier rule1.__error;
 identifier __bp;
@@

 __error =
(
 bread

    [21 lines not shown]
DeltaFile
+0-5sys/fs/ext2fs/ext2_extattr.c
+0-3sys/fs/ext2fs/ext2_extents.c
+0-3sys/fs/ext2fs/ext2_alloc.c
+0-3sys/fs/ext2fs/ext2_balloc.c
+0-1sys/fs/ext2fs/ext2_vfsops.c
+0-155 files

OPNSense/src a63915ccontrib/sqlite3 sqlite3.c shell.c, contrib/unbound Makefile.in

MFHead @r350386

Sponsored by:   The FreeBSD Foundation
DeltaFile
+4,020-3,109contrib/sqlite3/sqlite3.c
+1,815-26contrib/sqlite3/shell.c
+970-568sbin/camcontrol/camcontrol.c
+705-632sys/netinet/tcp_hpts.c
+1,263-0sys/dev/ntb/ntb_hw/ntb_hw_amd.c
+443-522contrib/unbound/Makefile.in
+9,216-4,857982 files not shown
+36,230-17,837988 files

OPNSense/src c008656sys/fs/ext2fs ext2_balloc.c

Remove ufs fragments logic.

The ext2fs fragments are different from ufs fragments.
In case of ext2fs the fragment should be equal or more then block size.
The values more than block size are used only in case of bigalloc feature, which is does not supported for now.

Reported by:    Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE
Reported as:    FS-22-EXT2-9: Denial of service in ftruncate-0 (ext2_balloc)

MFC after:      2 weeks
DeltaFile
+15-71sys/fs/ext2fs/ext2_balloc.c
+15-711 files

OPNSense/src 590517dsys/fs/ext2fs ext2_balloc.c

Remove unneeded mount point unlock call.

Reported by:    Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE
Reported as:    FS-11-EXT2-6: Denial Of Service in write-1 (ext2_balloc)

MFC after:      2 weeks
DeltaFile
+0-1sys/fs/ext2fs/ext2_balloc.c
+0-11 files

OPNSense/src 4b49587sys/i386/i386 npx.c, sys/i386/isa npx.c

Merge ^/head r327341 through r327623.
DeltaFile
+0-3,076sys/mips/rmi/dev/sec/rmilib.c
+0-3,070sys/mips/rmi/dev/sec/desc.h
+0-2,565sys/mips/rmi/dev/nlge/if_nlge.c
+0-1,613sys/mips/idt/if_kr.c
+0-1,430sys/i386/isa/npx.c
+1,430-0sys/i386/i386/npx.c
+1,430-11,754815 files not shown
+6,551-46,919821 files

OPNSense/src 3acd918sys/fs/ext2fs ext2_alloc.c ext2_vfsops.c

Add 64bit feature support.

Reviewed by:    kevlo, pfg (mentor)
Approved by:    pfg (mentor)
MFC after:      6 months

Differential Revision:    https://reviews.freebsd.org/D11530
DeltaFile
+159-73sys/fs/ext2fs/ext2_alloc.c
+58-21sys/fs/ext2fs/ext2_vfsops.c
+23-16sys/fs/ext2fs/ext2_balloc.c
+17-7sys/fs/ext2fs/ext2fs.h
+2-1sys/fs/ext2fs/ext2_extents.h
+2-0sys/fs/ext2fs/ext2_extern.h
+261-1186 files not shown
+267-12312 files

OPNSense/src 82725bacontrib/less funcs.h, sys/arm/allwinner/clkng ccu_a83t.c

Merge ^/head r325999 through r326131.
DeltaFile
+846-0sys/dev/bhnd/cores/chipc/chipc_gpio.c
+779-0sys/arm/allwinner/clkng/ccu_a83t.c
+732-0sys/contrib/cloudabi/cloudabi_vdso_armv6_on_64bit.S
+698-0sys/mips/broadcom/bcm_mips.c
+586-104sys/dev/bhnd/siba/siba.c
+310-300contrib/less/funcs.h
+3,951-4042,697 files not shown
+19,554-4,6862,703 files

OPNSense/src 5136964sys/fs/fuse fuse_io.c fuse_internal.c

sys: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
DeltaFile
+3-1sys/fs/fuse/fuse_io.c
+3-1sys/fs/fuse/fuse_internal.c
+3-1sys/fs/fuse/fuse_file.h
+3-1sys/fs/fuse/fuse_file.c
+3-1sys/fs/fuse/fuse_device.c
+3-1sys/fs/fuse/fuse_debug.h
+18-6870 files not shown
+1,790-35876 files

OPNSense/src c2c014fshare/colldef zh_CN.GB18030.src zh_CN.UTF-8.src, sys/contrib/dev/iwm iwm-8265-22.fw.uu

Merge ^/head r323559 through r325504.
DeltaFile
+39,091-38,998share/colldef/zh_CN.GB18030.src
+35,281-35,290share/colldef/zh_CN.UTF-8.src
+29,823-29,813share/colldef/zh_CN.GBK.src
+40,270-0sys/contrib/dev/iwm/iwm-8265-22.fw.uu
+13,278-13,184share/colldef/zh_TW.Big5.src
+12,829-12,835share/colldef/zh_CN.GB2312.src
+170,572-130,1204,633 files not shown
+407,579-285,9794,639 files

OPNSense/src 0a8f81blib/libstand nandfs.c, sys/boot/common loader.8

MFhead at r324837

While here, diff reduce some of the changes in sys/boot by moving
MK_COVERAGE=no to sys/boot/Makefile.inc .
DeltaFile
+1,498-133sys/fs/ext2fs/ext2_extents.c
+0-1,101sys/boot/common/loader.8
+1,101-0sys/boot/man/loader.8
+1,061-0sys/boot/libsa/nandfs.c
+0-1,061lib/libstand/nandfs.c
+652-372sys/contrib/dev/acpica/common/dmtbdump.c
+4,312-2,6671,099 files not shown
+45,939-31,0061,105 files

OPNSense/src b394cd1sys/fs/ext2fs ext2_extents.c ext2_inode.c

Add inital extents read-write support.

Approved by:    pfg (mentor)
MFC after:      6 months
RelNotes:       Yes

Differential Revision:    https://reviews.freebsd.org/D12087
DeltaFile
+1,501-133sys/fs/ext2fs/ext2_extents.c
+229-124sys/fs/ext2fs/ext2_inode.c
+8-142sys/fs/ext2fs/ext2_vnops.c
+74-0sys/fs/ext2fs/ext2_balloc.c
+27-32sys/fs/ext2fs/ext2_bmap.c
+4-45sys/fs/ext2fs/ext2_subr.c
+1,843-4768 files not shown
+1,925-53114 files

OPNSense/src 3c09b4cshare/colldef zh_CN.GB18030.src zh_CN.UTF-8.src, sys/dev/qlnx/qlnxe reg_addr.h

src: clean-cut move to release/11.1.0

Taken from: FreeBSD
Commit ref: 2f4b735c66d
DeltaFile
+148,690-148,722sys/dev/qlxgbe/ql_fw.c
+117,667-0share/colldef/zh_CN.GB18030.src
+87,561-0sys/dev/qlnx/qlnxe/reg_addr.h
+42,335-43,785share/colldef/zh_CN.UTF-8.src
+0-65,101tools/tools/cxgbetool/reg_defs_t5.c
+65,101-0usr.sbin/cxgbetool/reg_defs_t5.c
+461,354-257,60815,257 files not shown
+2,893,548-1,479,44315,263 files

OPNSense/src a3906cacontrib/libpcap gencode.c pcap-rpcap.c, sys/dev/axgbe xgbe-dev.c

Merge ^/head r313644 through r313895.
DeltaFile
+2,890-2,643contrib/libpcap/gencode.c
+2,307-0sys/dev/axgbe/xgbe-dev.c
+2,127-0contrib/libpcap/pcap-rpcap.c
+1,821-0contrib/libpcap/configure.ac
+0-1,716contrib/libpcap/configure.in
+1,064-550contrib/libpcap/configure
+10,209-4,909580 files not shown
+39,258-23,063586 files

OPNSense/src 1dc349alib/libstand ext2fs.c ufs.c, sbin/fsck_ffs inode.c

prefix UFS symbols with UFS_ to reduce namespace pollution

Specifically:
  ROOTINO -> UFS_ROOTINO
  WINO -> UFS_WINO
  NXADDR -> UFS_NXADDR
  NDADDR -> UFS_NDADDR
  NIADDR -> UFS_NIADDR
  MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Also prefix ext2's and nandfs's NDADDR and NIADDR with EXT2_ and NANDFS_

Reviewed by:    kib, mckusick
Obtained from:  NetBSD
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D9536
DeltaFile
+66-58sys/ufs/ffs/ffs_softdep.c
+45-45sys/ufs/ffs/ffs_snapshot.c
+23-23lib/libstand/ext2fs.c
+22-22sbin/fsck_ffs/inode.c
+21-21sys/fs/nandfs/bmap.c
+20-20lib/libstand/ufs.c
+197-18957 files not shown
+587-56563 files

OPNSense/src bf9a211sys/fs/ext2fs ext2_alloc.c ext2_vnops.c

style(9) cleanups.

Just to reduce some of the issues found with indent(1).

MFC after:      1 week
DeltaFile
+70-65sys/fs/ext2fs/ext2_alloc.c
+34-32sys/fs/ext2fs/ext2_vnops.c
+28-28sys/fs/ext2fs/ext2_lookup.c
+26-25sys/fs/ext2fs/ext2_inode_cnv.c
+23-19sys/fs/ext2fs/ext2_balloc.c
+20-18sys/fs/ext2fs/ext2_vfsops.c
+201-18714 files not shown
+295-28020 files

OPNSense/src 4f9d94bsys/contrib/ck/src ck_rhs.c, sys/dev/cxgbe/firmware t5fw-1.16.12.0.bin.uu t5fw-1.15.37.0.bin.uu

Merge ^/head r309263 through r309518.
DeltaFile
+10,663-0sys/dev/cxgbe/firmware/t5fw-1.16.12.0.bin.uu
+0-10,501sys/dev/cxgbe/firmware/t5fw-1.15.37.0.bin.uu
+9,594-0sys/dev/cxgbe/firmware/t4fw-1.16.12.0.bin.uu
+0-9,522sys/dev/cxgbe/firmware/t4fw-1.15.37.0.bin.uu
+8,839-0sys/dev/cxgbe/firmware/t6fw-1.16.12.0.bin.uu
+1,480-0sys/contrib/ck/src/ck_rhs.c
+30,576-20,023305 files not shown
+56,476-22,612311 files

OPNSense/src fca1547sys/fs/ext2fs ext2_alloc.c ext2_balloc.c

ext2fs: renumber the license clauses to avoid skipping #3.

This is to keep consistency with other files, and help license-checking
utilities determine the number of clauses that apply.

No functional change.
DeltaFile
+1-1sys/fs/ext2fs/ext2_alloc.c
+1-1sys/fs/ext2fs/ext2_balloc.c
+1-1sys/fs/ext2fs/ext2_bmap.c
+1-1sys/fs/ext2fs/ext2_extern.h
+1-1sys/fs/ext2fs/ext2_inode.c
+1-1sys/fs/ext2fs/ext2_lookup.c
+6-66 files not shown
+12-1212 files

OPNSense/src 87f480acontrib/atf configure, contrib/atf/admin ltmain.sh

*: upgrade to 10.1 as a bulk commit

Taken from: freebsd.git at 29f4af53a2c8248b634f48923da8eb35f5ed0515
DeltaFile
+13,003-12,943sys/dev/hptnr/amd64-elf.hptnr_lib.o.uu
+0-19,965contrib/atf/configure
+9,400-9,301sys/dev/hptnr/i386-elf.hptnr_lib.o.uu
+9,664-0contrib/file/ltmain.sh
+0-9,655contrib/atf/admin/ltmain.sh
+9,028-0sys/dev/cxgbe/firmware/t5fw-1.11.27.0.bin.uu
+41,095-51,86415,600 files not shown
+1,214,434-595,35915,606 files

OPNSense/src 402e7ddcontrib/libstdc++ configure, contrib/sqlite3 sqlite3.c

src: initial commit based on FreeBSD-10.0

Taken from:     https://github.com/freebsd/freebsd.git
Commit id:      d44ce30d3054a38723f89a161c5e003e64d1aaae
DeltaFile
+235,924-0share/dict/web2
+140,456-0contrib/sqlite3/sqlite3.c
+131,072-0crypto/heimdal/lib/sqlite/sqlite3.c
+111,817-0contrib/libstdc++/configure
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+76,205-0share/dict/web2a
+779,118-057,191 files not shown
+25,061,271-057,197 files

OPNSense/src 6cec9cacontrib/libyaml configure, contrib/ncurses configure

MFC @ r266724

An SVM update will follow this.
DeltaFile
+7,791-5,491contrib/ncurses/doc/html/NCURSES-Programming-HOWTO.html
+0-13,149contrib/libyaml/configure
+12,344-0sys/contrib/dev/iwn/iwlwifi-135-6-18.168.6.1.fw.uu
+12,141-0sys/contrib/dev/iwn/iwlwifi-105-6-18.168.6.1.fw.uu
+7,684-3,239contrib/ncurses/configure
+10,328-0sys/dev/i40e/i40e_register_x710_int.h
+50,288-21,87914,123 files not shown
+999,586-592,61614,129 files

OPNSense/src 3b8f084contrib/atf configure, contrib/libyaml configure

Merge head
DeltaFile
+0-19,965contrib/atf/configure
+7,791-5,491contrib/ncurses/doc/html/NCURSES-Programming-HOWTO.html
+0-13,149contrib/libyaml/configure
+12,344-0sys/contrib/dev/iwn/iwlwifi-135-6-18.168.6.1.fw.uu
+12,141-0sys/contrib/dev/iwn/iwlwifi-105-6-18.168.6.1.fw.uu
+7,684-3,239contrib/ncurses/configure
+39,960-41,84415,633 files not shown
+1,046,736-689,80015,639 files

OPNSense/src 84e51a1contrib/atf configure, contrib/libyaml configure

IFC @264767
DeltaFile
+0-19,965contrib/atf/configure
+7,791-5,491contrib/ncurses/doc/html/NCURSES-Programming-HOWTO.html
+0-13,149contrib/libyaml/configure
+12,344-0sys/contrib/dev/iwn/iwlwifi-135-6-18.168.6.1.fw.uu
+12,141-0sys/contrib/dev/iwn/iwlwifi-105-6-18.168.6.1.fw.uu
+7,684-3,239contrib/ncurses/configure
+39,960-41,84415,710 files not shown
+946,817-706,72515,716 files

OPNSense/src 1709ccfcontrib/libyaml configure aclocal.m4, contrib/libyaml/config ltmain.sh

Merge head up to r263906.
DeltaFile
+7,791-5,491contrib/ncurses/doc/html/NCURSES-Programming-HOWTO.html
+0-13,149contrib/libyaml/configure
+7,684-3,239contrib/ncurses/configure
+0-8,917contrib/libyaml/aclocal.m4
+0-8,413contrib/libyaml/config/ltmain.sh
+5,320-0contrib/ncurses/ncurses/llib-lncursestw
+20,795-39,2095,613 files not shown
+260,088-246,6895,619 files

OPNSense/src 3a54024sys/fs/ext2fs ext2fs.h ext2_alloc.c

ext2fs: use of tab vs spaces.

Consistently use a single tab after a #define as mentioned in style(9).
Use tabs instead of space for indenting.
Fix a typo: "hash_vesion".

No functional change.

MFC after:      3 days
DeltaFile
+58-58sys/fs/ext2fs/ext2fs.h
+50-50sys/fs/ext2fs/ext2_alloc.c
+31-31sys/fs/ext2fs/ext2_dinode.h
+16-16sys/fs/ext2fs/fs.h
+15-16sys/fs/ext2fs/ext2_dir.h
+13-14sys/fs/ext2fs/ext2_vnops.c
+183-18511 files not shown
+215-21717 files