Displaying 1 50 of 334,107 commits (0.040s)

FreeBSD — head/stand/efi/loader Makefile

Install links for loader.efi.

Submitted by: ben wilber
Delta File
+4 -0 head/stand/efi/loader/Makefile
+4 -0 1 file

FreeBSD — head/sys/dev/ipmi ipmi.c, head/sys/modules/ipmi Makefile

Fix a module Makefile error on amd64 so the IPMI HW interfaces are built.
When the module is being unloaded and no HW interfaces were created don't
clean up.  This was exposed by the amd64 module build issue.

FreeBSD — stable/10/sys/dev/sbni if_sbni.c

MFC r337727 (rewritten due to unmerged API change in 11+):

Copy out from kernel to data, not the other way around.

Sponsored by:        DARPA, AFRL
Delta File
+1 -1 stable/10/sys/dev/sbni/if_sbni.c
+1 -1 1 file

FreeBSD — head/tests/sys/opencrypto runtests.sh

Fix the sys/opencrypto/runtests test when aesni(4) is already loaded

Apparently kldstat requires the full module name, including busname

Reported by:        Jenkins
MFC after:        2 weeks

FreeBSD — stable/10/release/doc/share/xml security.xml, stable/11/release/doc/share/xml security.xml

Document SA-18:09 through SA-18:11.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/11/sys/dev/sbni if_sbni.c

MFC r337727:

Copy out from kernel to data, not the other way around.

Sponsored by:        DARPA, AFRL
Delta File
+1 -1 stable/11/sys/dev/sbni/if_sbni.c
+1 -1 1 file

FreeBSD — stable/10/release/tools gce.conf, stable/11/release/tools gce.conf

MFC r337717, r337718:

 r337717:
  Add lang/python2, lang/python3, and lang/python to GCE images
  to help avoid hard-coding 'python<MAJOR>.<MINOR>' in several
  scripts in the client-side scripts. [1]

 r337718:
  Add a space between a variable and escaped new line.

PR:                230248 [1]
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/lib/libcasper/libcasper libcasper.3

Fix typo.

MFC after:        2 weeks
Sponsored by:        DARPA, AFRL

FreeBSD — head/share/man/man7 build.7

build(7): Document KERNCONFDIR - directory in which KERNCONF resides

MFC after:        1 week
Delta File
+9 -1 head/share/man/man7/build.7
+9 -1 1 file

FreeBSD — head/share/man/man7 ports.7

Tidy up the ports.7 manual page.

  - Use "Dq Li" for inline commands as we do in other manuals.
  - Pet "igor" and "mandoc -Tlint".
  - Reword some parts for clarity.
  - Add missing Xr macros.
  - Reformat SEE ALSO to make the section more readable.

Reviewed by:        eadler, krion, mat
Approved by:        krion (mentor), mat (mentor)
Differential Revision:        https://reviews.freebsd.org/D15350
Delta File
+34 -24 head/share/man/man7/ports.7
+34 -24 1 file

FreeBSD — head/lib/libc/resolv res_init.c, head/share/man/man5 resolver.5

Allow the use of TCP instead of UDP for queries by setting options usevc
in resolv.conf which sets RES_USEVC.

Reviewed by:        ume
MFC after:        17 days
Differential Revision:        https://reviews.freebsd.org/D16607

FreeBSD — head/sys/arm/arm pmap-v4.c, head/sys/arm/include pmap-v4.h

Remove the L1 and L2 xscale page defines and rename the generic macros to
the common name. While here move the macros to check these into pmap-v4.c
as they're only used there.

Sponsored by:        DARPA, AFRL

FreeBSD — stable/11/sys/netpfil/ipfw/pmod tcpmod.c

MFC r337469:
  Use host byte order when comparing mss values.

  This fixes tcp-setmss action on little endian machines.

  PR:                225536
  Submitted by:        John Zielinski

FreeBSD — head/share/man/man5 src.conf.5

src.conf.5: regen after r337899 WITH_LLD_IS_LD on armv7
Delta File
+3 -3 head/share/man/man5/src.conf.5
+3 -3 1 file

FreeBSD — head/sys/netinet6 in6_gif.c

Properly initialize IP version in IPv6 header. This was missed in r334673.

Reported by:        Lars Schotte <lars at gustik dot eu>
Delta File
+1 -0 head/sys/netinet6/in6_gif.c
+1 -0 1 file

