History log of /freebsd-14.2/tests/sys/kern/Makefile (Results 1 – 25 of 73)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0
# 794fd74a 10-Sep-2024 Mark Johnston <[email protected]>

tests: Add some test cases for SO_SPLICE

Reviewed by: gallatin
MFC after: 3 months
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D46412

(che

tests: Add some test cases for SO_SPLICE

Reviewed by: gallatin
MFC after: 3 months
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D46412

(cherry picked from commit 877cf210c08b99aa532107e176b372de58579493)

show more ...


# bed96ef0 14-Jul-2024 Mark Johnston <[email protected]>

socket tests: Serialize sonewconn_overflow

It relies on being able inspect the dmesg buffer to see whether the
kernel logged certain messages. If it's interleaved with tests that
generate large amo

socket tests: Serialize sonewconn_overflow

It relies on being able inspect the dmesg buffer to see whether the
kernel logged certain messages. If it's interleaved with tests that
generate large amounts of console output (e.g., GELI tests), then it can
fail spuriously.

MFC after: 2 weeks

(cherry picked from commit ab27e232b14c07317642a2e4c546c9b71bd9c00b)

show more ...


Revision tags: release/14.1.0
# 44952722 06-Apr-2024 Jake Freeland <[email protected]>

tests: Add ktrace capability violation test cases

Introduce regression tests for ktrace(2) that target capability
violations.

These test cases ensure that ktrace(2) records these violations:
- CAPF

tests: Add ktrace capability violation test cases

Introduce regression tests for ktrace(2) that target capability
violations.

These test cases ensure that ktrace(2) records these violations:
- CAPFAIL_NOTCAPABLE
- CAPFAIL_INCREASE
- CAPFAIL_SYSCALL
- CAPFAIL_SIGNAL
- CAPFAIL_PROTO
- CAPFAIL_SOCKADDR
- CAPFAIL_NAMEI
- CAPFAIL_CPUSET

A portion of these test cases create processes that do NOT enter
capability mode, but raise violations. This is intended behavior.
Users may run `ktrace -t p` on non-Capsicumized programs to detect
violations that would occur if the process were in capability mode.

Reviewed by: markj
Approved by: markj (mentor)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D40682

(cherry picked from commit 2f39a986641ecebaa9080ca28118903bd9707a1f)

show more ...


Revision tags: release/13.3.0
# aebaa32c 16-Jan-2024 Kyle Evans <[email protected]>

kern: pts: do not special case closed slave side

This would previously return 1 if the slave side of the pts was closed
to force an application to read() from it and observe the EOF, but it's
not cl

kern: pts: do not special case closed slave side

This would previously return 1 if the slave side of the pts was closed
to force an application to read() from it and observe the EOF, but it's
not clear why and this is inconsistent both with how we handle devices
with similar mechanics (like pipes) and also with other kernels, such as
OpenBSD/NetBSD and Linux.

PR: 239604
Reviewed by: kib

(cherry picked from commit 30189156d325fbcc9d1997d791daedc9fa3bed20)

show more ...


Revision tags: release/14.0.0
# 761d9162 03-Oct-2023 Dmitry Chagin <[email protected]>

tests: Test that SIGSYS is not delivered if kern.signosys knob is off

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D41979
MFC after: 1 week

(cherry picked from commit b67

tests: Test that SIGSYS is not delivered if kern.signosys knob is off

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D41979
MFC after: 1 week

(cherry picked from commit b67c0ba4613861f8245ce835081311aef1c19bae)

show more ...


# e19be5b0 25-Sep-2023 Konstantin Belousov <[email protected]>

SIGSYS: add tests

(cherry picked from commit 0afcac3e37e911f7e387ebeb2aae19b2b00ca4cc)


# 811b3d0f 31-Aug-2023 Mark Johnston <[email protected]>

socket tests: Add a regression test for MSG_WAITALL

PR: 212716
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 38426b32e106cf251520259b29779372eda7a5f8)


# d0b2dbfa 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 74192f9b 11-May-2023 Pierre Pronchery <[email protected]>

ktls_test: specify OpenSSL 1.1 API

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation


Revision tags: release/13.2.0
# 70bb2286 08-Dec-2022 John Baldwin <[email protected]>

ktls_test: Add debug option to hexdump keys, nonces, and buffers.

Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D37509


Revision tags: release/12.4.0
# e87ff1ea 08-Aug-2022 Gleb Smirnoff <[email protected]>

tests/socket: add accept_filter(9) test

Test basic functionality of accf_data(9) and accf_http(9)


# be1f485d 25-Jul-2022 Alexander V. Chernikov <[email protected]>

sockets: add MSG_TRUNC flag handling for recvfrom()/recvmsg().

Implement Linux-variant of MSG_TRUNC input flag used in recv(), recvfrom() and recvmsg().
Posix defines MSG_TRUNC as an output flag, in

sockets: add MSG_TRUNC flag handling for recvfrom()/recvmsg().

Implement Linux-variant of MSG_TRUNC input flag used in recv(), recvfrom() and recvmsg().
Posix defines MSG_TRUNC as an output flag, indicating packet/datagram truncation.
Linux extended it a while (~15+ years) ago to act as input flag,
resulting in returning the full packet size regarless of the input
buffer size.
It's a (relatively) popular pattern to do recvmsg( MSG_PEEK | MSG_TRUNC) to get the
packet size, allocate the buffer and issue another call to fetch the packet.
In particular, it's popular in userland netlink code, which is the primary driving factor of this change.

This commit implements the MSG_TRUNC support for SOCK_DGRAM sockets (udp, unix and all soreceive_generic() users).

PR: kern/176322
Reviewed by: pauamma(doc)
Differential Revision: https://reviews.freebsd.org/D35909
MFC after: 1 month

show more ...


# 235d960a 24-Jun-2022 Gleb Smirnoff <[email protected]>

tests/unix_passfd: compile SOCK_STREAM and SOCK_DGRAM versions

Most test pass identically on different kinds of sockets. However,
few edge cases work differently on stream and datagram sockets. We
w

tests/unix_passfd: compile SOCK_STREAM and SOCK_DGRAM versions

Most test pass identically on different kinds of sockets. However,
few edge cases work differently on stream and datagram sockets. We
want to exercise this and document.

Differential revision: https://reviews.freebsd.org/D35420

show more ...


# 2d896da9 23-May-2022 Olivier Cochard <[email protected]>

tests/unix_passfd: Prevent running them in parallel

Only the send_and_shutdown test is exclusive, but kyua doesn't allow
to prevent parallel execution of a single test.

Approved by: glebius
Sponsor

tests/unix_passfd: Prevent running them in parallel

Only the send_and_shutdown test is exclusive, but kyua doesn't allow
to prevent parallel execution of a single test.

Approved by: glebius
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D35260

show more ...


# c678572e 17-May-2022 Olivier Cochard <[email protected]>

Prevent running sigwait tests in parallel

test_sig_discard_ign_* could not run at the same time.

Approved by: dchagin
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D35236


# 6d317723 12-May-2022 Gleb Smirnoff <[email protected]>

tests/kern: add tests for PF_UNIX/SOCK_DGRAM


Revision tags: release/13.1.0
# c8b5c478 11-May-2022 Dmitry Chagin <[email protected]>

Add tests for affinity syscalls.

MFC after: 2 weeks


# 128b9bf9 25-Apr-2022 Dmitry Chagin <[email protected]>

Add tests for sigwait family syscalls.

MFC after: 2 weeks


# 4642a6fa 14-Apr-2022 Li-Wen Hsu <[email protected]>

Disable building kcov test on powerpcspe

It's also 32-bit and lacks support for the needed atomic operations.

Sponsored by: The FreeBSD Foundation


# 1b7d882f 07-Apr-2022 Andrew Turner <[email protected]>

Enable the kcov tests on supported architectures

i386 and 32-bit powerpc lack support for the needed atomic operations
in userspace.

Sponsored by: The FreeBSD Foundation


# 41e6d209 07-Apr-2022 Andrew Turner <[email protected]>

Enable subr_physmem_test on supported architectures

Only build where it's supported.

While here add support for amd64 to help with testing.

Sponsored by: The FreeBSD Foundation


# d8819d88 06-Apr-2022 Andrew Turner <[email protected]>

Disable the physmem test for now

It fails to build on at least i386


# 8c99dfed 28-Mar-2022 Andrew Turner <[email protected]>

Port subr_physmem to userspace and add tests

These give us some confidience we haven't broken anything in early
boot code that may be running before the console.

Reviewed by: emaste
Sponsored by: T

Port subr_physmem to userspace and add tests

These give us some confidience we haven't broken anything in early
boot code that may be running before the console.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34691

show more ...


# 5a1de9c2 04-Mar-2022 John Baldwin <[email protected]>

Add simple kyua tests for the mod* system calls.

Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: University of Cambridge, Google, Inc.
Differential Revision: https://reviews.freebsd.org/D34

Add simple kyua tests for the mod* system calls.

Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: University of Cambridge, Google, Inc.
Differential Revision: https://reviews.freebsd.org/D34417

show more ...


# fff0ae77 16-Dec-2021 Mark Johnston <[email protected]>

tests: Add some regression tests for a couple of KERN_PROC_* sysctls

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


123