FreeBSD/src be64968 (r314421)sys/arm/allwinner/clkng ccu_a31.c ccu_h3.c, sys/compat/svr4 svr4_stream.c svr4_misc.c

Merge ^/head r314270 through r314419.
DeltaFile
+0-2,043sys/compat/svr4/svr4_stream.c
+0-1,680sys/compat/svr4/svr4_misc.c
+936-0sys/arm/allwinner/clkng/ccu_a31.c
+0-732sys/compat/svr4/svr4_fcntl.c
+720-0sys/arm/allwinner/clkng/ccu_h3.c
+0-705sys/compat/svr4/svr4_stat.c
+1,656-5,160273 files not shown
+7,137-16,706279 files

FreeBSD/src efe3b0d (r314373)sys/compat/svr4 svr4_stream.c svr4_misc.c

Remove SVR4 (System V Release 4) binary compatibility support.

UNIX System V Release 4 is operating system released in 1988. It ceased
to exist in early 2000-s.
DeltaFile
+0-2,043sys/compat/svr4/svr4_stream.c
+0-1,680sys/compat/svr4/svr4_misc.c
+0-732sys/compat/svr4/svr4_fcntl.c
+0-705sys/compat/svr4/svr4_stat.c
+0-679sys/compat/svr4/svr4_ipc.c
+0-612sys/compat/svr4/svr4_termios.c
+0-6,45177 files not shown
+12-14,97583 files

FreeBSD/src 8c0b8b2 (r280258)sys/amd64/amd64 sys_machdep.c, sys/amd64/linux32 linux32_machdep.c

Merge r263233 from HEAD to stable/10:

  Update kernel inclusions of capability.h to use capsicum.h instead; some
  further refinement is required as some device drivers intended to be
  portable over FreeBSD versions rely on __FreeBSD_version to decide whether
  to include capability.h.

Sponsored by:   Google, Inc.
DeltaFile
+2-2sys/kern/subr_capability.c
+2-2sys/kern/kern_exec.c
+1-1sys/kern/vfs_extattr.c
+1-1sys/amd64/amd64/sys_machdep.c
+1-1sys/amd64/linux32/linux32_machdep.c
+1-1sys/arm/arm/sys_machdep.c
+8-861 files not shown
+69-6967 files

FreeBSD/src d899be7 (r277386)contrib/binutils/gas/doc as.txt, contrib/libpcap configure

Reintegrate head: r274132-r277384

Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-20,513contrib/texinfo/doc/texinfo.txi
+13,924-0contrib/binutils/gas/doc/as.txt
+8,483-4,577contrib/sqlite3/sqlite3.c
+0-12,516contrib/texinfo/ChangeLog.46
+4,193-7,562contrib/libpcap/configure
+7,271-3,768contrib/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+33,871-48,93610,147 files not shown
+863,766-560,31110,153 files

FreeBSD/src 8f0ea33 (r277148)contrib/binutils/gas/doc as.txt, contrib/libpcap configure

Reintegrate head revisions r273096-r277147

Sponsored by:   The FreeBSD Foundation
DeltaFile
+42,349-0contrib/ofed/libcxgb4/src/t4_regs.h
+0-20,513contrib/texinfo/doc/texinfo.txi
+13,924-0contrib/binutils/gas/doc/as.txt
+8,483-4,577contrib/sqlite3/sqlite3.c
+0-12,516contrib/texinfo/ChangeLog.46
+4,193-7,562contrib/libpcap/configure
+68,949-45,16810,911 files not shown
+988,642-584,98310,917 files

FreeBSD/src 4d56c13 (r274768)share/man/man9 vnet.9, sys/dev/virtio/mmio virtio_mmio.c

Sync to HEAD at r274766
DeltaFile
+0-1,085usr.sbin/faithd/ftp.c
+0-908usr.sbin/faithd/faithd.c
+395-419sys/dev/wl/if_wl.c
+800-0sys/dev/virtio/mmio/virtio_mmio.c
+61-695sys/kern/uipc_syscalls.c
+502-0share/man/man9/vnet.9
+1,758-3,107695 files not shown
+9,609-11,319701 files

FreeBSD/src 9268022 (r274683)contrib/netbsd-tests/sbin/resize_ffs testdata.tar.gz.base64, contrib/ofed/libcxgb4/src t4_regs.h

Merge from head at 274682
DeltaFile
+42,349-0contrib/ofed/libcxgb4/src/t4_regs.h
+22,450-15,124contrib/sqlite3/sqlite3.c
+13,003-12,943sys/dev/hptnr/amd64-elf.hptnr_lib.o.uu
+9,400-9,301sys/dev/hptnr/i386-elf.hptnr_lib.o.uu
+5,658-12,035contrib/sqlite3/configure
+10,938-0contrib/netbsd-tests/sbin/resize_ffs/testdata.tar.gz.base64
+103,798-49,4038,229 files not shown
+720,556-254,9838,235 files