FreeBSD — head/share/mk src.opts.mk

Enable LLD_IS_LD by default on armv7

lld should now be a usable linker for armv7, and is already used as the
bootstrap linker (for linking the kernel and userland).  Also enable as
the system linker now (/usr/bin/ld) for further testing and evaluation.
(This change will be reverted in case of unexpected fallout.)

Approved by:        manu
Sponsored by:        The FreeBSD Foundation
Delta File
+2 -2 head/share/mk/src.opts.mk
+2 -2 1 file

FreeBSD — stable/11/sys/compat/linuxkpi/common/include/asm atomic.h atomic64.h, stable/11/sys/compat/linuxkpi/common/include/linux bitops.h

MFC r337527:
Use atomic_fcmpset_XXX() instead of atomic_cmpset_XXX() when possible
in the LinuxKPI.

Suggested by:        mjg @
Sponsored by:        Mellanox Technologies

FreeBSD — stable/11/sys/compat/linuxkpi/common/include/linux workqueue.h sched.h, stable/11/sys/compat/linuxkpi/common/src linux_work.c

MFC r337376:
Implement current_work() function in the LinuxKPI.

Tested by:        Johannes Lundberg <johalun0 at gmail.com>
Sponsored by:        Mellanox Technologies

FreeBSD — stable/11/sys/compat/linuxkpi/common/include/asm atomic-long.h

MFC r337374:
Implement atomic_long_cmpxchg() function in the LinuxKPI.

Submitted by:        Johannes Lundberg <johalun0 at gmail.com>
Sponsored by:        Mellanox Technologies

FreeBSD — stable/11/sys/compat/linuxkpi/common/include/linux types.h

MFC r337373:
Define __poll_t type in the LinuxKPI.

Submitted by:        Johannes Lundberg <johalun0 at gmail.com>
Sponsored by:        Mellanox Technologies

FreeBSD — stable/11/sys/compat/linuxkpi/common/include/linux ktime.h

MFC r337232:
Implement ktime_add_ms() and ktime_before() in the LinuxKPI.

Submitted by:        Johannes Lundberg <johalun0 at gmail.com>
Sponsored by:        Mellanox Technologies

FreeBSD — stable/11/sys/i386/include atomic.h

MFC r337529:
Implement missing atomic_fcmpset_XXX() support for i386.

Sponsored by:                Mellanox Technologies
Delta File
+51 -0 stable/11/sys/i386/include/atomic.h
+51 -0 1 file

FreeBSD — head/share/misc pci_vendors

[pci_vendors] Update pci_vendors to 2018.08.12
Delta File
+566 -240 head/share/misc/pci_vendors
+566 -240 1 file

FreeBSD — head/stand/i386/libi386 biosdisk.c

libi386: bd_io_workaround() is to be called for reads only

bd_io() can perform either reads or writes, we only need bd_io_workaround()
for reads.

FreeBSD — head/stand/i386/libi386 biosdisk.c

libi386: small style updates in biosdisk

Use break instead of return in for loop, as done earlier. Insert and remove
some blank lines. No functional changes intended.

FreeBSD — head/usr.sbin/bhyve pci_nvme.c

Fix a resource leak when using strdup(3) and also fix few style(9).

Reported by:        Coverity
CID:                1394929
MFC after:        1 week
Sponsored by:        iXsystems Inc.
Delta File
+3 -3 head/usr.sbin/bhyve/pci_nvme.c
+3 -3 1 file

FreeBSD — head/usr.sbin/bhyve pci_nvme.c

Remove duplicated code.

Reported by:        Coverity
CID:                1394893
MFC after:        1 week
Sponsored by:        iXsystems Inc.
Delta File
+0 -5 head/usr.sbin/bhyve/pci_nvme.c
+0 -5 1 file

FreeBSD — head/usr.sbin/bhyve pci_nvme.c

Add a comment explaining how the PSN works and why there is no need for
a null terminator. Also mark CID 1394825 as intentional.

Reported by:        Coverity
CID:                1394825
MFC after:        1 week
Sponsored by:        iXsystems Inc.
Delta File
+5 -0 head/usr.sbin/bhyve/pci_nvme.c
+5 -0 1 file

FreeBSD — head/usr.sbin/bhyve pci_nvme.c

