Displaying 1 50 of 331,616 commits (0.030s)

FreeBSD — head/sys/netinet tcp_hpts.c

Move the tp set back to where it was before
we started playing with the VNET sets. This
way we have verified the INP settings before
we go to the trouble of de-referencing it.

Reviewed by:        and suggested by lstewart
Sponsored by:        Netflix Inc.
Delta File
+1 -1 head/sys/netinet/tcp_hpts.c
+1 -1 1 file

FreeBSD — head/usr.bin/top top.c

top(1): correct assertion
Delta File
+1 -1 head/usr.bin/top/top.c
+1 -1 1 file

FreeBSD — head/usr.bin/top machine.c

top(1): correct header in UP mode

Fix an oversight from r334869 which made the same change, but only for
SMP systems. This avoids a segfault while D15801 is being reviewed.

Reviewed by:        kevans
Delta File
+2 -2 head/usr.bin/top/machine.c
+2 -2 1 file

FreeBSD — head/sys/conf files.amd64

ixl(4): Remove ixlvc.c from files.amd64

ixlvc.c is only used by the VF driver (ixlv), and that driver currently doesn't work.

It will be re-added once the VF driver is finished being ported to iflib.
Delta File
+2 -2 head/sys/conf/files.amd64
+2 -2 1 file

FreeBSD — head/sys/amd64/conf NOTES

remove ixl iwarp and ixlv from the build until they are in a working state
Delta File
+2 -2 head/sys/amd64/conf/NOTES
+2 -2 1 file

FreeBSD — head/sys/kern subr_witness.c, head/sys/netinet tcp_timewait.c in_pcb.h

convert inpcbinfo hash and info rwlocks to epoch + mutex

- Convert inpcbinfo info & hash locks to epoch for read and mutex for write
- Garbage collect code that handled INP_INFO_TRY_RLOCK failures as
  INP_INFO_RLOCK which can no longer fail

When running 64 netperfs sending minimal sized packets on a 2x8x2 reduces
unhalted core cycles samples in rwlock rlock/runlock in udp_send from 51% to

Overall packet throughput rate limited by CPU affinity and NIC driver design

On the receiver unhalted core cycles samples in in_pcblookup_hash went from
13% to to 1.6%

Tested by LLNW and pho@

Reviewed by: jtl
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15686

FreeBSD — head/contrib/amd/amq amq.c

Fix amq -i timestamp segmentation violation.

MFC after:        1 week
Delta File
+1 -1 head/contrib/amd/amq/amq.c
+1 -1 1 file

FreeBSD — head/tests/sys/audit ioctl.c Makefile

audit(4): add tests for ioctl(2)

Submitted by:        aniketp
MFC after:        2 weeks
Sponsored by:        Google, Inc. (GSoC 2018)
Differential Revision:        https://reviews.freebsd.org/D15872

FreeBSD — head Makefile.inc1

Don't bootstrap lld if an external linker is used.

Sponsored by:        Dell EMC
Delta File
+4 -0 head/Makefile.inc1
+4 -0 1 file

FreeBSD — head/sys/dev/cxgbe/common t4_hw.c

cxgbe(4): Some mailbox commands require access to the Tx pipeline and
can time out if it's backed up due to a non-stop deluge of PAUSE frames
from a misbehaving peer.  Detect this situation and toggle MPS TxEn
to allow forward progress.

MFC after:        2 weeks
Sponsored by:        Chelsio Communications
Delta File
+67 -3 head/sys/dev/cxgbe/common/t4_hw.c
+67 -3 1 file

FreeBSD — head/sys/dev/rtwn/rtl8812a r12a_reg.h, head/sys/dev/rtwn/rtl8812a/usb r12au_init.c r12au.h

rtwn(4): decode some bit fields + merge duplicate code.

Add macros for R12A_RXDMA_PRO register (descriptions were seen in the
RTL8822B vendor driver) and merge 2 r21au_init_burstlen() copies.

No functional change intended.

FreeBSD — head/tools/tools/git git-svn-rebase HOWTO

