Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 272E22EEE85; Mon, 17 Aug 2026 15:06:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786979187; cv=none; b=OzXjByBmqbqAvYz6KbdLWXSuB39tIqtz50gr4j3NPxPttS7/qf4OrwjF5BGJRdPO9EuBZMl040fabGCD4oJIxuow4AHayhCDJaNdgeA6e/qA/QfsqSJobvndxeXv7qGmZQdAwA546ACeebTnsR6BNXaQVrRc5eLGig/FSjSrDhQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786979187; c=relaxed/simple; bh=9q44ukVpyXhM712GQsJxjFmghipY9slER1YUCR68fQc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GMy4+HdOEddsYx0pfhbdbWbgKurvYyHAMy3qejjZxDT3lrgauXA7aa10tiLihVw8tI6YakIjW5QjHObGvalI6BskmfUjvE0v50sheTb9vVr93tvDdpDVPmU4wjpyTLEV3CuhIAzxnkMBM6M2wAmYMsQE5+CHndVvWdJR3CYFv8M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xjphpB02; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xjphpB02" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FE911F000E9; Mon, 17 Aug 2026 15:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786979186; bh=SHs9QnONRidaATwR7rdrO8Ob+CqzcjmkgHun5zn0Yww=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=xjphpB02z4emkgdXJnTrwzsURZKLy7zGUCtyoiU5QVsa3/XoAiIYCertiLsZP2apt 3LJpfb6y4NeGWVeLp5RNmO1AbYk41jAHqOcz8WWJ/nue65RhDr7sFWHCUWDz910HKp TJL011WUetXQBYBhT1oSQ7f45YLwQ1IPIPz65R+Q= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jakub Kicinski , Kuniyuki Iwashima , "David S. Miller" , Sasha Levin Subject: [PATCH 6.1 137/609] selftest: af_unix: Add Kconfig file. Date: Mon, 17 Aug 2026 15:27:13 +0200 Message-ID: <20260817132548.547053358@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260817132543.039278408@linuxfoundation.org> References: <20260817132543.039278408@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kuniyuki Iwashima [ Upstream commit 11b006d6896c0471ad29c6f1fb1af606e7ba278f ] diag_uid selftest failed on NIPA where the received nlmsg_type is NLMSG_ERROR [0] because CONFIG_UNIX_DIAG is not set [1] by default and sock_diag_lock_handler() failed to load the module. # # Starting 2 tests from 2 test cases. # # RUN diag_uid.uid.1 ... # # diag_uid.c:159:1:Expected nlh->nlmsg_type (2) == SOCK_DIAG_BY_FAMILY (20) # # 1: Test terminated by assertion # # FAIL diag_uid.uid.1 # not ok 1 diag_uid.uid.1 Let's add all AF_UNIX Kconfig to the config file under af_unix dir so that NIPA consumes it. Fixes: ac011361bd4f ("af_unix: Add test for sock_diag and UDIAG_SHOW_UID.") Link: https://netdev-3.bots.linux.dev/vmksft-net/results/644841/104-diag-uid/stdout [0] Link: https://netdev-3.bots.linux.dev/vmksft-net/results/644841/config [1] Reported-by: Jakub Kicinski Closes: https://lore.kernel.org/netdev/20240617073033.0cbb829d@kernel.org/ Signed-off-by: Kuniyuki Iwashima Signed-off-by: David S. Miller Stable-dep-of: f8b1abed7361 ("selftests: af_unix: add USER_NS config") Signed-off-by: Sasha Levin --- tools/testing/selftests/net/af_unix/config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/net/af_unix/config diff --git a/tools/testing/selftests/net/af_unix/config b/tools/testing/selftests/net/af_unix/config new file mode 100644 index 00000000000000..37368567768cc0 --- /dev/null +++ b/tools/testing/selftests/net/af_unix/config @@ -0,0 +1,3 @@ +CONFIG_UNIX=y +CONFIG_AF_UNIX_OOB=y +CONFIG_UNIX_DIAG=m -- 2.53.0