History log of /freebsd-current/tests/sys/kern/sendfile_helper.c
Revision Date Author Comments
# 0c0146c3 03-May-2024 Gleb Smirnoff <glebius@FreeBSD.org>

tests/sendfile: test operation on unix/stream socket

Although there are already multiple tests in the tests collection
that utilize sendfile(2) support over unix/stream socket, they all
don't exercise the asynchronous part of the operation. This test
framework, however, uses a trick to toggle true async operation and
guarantee that pr_ready method of unix/stream is also tested.

Reviewed by: chs
Differential Revision: https://reviews.freebsd.org/D45055


# c368d3f2 03-May-2024 Gleb Smirnoff <glebius@FreeBSD.org>

tests/sendfile: factor out tcp_socketpair()

It creates a pair of connected TCP sockets for later testing. No
functional change.

Reviewed by: chs
Differential Revision: https://reviews.freebsd.org/D45054


# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

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


# 3b41d99d 20-Jul-2020 Chuck Silvers <chs@FreeBSD.org>

add a few tests for sendfile.

Reviewed by: markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D25431