Increase the mask from 15 to 255 or otherwise NVME_FEAT_SOFTWARE_PROGRESS
will never be reached.

Discussed with:        Leon Dang and Darius Mihai <dariusmihaim at gmail.com>
MFC after:        1 week.
Sponsored by:        iXsystems Inc.
Delta File
+2 -2 head/usr.sbin/bhyve/pci_nvme.c
+2 -2 1 file

FreeBSD — head/bin/ls ls.c

ls(1): Fix color env var checking

CLICOLOR will behavior as always- if present at all in the environment,
allow colors.

COLORTERM, recently enforced, will have to be both present and not empty.

Submitted by:        imp
Delta File
+25 -2 head/bin/ls/ls.c
+25 -2 1 file

FreeBSD — stable/11/bin/ls ls.1 ls.c

Revert r337826: MFC of ls(1) COLORTERM honoring

It was not ready, and was much-objected-to.
Delta File
+2 -12 stable/11/bin/ls/ls.1
+1 -1 stable/11/bin/ls/ls.c
+3 -13 2 files

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs spa_misc.c vdev_queue.c

Add couple tunables/sysctl, missed in r336949.

FreeBSD — head/bin/csh dot.cshrc Makefile, head/bin/sh dot.profile Makefile

Revert parts of r337849 and r337857

This fixes the build and I will redo these changes as part of a future review
that organizes them differently.  The way I tried to do it here could be done
better.  Sorry for the noise.

Approved by:        will (mentor)
Differential Revision:        https://reviews.freebsd.org/D16737
Delta File
+0 -43 head/bin/csh/dot.cshrc
+43 -0 head/etc/root/dot.cshrc
+16 -0 head/etc/Makefile
+16 -0 head/etc/root/dot.profile
+0 -16 head/bin/sh/dot.profile
+1 -11 head/bin/csh/Makefile
+2 -10 2 files not shown
+78 -80 8 files

FreeBSD — head/stand/i386/libi386 biosdisk.c

libi386: use BD_RD and BR_WR constants

Use BD_RD and BD_WR instead of 0 and 1.

Reported by:        ian

FreeBSD — stable/10/lib/libjail jail.c

Load filesystem modules associated with allow.mount permissions.

PR:                192092
Delta File
+12 -1 stable/10/lib/libjail/jail.c
+12 -1 1 file

FreeBSD — stable/11/lib/libjail jail.c

Load filesystem modules associated with allow.mount permissions.

PR:                192092
Delta File
+12 -1 stable/11/lib/libjail/jail.c
+12 -1 1 file

FreeBSD — head/stand/i386/libi386 biosdisk.c

libi386: remove bd_read() and bd_write() wrappers

Those wroappers are nice, but do not really add much value.
Delta File
+3 -20 head/stand/i386/libi386/biosdisk.c
+3 -20 1 file

FreeBSD — head/sys/modules/dtb/am335x Makefile

am335x: Add pocketbeagle DTS to the build

U-Boot works for this board since 2018.07 and the DTS is now present
in the tree.

FreeBSD — stable/10/lib/libjail jail.c

MFC r331332:

  If a jail parameter isn't found, try loading a related kernel module.

PR:                192092
Delta File
+32 -0 stable/10/lib/libjail/jail.c
+32 -0 1 file

FreeBSD — stable/11/lib/libjail jail.c

MFC r331332:

  If a jail parameter isn't found, try loading a related kernel module.

PR:                192092
Delta File
+32 -0 stable/11/lib/libjail/jail.c
+32 -0 1 file

FreeBSD — head/stand/libsa/zfs zfs.c

libsa: zfs_probe() needs to set spa to NULL

Silence the warning about possibly uninitialized use of spa.
Delta File
+1 -0 head/stand/libsa/zfs/zfs.c
+1 -0 1 file

FreeBSD — head/sys/dev/cxgbe t4_main.c adapter.h, head/sys/dev/cxgbe/tom t4_connect.c

cxgbe(4): Use VLAN_TRUNKDEV instead of private cookie to figure out the
parent of a VLAN ifnet.

MFC after:        1 week
Sponsored by:        Chelsio Communications

FreeBSD — head/stand/i386/libi386 biosdisk.c bioscd.c

libi386: remove BD_SUPPORT_FRAGS