FreeBSD/src 6e64665 (r274476)sys/compat/linux linux_file.c, sys/compat/svr4 svr4_stat.c

Remove the no-at variants of the kern_xx() syscall helpers.  E.g., we
have both kern_open() and kern_openat(); change the callers to use
kern_openat().

This removes one (sometimes two) levels of indirection and
consolidates arguments checks.

Reviewed by:    mckusick
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+48-182sys/kern/vfs_syscalls.c
+25-17sys/compat/linux/linux_file.c
+3-38sys/sys/syscallsubr.h
+19-14sys/i386/ibcs2/ibcs2_misc.c
+14-8sys/compat/svr4/svr4_stat.c
+4-18sys/kern/uipc_syscalls.c
+113-27717 files not shown
+185-32623 files

FreeBSD/src 6cec9ca (r266996)contrib/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

FreeBSD/src 3b8f084 (r265044)contrib/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

FreeBSD/src 84e51a1 (r264839)contrib/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

FreeBSD/src 1709ccf (r263907)contrib/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

FreeBSD/src 4a14441 (r263233)sys/compat/freebsd32 freebsd32_capability.c freebsd32_ioctl.c, sys/compat/linux linux_file.c

Update kernel inclusions of capability.h to use capsicum.h instead; some
further refinement is required as some device drivers intended to be
portable over FreeBSD versions rely on __FreeBSD_version to decide whether
to include capability.h.

MFC after:      3 weeks
DeltaFile
+2-2sys/kern/kern_exec.c
+2-2sys/kern/subr_capability.c
+1-1sys/compat/freebsd32/freebsd32_capability.c
+1-1sys/compat/freebsd32/freebsd32_ioctl.c
+1-1sys/compat/freebsd32/freebsd32_misc.c
+1-1sys/compat/linux/linux_file.c
+8-861 files not shown
+69-6967 files

FreeBSD/src 0bfd163 (r256726)sys/contrib/dev/iwn iwlwifi-6000g2a-18.168.6.1.fw.uu, sys/dev/bxe 57712_init_values.c bxe_init_values_e1h.h

Merge head r233826 through r256722.
DeltaFile
+56,200-0sys/dev/bxe/57712_init_values.c
+0-39,636sys/dev/bxe/bxe_init_values_e1h.h
+30,457-0sys/dev/bxe/57711_init_values.c
+0-30,346sys/dev/bxe/bxe_init_values_e1.h
+30,188-0sys/contrib/dev/iwn/iwlwifi-6000g2a-18.168.6.1.fw.uu
+29,161-0sys/dev/bxe/57710_init_values.c
+146,006-69,9828,320 files not shown
+1,317,536-821,2698,326 files

FreeBSD/src 1ccca3b (r256301)sys/contrib/dev/iwn iwlwifi-6000g2a-18.168.6.1.fw.uu, sys/dev/bxe 57712_init_values.c bxe_init_values_e1h.h

IFC @256277

Approved by:    ken (mentor)
DeltaFile
+56,200-0sys/dev/bxe/57712_init_values.c
+0-39,636sys/dev/bxe/bxe_init_values_e1h.h
+30,457-0sys/dev/bxe/57711_init_values.c
+0-30,346sys/dev/bxe/bxe_init_values_e1.h
+30,188-0sys/contrib/dev/iwn/iwlwifi-6000g2a-18.168.6.1.fw.uu
+29,161-0sys/dev/bxe/57710_init_values.c
+146,006-69,9826,884 files not shown
+1,113,793-753,6396,890 files

FreeBSD/src ef90af8 (r255720)contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM EmulateInstructionARM.cpp, contrib/openpam aclocal.m4

IFC @ r255692

Comment out IA32_MISC_ENABLE MSR access - this doesn't exist on AMD.
Need to sort out how arch-specific MSRs will be handled.
DeltaFile
+30,188-0sys/contrib/dev/iwn/iwlwifi-6000g2a-18.168.6.1.fw.uu
+24,904-0sys/contrib/dev/iwn/iwnwifi-2030-18.168.6.1.fw.uu
+13,625-0contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
+12,250-0sys/contrib/dev/iwn/iwlwifi-2000-18.168.6.1.fw.uu
+472-8,839contrib/openpam/aclocal.m4
+5,540-2,683sys/contrib/ipfilter/netinet/fil.c
+86,979-11,5224,594 files not shown
+829,908-128,7514,600 files

FreeBSD/src 4782331 (r255464)contrib/ipfilter ip_fil_compat.c, contrib/openpam aclocal.m4

