Displaying 1 50 of 312,924 commits (0.024s)

FreeBSD — head/sys/sys errno.h

Only activate __EXT1_VISIBLE block when using sys/errno.h in userspace.

The prerequisite for '#if __EXT1_VISIBLE' functionality is the
inclusion of sys/cdefs.h.  errno.h only auto-includes the header for
non-kernel environment, and EXT1 block only useful for non-kernel as
well.

Reported by:        lwhsu
Sponsored by:        The FreeBSD Foundation
MFC after:        3 weeks
Delta File
+2 -0 head/sys/sys/errno.h
+2 -0 1 file

FreeBSD — stable/10 ObsoleteFiles.inc, stable/10/usr.bin/col/tests col.sh col_test.sh

MFC r315776:

Rename tests from <foo> to <foo>_test to match the FreeBSD test suite
naming scheme

usr.bin/diff/diff_test was renamed to usr.bin/diff/netbsd_diff_test
to avoid collisions with the renamed FreeBSD test.

FreeBSD — stable/11 ObsoleteFiles.inc, stable/11/usr.bin/col/tests col_test.sh col.sh

MFC r315776:

Rename tests from <foo> to <foo>_test to match the FreeBSD test suite
naming scheme

usr.bin/diff/diff_test was renamed to usr.bin/diff/netbsd_diff_test
to avoid collisions with the renamed FreeBSD test.

FreeBSD — stable/10/share/man/man9 DB_COMMAND.9

MFC r315798:

DB_COMMAND(9): fix mandoc markup

Start new sentences on new lines.

FreeBSD — stable/11/share/man/man9 DB_COMMAND.9

MFC r315798:

DB_COMMAND(9): fix mandoc markup

Start new sentences on new lines.

FreeBSD — stable/10/usr.sbin/ctladm ctladm.c, stable/10/usr.sbin/ctld kernel.c

MFC r316050,r316051:

r316050:

ctld: sort #includes per style(9)

- Only include sys/types.h or sys/param.h, not both.
- Sort alphabetically.

r316051:

ctldadm: sort #includes per style(9)

- Only include sys/types.h or sys/param.h, not both.
- Sort alphabetically.

FreeBSD — stable/11/usr.sbin/ctladm ctladm.c, stable/11/usr.sbin/ctld kernel.c

MFC r316050,r316051:

r316050:

ctld: sort #includes per style(9)

- Only include sys/types.h or sys/param.h, not both.
- Sort alphabetically.

r316051:

ctldadm: sort #includes per style(9)

- Only include sys/types.h or sys/param.h, not both.
- Sort alphabetically.

FreeBSD — stable/11/share/man/man5 src.conf.5

Regenerate src.conf(5)

Differential Revision:        Dell EMC Isilon
Delta File
+10 -1 stable/11/share/man/man5/src.conf.5
+10 -1 1 file

FreeBSD — stable/11/tools/build/options WITHOUT_IPSEC_SUPPORT

MFC r315764,r315765:

r315764:

Add a WITHOUT_IPSEC_SUPPORT option description for src.conf(5)

This is a follow up commit to r313330.

r315765:

Fix mdoc(7) warning: new sentences should start on new lines

FreeBSD — stable/10/share/man/man5 rc.conf.5

MFC r315762:

rc.conf(5): fix a .Xr call for chroot(8)

Add the missing section number to the .Xr call.

FreeBSD — stable/11/share/man/man5 rc.conf.5

MFC r315762:

rc.conf(5): fix a .Xr call for chroot(8)

Add the missing section number to the .Xr call.

FreeBSD — stable/10/share/man/man9 alq.9

MFC r315795:

alq(9): fix mandoc markup

Start new sentence on a new line.
Delta File
+2 -2 stable/10/share/man/man9/alq.9
+2 -2 1 file

FreeBSD — stable/11/share/man/man9 alq.9

MFC r315795:

alq(9): fix mandoc markup

Start new sentence on a new line.
Delta File
+2 -2 stable/11/share/man/man9/alq.9
+2 -2 1 file