Add my script for coping with git-svn and the need to rebase
changes for different branches. It's a bit rough right now,
but should be good enough for most people to try to use. It's
definitely 'tools' tree quality.

FreeBSD — head/tools/boot rootgen.sh

Switch to creating UEFI ESPs using loader.efi instead of boot1.efi.
Cope for the fact that laoder.efi, not being boot1, doesn't read
/boot.config by setting boot_serial and force the serial console.

Also add sysctl so we can display the boot method.

Provide a variable, do_boot1_efi, if you want to use boot1 for
testing. But since it's transient, it's just a variable and not
available on the command line.
Delta File
+45 -16 head/tools/boot/rootgen.sh
+45 -16 1 file

FreeBSD — head/share/man/man9 nv.9

libnv: add note about nvlist_pack and nvlist_unpack

Fix small typo as well.

Submitted by:        Mindaugas Rasiukevicius <rmind at netbsd.org>
Delta File
+8 -1 head/share/man/man9/nv.9
+8 -1 1 file

FreeBSD — head/lib/libnv/tests nvlist_append_test.c Makefile, head/share/man/man9 nv.9

libnv: Add nvlist_append_*_array() family of functions.

The nvlist_append_{bool,number,string,nvlist,descriptor}_array() functions
allows to dynamically extend array stored in the nvlist.

Submitted by:        Mindaugas Rasiukevicius <rmind at netbsd.org>

FreeBSD — head/sys/modules Makefile

remove epoch_test from default build
Delta File
+0 -1 head/sys/modules/Makefile
+0 -1 1 file

FreeBSD — head/lib/libnv/tests nv_array_tests.cc

libnv: add regression test for r335344.

FreeBSD — head/sys/contrib/libnv nvpair.c

libnv: clean parent in nvlist_array when removing it.

When we are removing element form the nvlist we should also clean parent,
because the array is not a part of the nvlist anymore.

Submitted by:        Mindaugas Rasiukevicius <rmind at netbsd.org>
Delta File
+3 -1 head/sys/contrib/libnv/nvpair.c
+3 -1 1 file

FreeBSD — head/lib/libnv/tests cnv_tests.cc, head/share/man/man9 cnv.9

libnv: Remove nvlist argument from cnvlist_{take,free}_* functions.

All information which are need for those operations is already stored in
the cookie.

We decided not to bump libnv version because this API is not used yet in the
base system.

Reviewed by:        pjd

FreeBSD — head/share/man/man9 cnv.9, head/sys/contrib/libnv cnvlist.c

libnv: add const to cookies arguments

Pointed out by:        pjd@

FreeBSD — head/share/man/man9 cnv.9, head/sys/contrib/libnv cnvlist.c

libnv: change name of cookie from cookiep to cookie.

The name was inconsistent with rest of the library.
No functional change intended.

Pointed out by:        pjd@

FreeBSD — stable/10/sys/dev/bxe bxe.c

Follow-up to r335289, which merged r334948 from head, to really fix the
bxe build on i386.  In the stable/10 branch, the rman functions still
use u_long instead of uintmax_t (this was changed in r294883 and
r297000), so these have to be printed using the l modifier instead.

Pointy hat to:        me
Noticed by:        gjb
Delta File
+1 -1 stable/10/sys/dev/bxe/bxe.c
+1 -1 1 file

FreeBSD — head/sys/dev/ixl if_ixl.c i40e_adminq.h

ixl(4): Update version number to 2.0.0-k

And update copyrights to current year.

MFC after:        1 month
Sponsored by:        Intel Corporation

FreeBSD — head/sys/amd64/conf GENERIC, head/sys/conf files.amd64

ixl(4): Update to use iflib

Update the driver to use iflib in order to bring performance,
maintainability, and (hopefully) stability benefits to the driver.

The driver currently isn't completely ported; features that are missing:

- VF driver (ixlv)
- SR-IOV host support
- RDMA support

The plan is to have these re-added to the driver before the next FreeBSD release.