BD_SUPPORT_FRAGS is preprocessor knob to allow partial reads in bioscd/biosdisk
level. However, we already have support for partial reads in bcache, and there
is no need to have duplication via preprocessor controls.

Note that bioscd/biosdisk interface is assumed to perform IO in 512B blocks,
so the only translation we have to do is 512 <-> native block size.

Differential Revision:        https://reviews.freebsd.org/D16600

FreeBSD — head/stand/libsa pkgfs.c

pkgfs_init: Initialize pkg

new_package may not set *pp if it errors out, leaving pkg uninitialized.

Reported by:        GCC
Delta File
+1 -0 head/stand/libsa/pkgfs.c
+1 -0 1 file

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dsl_scan.c

Fix mismerge in r337196.

ZoL did the same mistake, and fixed it with separate commit 863522b1f9:

dsl_scan_scrub_cb: don't double-account non-embedded blocks

We were doing count_block() twice inside this function, once
unconditionally at the beginning (intended to catch the embedded block
case) and once near the end after processing the block.

The double-accounting caused the "zpool scrub" progress statistics in
"zpool status" to climb from 0% to 200% instead of 0% to 100%, and
showed double the I/O rate it was actually seeing.

This was apparently a regression introduced in commit 00c405b4b5e8,
which was an incorrect port of this OpenZFS commit:

    https://github.com/openzfs/openzfs/commit/d8a447a7

Reviewed by: Thomas Caputi <tcaputi at datto.com>
Reviewed by: Matt Ahrens <matt at delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: George Melikov <mail at gmelikov.ru>
Signed-off-by: Steven Noonan <steven at uplinklabs.net>
Closes #7720

    [3 lines not shown]

FreeBSD — head/bin/dd extern.h

dd(1): Kill off duplicate progress definition following r337865

Reported by:        mmacy
Delta File
+0 -1 head/bin/dd/extern.h
+0 -1 1 file

FreeBSD — head/stand defs.mk

stand: Use -Oz/-Os for all loader/stand builds.

While we're not super size constrained, the x86 BIOS /boot/loader has
to be less than about 520k-530k to be reliable. The LUA loader is at
this size today. -Oz saves 15-20% on the size, keeping us safely small
enough (comparable to where we were with the 4th loader). This will
also help with sjg's work on bringing in bearssl, though we may again
be looking for space in the LUA loader.

Size table for clang 6.0.0:
        default                -O1                -Os                -Oz
4th        442368                417792                389120                376832
lua        524288                479232                446464                430080

Tested by: kevans91@ (ubldr on armv7), dhw@ (loader on amdy64)
Differential Revision: https://reviews.freebsd.org/D16724
Delta File
+6 -1 head/stand/defs.mk
+6 -1 1 file

FreeBSD — head/usr.sbin/jail jail.c

Don't let clobber jailparam values when checking for modification of
init-only parameters.

Compare string parameter values with strncmp, not memcmp.

PR:                230487
Reported by:        Jason Mader
MFC after:        3 days
Delta File
+8 -3 head/usr.sbin/jail/jail.c
+8 -3 1 file

FreeBSD — head/sys/net if.c if_var.h, head/sys/netinet in_mcast.c in_pcb.c

Fix in6_multi double free

This is actually several different bugs:
- The code is not designed to handle inpcb deletion after interface deletion
  - add reference for inpcb membership
- The multicast address has to be removed from interface lists when the refcount
  goes to zero OR when the interface goes away
  - decouple list disconnect from refcount (v6 only for now)
- ifmultiaddr can exist past being on interface lists
  - add flag for tracking whether or not it's enqueued
- deferring freeing moptions makes the incpb cleanup code simpler but opens the
  door wider still to races
  - call inp_gcmoptions synchronously after dropping the the inpcb lock

Fundamentally multicast needs a rewrite - but keep applying band-aids for now.

Tested by: kp
Reported by: novel, kp, lwhsu

FreeBSD — head/bin/dd misc.c dd.c

dd: Incorporate some changes from imp for status=progress

Notable changes from what landed in r337505:
- sigalarm handler isn't setup unless we're actually using it
- Humanized versions of the amount of data transferred in the progress
  update

Submitted by:        imp
Reviewed by:        kevans
MFC after:        1 week
Differential Revision:        https://reviews.freebsd.org/D16642