FreeBSD — stable/10/share/man/man9 memguard.9

MFC r315803:

memguard(9): fix igor/manlint warnings

- Expand a contraction [1].
- Add a missing section number when referring to uma(9) with .Xr .

FreeBSD — stable/11/share/man/man9 memguard.9

MFC r315803:

memguard(9): fix igor/manlint warnings

- Expand a contraction [1].
- Add a missing section number when referring to uma(9) with .Xr .

FreeBSD — stable/11/share/man/man7 tuning.7

MFC r315790:

tuning(7): fix SEE ALSO section sorting

dummynet(4) should come before eventtimers(4)
Delta File
+2 -2 stable/11/share/man/man7/tuning.7
+2 -2 1 file

FreeBSD — stable/11/share/man/man7 build.7

MFC r315788:

build(7): sort SEE ALSO section

tests(7) should be grouped in the man section 7 group, not the section 8 group.
Delta File
+3 -3 stable/11/share/man/man7/build.7
+3 -3 1 file

FreeBSD — stable/10/share/man/man7 build.7

MFC r315788:

build(7): sort SEE ALSO section

tests(7) should be grouped in the man section 7 group, not the section 8 group.
Delta File
+3 -3 stable/10/share/man/man7/build.7
+3 -3 1 file

FreeBSD — stable/11/share/man/man9 ifnet.9

MFC r315802:

ifnet(9): fix some igor/manlint warnings

- Fix typos (queueing -> queuing) [1].
- Add missing section number for polling .Xr reference [2].
Delta File
+4 -4 stable/11/share/man/man9/ifnet.9
+4 -4 1 file

FreeBSD — stable/10/share/man/man9 ifnet.9

MFC r315802:

ifnet(9): fix some igor/manlint warnings

- Fix typos (queueing -> queuing) [1].
- Add missing section number for polling .Xr reference [2].
Delta File
+4 -4 stable/10/share/man/man9/ifnet.9
+4 -4 1 file

FreeBSD — stable/11/share/man/man9 PCI_IOV_UNINIT.9 PCI_IOV_INIT.9

MFC r315804:

PCI_IOV_*INIT(9): fix make manlint warnings

Add missing section number when referring to PCI_IOV_*INIT(9) with .Xr
from the other corresponding manpage.

FreeBSD — stable/10/share/man/man5 tmpfs.5

MFC r315772:

tmpfs(5): fix mdoc warnings

- Delete trailing whitespace
- Sort SEE ALSO order: mmap(2)'s Xr should come before nmount(2)'s Xr.
Delta File
+3 -3 stable/10/share/man/man5/tmpfs.5
+3 -3 1 file

FreeBSD — stable/10/share/man/man7 tests.7

MFC r315789:

tests(7): fix mdoc warning

Continue sentence in "Configuring the tests" on a new line.
Delta File
+4 -3 stable/10/share/man/man7/tests.7
+4 -3 1 file

FreeBSD — stable/10/usr.sbin/ctld Makefile

MFC r316049:

Allow WARNS to be overridden by the end-user
Delta File
+1 -1 stable/10/usr.sbin/ctld/Makefile
+1 -1 1 file

FreeBSD — stable/11/share/man/man5 tmpfs.5

MFC r315772:

tmpfs(5): fix mdoc warnings

- Delete trailing whitespace
- Sort SEE ALSO order: mmap(2)'s Xr should come before nmount(2)'s Xr.
Delta File
+3 -3 stable/11/share/man/man5/tmpfs.5
+3 -3 1 file

FreeBSD — stable/10/share/man/man9 buf_ring.9

MFC r315797:

buf_ring(9): fix mandoc markup

Remove spurious trailing comma after `buf_ring_peek` in the NAME
section.

FreeBSD — stable/11/share/man/man7 tests.7

MFC r315789:

tests(7): fix mdoc warning

Continue sentence in "Configuring the tests" on a new line.
Delta File
+4 -3 stable/11/share/man/man7/tests.7
+4 -3 1 file