Reviewed by:        gallatin@
Contributions by: gallatin@, mmacy@, krzysztof.galazka at intel.com
Tested by:        jeffrey.e.pieper at intel.com
MFC after:        1 month
Sponsored by:        Intel Corporation
Differential Revision:        https://reviews.freebsd.org/D15577
Delta File
+644 -2,146 head/sys/dev/ixl/ixl_pf_main.c
+408 -1,778 head/sys/dev/ixl/ixl_txrx.c
+928 -810 head/sys/dev/ixl/if_ixlv.c
+1,284 -390 head/sys/dev/ixl/if_ixl.c
+90 -252 head/sys/dev/ixl/ixl.h
+148 -10 head/sys/dev/ixl/ixl_pf_i2c.c
+313 -135 12 files not shown
+3,815 -5,521 18 files

FreeBSD — head/stand/libsa Makefile

Remove stray debugging line.

Noticed by: ian@
Delta File
+0 -1 head/stand/libsa/Makefile
+0 -1 1 file

FreeBSD — head/stand geli

Remove now-empty geli directory
Delta File
+0 -0 head/stand/geli/
+0 -0 1 file

FreeBSD — stable/11/lib/libc/stdio gets_s.c, stable/11/lib/libc/tests/stdio gets_s_test.c

MFC r333895, r334022

Drop obsolete Buenos Aires Convention.

Prompted by:        Recent discussion

Drop obsolete Buenos Aires Convention.

FreeBSD — projects/krb5 UPDATING Makefile.inc1, projects/krb5/bin/chflags chflags.1

MFH to r335332.

FreeBSD — head/sys/arm64/linux linux_machdep.c linux_locore.s

Introduce arm64 linuxulator stubs

This provides stub implementations of arm64 Linux vdso and machdep,
ptrace, and futex sufficient for executing an arm64 Linux 'hello world'

Reviewed by:        andrew
Sponsored by:        Turing Robotic Industries
Differential Revision:        https://reviews.freebsd.org/D15832

FreeBSD — projects/krb5 ObsoleteFiles.inc

gssapi and krb5-config have been disconnected however this is not
enough as they must be removed from target installs to ensure that
ports that use libgssapi are not confued by the one in base or ports
that use krb5-config use the krb5-config supplied by each port instead
of the one in base.
Delta File
+6 -0 projects/krb5/ObsoleteFiles.inc
+6 -0 1 file

FreeBSD — projects/krb5/kerberos5/usr.bin Makefile

Disconnect krb5-config from the build. Having krb5-config in base
confuses some ports which expect to use the krb5-config from
ports/security/krb5 or ports/security/heimdal.

krb5-config may be totally removed at a later time.

FreeBSD — projects/krb5/lib/libgssapi Makefile, projects/krb5/share/mk src.libnames.mk

Though gssapi is not Heimdal, it is base Kerberos and it too must
be private. The obvious effect is some ports linking against base
gssapi with either ports/security/krb5 or ports/security/heimdal
installed failing to link.

FreeBSD — user/gjb/thermite 11-aarch64-GENERIC-snap.conf 10-powerpc64-GENERIC64-snap.conf

Update files I still managed to miss in r335326 and r335328.

Sponsored by:        The FreeBSD Foundation

FreeBSD — user/gjb/thermite 11-armv6-RPI-B-snap.conf 10-armv6-RPI-B-snap.conf

Update additional files missed in r335326.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/sys/compat/linux linux_misc.c

linuxulator: add debugging for invalid capget/capset version

Sponsored by:        Turing Robotic Industries Inc.
Delta File
+10 -0 head/sys/compat/linux/linux_misc.c
+10 -0 1 file

FreeBSD — user/gjb/thermite 12-armv6-RPI2-snap.conf 12-armv6-CUBOX-HUMMINGBOARD-snap.conf

Update the thermite configuration files to match those used for
snapshot and release builds.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/cddl/lib/libdtrace ip.d tcp.d

