selftests-ipc-skip-msgque-test-when-msg_copy-is-unsupported.patch removed from -mm tree
The quilt patch titled
Subject: selftests/ipc: skip msgque test when MSG_COPY is unsupported
has been removed from the -mm tree. Its filename was
selftests-ipc-skip-msgque-test-when-msg_copy-is-unsupported.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: UYeol Jo <[email protected]>
Subject: selftests/ipc: skip msgque test when MSG_COPY is unsupported
Date: Tue, 10 Feb 2026 22:53:59 +0900
msgque kselftest uses msgrcv(..., MSG_COPY) to copy messages. When the kernel is built without CONFIG_CHECKPOINT_RESTORE, prepare_copy() is stubbed out and msgrcv() returns -ENOSYS. The test currently reports this as a failure even though it is simply a missing feature/configuration.
Skip the test when msgrcv() fails with ENOSYS.
---
tools/testing/selftests/ipc/msgque.c | 3 +++ 1 file changed, 3 insertions(+)
tools/testing/selftests/ipc/msgque.c renamed from tools/testing/selftests/ipc/msgque.c~selftests-ipc-skip-msgque-test-when-msg_copy-is-unsupported +3 -0
@@ -161,6 +161,9 @@ int dump_queue(struct msgque_data *msgqu ret =msgrcv (msgque->msq_id, &msgque->messages[i].mtype,MAX_MSG_SIZE , i,IPC_NOWAIT |MSG_COPY );if (ret <0 ) { +if (errno ==ENOSYS ) +ksft_exit_skip ("MSG_COPY not supported\n" ); +ksft_test_result_fail ("Failed to copy IPC message: %m (%d)\n" , errno);return -errno; }
_
Patches currently in -mm which might be from [email protected] are