FreeBSD — stable/10/share/man/man4 mlx4en.4 mlx4ib.4

MFstable/11 r316229:

Backport mlx4{en,ib}(4) from ^/head

MFCing other pieces would be very structurally disruptive. This just
brings back the manpages so they can be used by end-users and to ease
future backports.

FreeBSD — stable/11/usr.sbin/ctld Makefile

MFC r316049:

Allow WARNS to be overridden by the end-user
Delta File
+1 -1 stable/11/usr.sbin/ctld/Makefile
+1 -1 1 file

FreeBSD — stable/11/share/man/man4 mlx4en.4 mlx4ib.4

Backport mlx4{en,ib}(4) from ^/head

MFCing other pieces would be very structurally disruptive. This just
brings back the manpages so they can be used by end-users and to ease
future backports.

svn:mergeinfo omitted, in part because this is a direct commit to
^/stable/11.

Sponsored by:        Dell EMC Isilon

FreeBSD — stable/11/share/man/man4 mlx4en.4 mlx4ib.4

Revert r316226 (I used the wrong commit message)

Pointyhat to:        ngie

FreeBSD — stable/11/share/man/man9 buf_ring.9

MFC r315797:

buf_ring(9): fix mandoc markup

Remove spurious trailing comma after `buf_ring_peek` in the NAME
section.

FreeBSD — stable/11/share/man/man4 mlx4en.4 mlx4ib.4

MFC r315759,r315761:

r315759 (by gjb):

Add mlx5en(4) to the hardware page. [1]
Belatedly bump copyright years after several changes.

r315761:

Add cxgbe(4), ixl(4), and mlx4en(4) to the hardware release notes

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/hardware article.xml

MFC r315759,r315761:

r315759 (by gjb):

Add mlx5en(4) to the hardware page. [1]
Belatedly bump copyright years after several changes.

r315761:

Add cxgbe(4), ixl(4), and mlx4en(4) to the hardware release notes

FreeBSD — stable/11/release/doc/en_US.ISO8859-1/hardware article.xml

MFC r315759,r315761:

r315759 (by gjb):

Add mlx5en(4) to the hardware page. [1]
Belatedly bump copyright years after several changes.

r315761:

Add cxgbe(4), ixl(4), and mlx4en(4) to the hardware release notes

FreeBSD — stable/11/share/man/man3 pthread_mutex_consistent.3

MFC r316053:

pthread_mutex_consistent: sort SEE ALSO by reference name

FreeBSD — stable/11/sbin/mount mount.conf.8

MFC r315774:

mount.conf(8): fix a .Xr call

Add the missing section number for devfs(5)
Delta File
+1 -1 stable/11/sbin/mount/mount.conf.8
+1 -1 1 file

FreeBSD — stable/10/share/man/man9 bus_alloc_resource.9

MFC r315796:

bus_alloc_resource(9): fix mandoc markup

Add missing comma after `.Nm bus_alloc_resource_any` in NAME section.

FreeBSD — stable/10/sys/conf kern.post.mk

MFC r314372:

Use "build" instead of "all" when building ports modules

"all" in ports currently means "stage the ports", which requires root today,
and brings to light other potential issues, like ENAMETOOLONG with staged
directories (bug 161481, etc).

This fixes buildkernel for me when run as a non-root user, assuming all
of the prerequisites have been installed beforehand and are up-to-date.

Discussed with:        swills (IRC)
Delta File
+1 -1 stable/10/sys/conf/kern.post.mk
+1 -1 1 file

FreeBSD — stable/11/sys/conf kern.post.mk

MFC r314372:

Use "build" instead of "all" when building ports modules

"all" in ports currently means "stage the ports", which requires root today,
and brings to light other potential issues, like ENAMETOOLONG with staged
directories (bug 161481, etc).

This fixes buildkernel for me when run as a non-root user, assuming all
of the prerequisites have been installed beforehand and are up-to-date.

Discussed with:        swills (IRC)
Delta File
+1 -1 stable/11/sys/conf/kern.post.mk
+1 -1 1 file