The IP, TCP, and UDP provider report IP addresses as strings.
In some cases, the required information is not available and the
UDP provider reported an empty string in this case and the IP
and TCP provider reported a NULL pointer.

This patch changes the value provided in this case to the string
"<unknown>". This make the behaviour consistent and in-line with
the behaviour of Solaris.

Reviewed by:                markj@, dteske@, gnn@
Differential Revision:        https://reviews.freebsd.org/D15855

FreeBSD — head/sys/arm64/linux linux_systrace_args.c linux_syscalls.c

Regen arm64 linuxulator sysent files after r335323

FreeBSD — head/sys/arm64/linux syscalls.master

arm64 linuxulator: add dup syscall entry

Missed in r333027

Sponsored by:        Turing Robotic Industries Inc.

FreeBSD — head/sys/net iflib.c

iflib: Style fixes

MFC after:        1 week
Delta File
+5 -5 head/sys/net/iflib.c
+5 -5 1 file

FreeBSD — head/stand defs.mk Makefile, head/stand/geli geliboot.c geliboot_crypto.c

stand: move libgeliboot into libsa.

Reduce by 1 the number of crazy libraries we need in stand by moving
geli into libsa (where architecturally it belonged all along). This
just moves things around without any code changes.

FreeBSD — head/tests/sys/audit administrative.c

audit(4): Add tests for {get/set}auid, {get/set}audit, {get/set}audit_addr

Submitted by:        aniketp
MFC after:        2 weeks
Sponsored by:        Google, Inc. (GSoC 2018)
Differential Revision:        https://reviews.freebsd.org/D15871
Delta File
+311 -1 head/tests/sys/audit/administrative.c
+311 -1 1 file

FreeBSD — head/tests/sys/audit network.c

audit(4): add tests for send, recv, sendto, and recvfrom

Submitted by:        aniketp
MFC after:        2 weeks
Sponsored by:        Google, Inc. (GSoC 2018)
Differential Revision:        https://reviews.freebsd.org/D15869
Delta File
+279 -63 head/tests/sys/audit/network.c
+279 -63 1 file

FreeBSD — head/tests/sys/audit file-attribute-modify.c

audit(4): add tests for extattr_set_file and friends

Includes extattr_{set_file, _set_fd, _set_link, _delete_file, _delete_fd,

Submitted by:        aniketp
MFC after:        2 weeks
Sponsored by:        Google, Inc. (GSoC 2018)
Differential Revision:        https://reviews.freebsd.org/D15867

FreeBSD — head/sys/netinet tcp_hpts.c

Move to using the inp->vnet pointer has suggested by lstewart.
This is far better since the hpts system is using the inp
as its basis anyway. Unfortunately his comments came late.

Sponsored by:        Netflix Inc.
Delta File
+2 -2 head/sys/netinet/tcp_hpts.c
+2 -2 1 file

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

Improve spelling and capitalize "Kerberos".

MFC after:        2 weeks
Sponsored by:        DARPA, AFRL
Delta File
+4 -4 head/share/man/man7/hier.7
+4 -4 1 file

FreeBSD — head/sys/compat/linsysfs linsysfs.c

linsysfs: depend on linux_common module on arm64, as on amd64

Sponsored by:        Turing Robotic Industries

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

Fix bad logic in iovlist_truncate().

To conform to RFC 5426, this function is intended to truncate messages
if they exceed the message size limits. Unfortunately, the amount of
space was computed the wrong way around, causing messages to be
truncated entirely.

Reported by:        Michael Grimm on stable@
MFC after:        3 days
Delta File
+2 -2 head/usr.sbin/syslogd/syslogd.c
+2 -2 1 file

FreeBSD — head/lib/libcapsicum Makefile

libcapsicum: adding missing man page links
Delta File
+2 -0 head/lib/libcapsicum/Makefile
+2 -0 1 file

FreeBSD — head/usr.bin/dc dc.c

dc: make use of caph_enter

We already use caph library so this makes sense.
Delta File
+2 -2 head/usr.bin/dc/dc.c
+2 -2 1 file