IFC @ r255459
DeltaFile
+472-8,839contrib/openpam/aclocal.m4
+5,540-2,683sys/contrib/ipfilter/netinet/fil.c
+7,982-0contrib/openpam/m4/libtool.m4
+5,199-2,098sys/contrib/ipfilter/netinet/ip_nat.c
+4,854-0contrib/ipfilter/ip_fil_compat.c
+4,098-0sys/contrib/ipfilter/netinet/ip_nat6.c
+28,145-13,6201,345 files not shown
+107,269-51,2701,351 files

FreeBSD/src 0fbf163 (r255317)gnu/usr.bin/patch pch.c patch.c, sys/boot/fdt/dts imx53x.dtsi

MFC
DeltaFile
+0-1,449gnu/usr.bin/patch/pch.c
+0-971gnu/usr.bin/patch/patch.c
+46-719sys/dev/hwpmc/hwpmc_powerpc.c
+748-0sys/dev/hwpmc/hwpmc_mpc7xxx.c
+680-0sys/boot/fdt/dts/imx53x.dtsi
+0-594gnu/usr.bin/patch/patch.1
+1,474-3,733343 files not shown
+7,813-8,636349 files

FreeBSD/src d1d0158 (r255263)contrib/apr configure, contrib/cvs/src sanity.sh

Merge from head
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+30,703-0contrib/apr/configure
+0-30,254contrib/cvs/src/sanity.sh
+30,188-0sys/contrib/dev/iwn/iwlwifi-6000g2a-18.168.6.1.fw.uu
+351,510-30,25411,656 files not shown
+2,503,270-660,61611,662 files

FreeBSD/src 7008be5 (r255219)sys/kern subr_capability.c sys_capability.c, sys/sys capability.h

Change the cap_rights_t type from uint64_t to a structure that we can extend
in the future in a backward compatible (API and ABI) way.

The cap_rights_t represents capability rights. We used to use one bit to
represent one right, but we are running out of spare bits. Currently the new
structure provides place for 114 rights (so 50 more than the previous
cap_rights_t), but it is possible to grow the structure to hold at least 285
rights, although we can make it even larger if 285 rights won't be enough.

The structure definition looks like this:

        struct cap_rights {
                uint64_t        cr_rights[CAP_RIGHTS_VERSION + 2];
        };

The initial CAP_RIGHTS_VERSION is 0.

The top two bits in the first element of the cr_rights[] array contain total
number of elements in the array - 2. This means if those two bits are equal to

    [62 lines not shown]
DeltaFile
+285-0sys/kern/subr_capability.c
+137-104sys/sys/capability.h
+76-94sys/kern/sys_capability.c
+90-50sys/kern/vfs_syscalls.c
+78-59sys/kern/kern_descrip.c
+55-27sys/kern/uipc_syscalls.c
+721-33487 files not shown
+1,399-67293 files

FreeBSD/src 552311f (r253405)contrib/apr configure, contrib/apr-util configure

IFC @253398
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+65,039-0tools/tools/cxgbetool/reg_defs_t5.c
+37,786-0contrib/apr-util/configure
+30,720-0contrib/apr/configure
+424,164-010,866 files not shown
+2,242,417-779,77810,872 files

FreeBSD/src cfe30d0 (r251991)contrib/apr configure, contrib/apr-util configure

Merge fresh head.
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+65,039-0tools/tools/cxgbetool/reg_defs_t5.c
+37,786-0contrib/apr-util/configure
+30,720-0contrib/apr/configure
+424,164-014,987 files not shown
+2,853,377-989,56014,993 files

FreeBSD/src 69e6d7b (r249429)contrib/expat configure, contrib/ldns configure

sync from head
DeltaFile
+65,039-0tools/tools/cxgbetool/reg_defs_t5.c
+0-22,017contrib/expat/configure
+20,397-0contrib/unbound/configure
+18,892-0contrib/ldns/configure
+18,543-135sys/dev/cxgbe/common/t4_regs.h
+0-15,437games/fortune/datfiles/fortunes-o.real
+122,871-37,5894,211 files not shown
+591,470-261,1864,217 files

FreeBSD/src 2609222 (r247602)lib/libc/sys cap_rights_limit.2 cap_new.2, sys/kern sys_capability.c kern_descrip.c

Merge Capsicum overhaul:

- Capability is no longer separate descriptor type. Now every descriptor
  has set of its own capability rights.

- The cap_new(2) system call is left, but it is no longer documented and
  should not be used in new code.

- The new syscall cap_rights_limit(2) should be used instead of
  cap_new(2), which limits capability rights of the given descriptor
  without creating a new one.

- The cap_getrights(2) syscall is renamed to cap_rights_get(2).

- If CAP_IOCTL capability right is present we can further reduce allowed
  ioctls list with the new cap_ioctls_limit(2) syscall. List of allowed
  ioctls can be retrived with cap_ioctls_get(2) syscall.