FreeBSD — stable/10/lib/libc/gen getttyent.c

MFC r315734:

style(9): sort #includes

FreeBSD — stable/11/lib/libc/gen getttyent.c

MFC r315734:

style(9): sort #includes

FreeBSD — head UPDATING

Add an UPDATING entry for cfiscsi(4)'s addition in r316212

MFC after:        2 months
X-MFC with:        r316212
Requested by:        mav (D10099)
Sponsored by:        Dell EMC Isilon
Delta File
+13 -0 head/UPDATING
+13 -0 1 file

FreeBSD — head/include stdlib.h string.h, head/lib/libc/include libc_private.h

Implement the memset_s(3) function as specified by the C11 ISO/IEC
9899:2011 Appendix K 3.7.4.1.

Other needed supporting types, defines and constraint_handler
infrastructure is added as specified in the C11 spec.

Submitted by:        Tom Rix <trix at juniper.net>
Sponsored by:        Juniper Networks
Discussed with:        ed
MFC after:        3 weeks
Differential revision:        https://reviews.freebsd.org/D9903
Differential revision:        https://reviews.freebsd.org/D10161

FreeBSD — head/share/man/man4 cfiscsi.4 ctl.4, head/sys/cam/ctl ctl_frontend_iscsi.c

Split iscsi(4) ctl frontend off of ctl(4) as cfiscsi(4)

The goal of this work is to remove the explicit dependency for ctl(4)
on iscsi(4), so end-users without iscsi(4) support in the kernel can
use ctl(4) for its other functions.

This allows those without iscsi(4) support built into the kernel to use
ctl(4) as a test mechanism. As a sidenote, this was possible around the
10.0-RELEASE period, but made impossible for end-users without iscsi(4)
between 10.0-RELEASE and 11.0-RELEASE.

Automatically load cfiscsi(4) from ctladm(8) and ctld(8) for backwards
compatibility with previously releases. The automatic loading feature is
compiled into the beforementioned tools if MK_ISCSI == yes when building
world.

Add a manpage for cfiscsi(4) and refer to it in ctl(4).

Differential Revision:        D10099
MFC after:        2 months
Relnotes:        yes
Reviewed by:        mav, trasz
Sponsored by:        Dell EMC Isilon

FreeBSD — head/sys/kern imgact_elf.c

A followup to r315749, two more places where brand->interp_path was
accessed unconditionally.

Reported by:        se
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+6 -3 head/sys/kern/imgact_elf.c
+6 -3 1 file

FreeBSD — stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace_xoroshiro128_plus.c dtrace_xoroshiro128_plus.h, stable/11/sys/cddl/contrib/opensolaris/uts/common/sys dtrace_impl.h

MFC: 313176, 313177, 313359

Replace the implementation of DTrace's RAND subroutine for generating
low-quality random numbers with a modern implementation (xoroshiro128+)
that is capable of generating better quality randomness without compromising performance.

Submitted by:        Graeme Jenkinson

FreeBSD — stable/10/sbin/fsck fsck.8

MFC r306733

Add history section to fsck(8)

PR:                212472
Approved by:        bcr (mentor)
Differential Revision:        https://reviews.freebsd.org/D8104
Delta File
+13 -1 stable/10/sbin/fsck/fsck.8
+13 -1 1 file

FreeBSD — stable/11/cddl/lib/libdtrace ip.d, stable/11/sys/netinet tcp_input.c in_kdtrace.c

MFC: 311225, 311243, 313045

Fix DTrace TCP tracepoints to not use mtod() as it is both unnecessary and
dangerous.  Those wanting data from an mbuf should use DTrace itself to get
the data.

Add an mbuf to ipinfo_t translator to finish cleanup of mbuf passing to TCP probes.

FreeBSD — stable/10/sbin/fsck fsck.8

MFC r266586

If called without -T or -t, fsck attempts to detect the
file system type.  If this fails, fsck will fail with
"unknown file system type" message.

PR:                188214
Delta File
+13 -1 stable/10/sbin/fsck/fsck.8
+13 -1 1 file