- If CAP_FCNTL capability right is present we can further reduce fcntls

    [119 lines not shown]
DeltaFile
+395-340sys/kern/sys_capability.c
+331-332sys/kern/kern_descrip.c
+603-0lib/libc/sys/cap_rights_limit.2
+0-475lib/libc/sys/cap_new.2
+154-47sys/sys/capability.h
+158-0lib/libc/sys/cap_ioctls_limit.2
+1,641-1,19456 files not shown
+2,235-1,51962 files

FreeBSD/src 039ea81contrib/ipfilter .cvsignore, contrib/ipfilter/BSD .cvsignore

Copy releng/8.3 to release/8.3.0 as part of the 8.3-RELEASE build process.

Approved by:    re (implicit)

This commit was manufactured to restore the state of the 8.3-RELEASE image.
DeltaFile
+0-87contrib/ipfilter/test/.cvsignore
+0-28contrib/ipfilter/.cvsignore
+0-22contrib/ipfilter/BSD/.cvsignore
+0-13contrib/libpcap/.cvsignore
+0-12contrib/tcpdump/.cvsignore
+0-9contrib/ipfilter/iplang/.cvsignore
+0-17122,678 files not shown
+22,716-22,91522,684 files

FreeBSD/src 8fa0b74 (r230490)contrib/openpam configure aclocal.m4, sys/cam/ctl ctl.c

IFC @230489 (pending review).
DeltaFile
+9,076-16,162contrib/openpam/configure
+22,893-0sys/dev/hpt27xx/amd64-elf.hpt27xx_lib.o.uu
+15,583-0sys/dev/hpt27xx/i386-elf.hpt27xx_lib.o.uu
+13,085-0sys/cam/ctl/ctl.c
+6,175-4,220contrib/openpam/aclocal.m4
+6,441-3,740contrib/openpam/ltmain.sh
+73,253-24,1227,857 files not shown
+740,398-366,7917,863 files

FreeBSD/src 3ee1a36 (r227811)sys/dev/ath if_ath_tx.c, sys/dev/sfxge/common efx_regs.h efx_regs_mcdi.h

IFC @ r227804

Pull in the virtio drivers from head.
DeltaFile
+3,846-0sys/dev/sfxge/common/efx_regs.h
+3,035-223sys/dev/ath/if_ath_tx.c
+2,786-0sys/dev/sfxge/common/efx_regs_mcdi.h
+2,746-0sys/dev/virtio/network/if_vtnet.c
+2,682-0sys/dev/sfxge/common/efx_regs_ef10.h
+2,376-0sys/dev/sfxge/common/efx_regs_pci.h
+17,471-2231,425 files not shown
+101,316-14,0641,431 files

FreeBSD/src d3a993d (r227691)sys/amd64/linux32 syscalls.master, sys/compat/freebsd32 syscalls.master

Improve *access*() parameter name consistency.

The current code mixes the use of `flags' and `mode'. This is a bit
confusing, since the faccessat() function as a `flag' parameter to store
the AT_ flag.

Make this less confusing by using the same name as used in the POSIX
specification -- `amode'.
DeltaFile
+17-17sys/kern/vfs_syscalls.c
+6-6sys/compat/linux/linux_file.c
+3-3sys/compat/freebsd32/syscalls.master
+3-3sys/kern/syscalls.master
+2-2sys/i386/linux/syscalls.master
+2-2sys/amd64/linux32/syscalls.master
+33-334 files not shown
+37-3710 files

FreeBSD/src 70d8f36 (r226825)contrib/llvm/lib/Target/ARM/AsmParser ARMAsmParser.cpp, contrib/llvm/lib/Target/ARM/Disassembler ARMDisassembler.cpp ARMDisassemblerCore.cpp

IFC @ r226824
DeltaFile
+4,044-551contrib/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
+2,408-2,100contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp
+2,259-2,065contrib/llvm/tools/clang/lib/Serialization/ASTReader.cpp
+2,517-1,583contrib/llvm/lib/Target/X86/X86InstrSSE.td
+3,156-931contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+0-3,818contrib/llvm/lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
+14,384-11,0483,076 files not shown
+186,466-146,2293,082 files

FreeBSD/src 2744960 (r225905)bin/ps print.c, share/man/man9 mod_cc.9

MFC
DeltaFile
+368-368sys/sys/sysproto.h
+323-323sys/kern/init_sysent.c
+232-359bin/ps/print.c
+235-235sys/compat/freebsd32/freebsd32_sysent.c
+284-111usr.bin/usbhidctl/usbhid.c
+333-0share/man/man9/mod_cc.9
+1,775-1,396465 files not shown
+7,556-5,409471 files