From patchwork Wed Jan 15 10:52:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 13940292 Received: from mout.gmx.net (mout.gmx.net [212.227.15.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 5F1EC248BCB; Wed, 15 Jan 2025 10:52:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736938365; cv=none; b=M7VC+Chnc7pSVRIk4Mmo5A+6Z3yYv6muO4paX1j3Z3jWKWSZtKpZPtIqAYgNjmCBIUCs69D+ij+uhhgYS1fLhFDt8zml5T0tF0XVtHdvtHA5xLFR8f2bapVJ8P+IjRonCzNh6P07JcTeUNQy36B/uB2A8p54khOJnMJgjC2rCt0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736938365; c=relaxed/simple; bh=SchB+c2hMhcWnD510+6n34YKTHOVJ4nmQf/tY/QHnng=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=biz0nRdu0zJDrimjQdJ9TwcdA7JTr+PLKL0Z2iXWtIMoYmawxORhRlBcvcsUv1IWBZN5qGU2WCsML662RGfcSl7WY7EhBcHAlxMVIFMHkSSdu6heq1Yujn3O5W0s2IiKD5Wyv08ZEyzbIM8Icbt+0zn+U7lCCePtp8wtXnGad90= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net; spf=pass smtp.mailfrom=gmx.net; dkim=pass (2048-bit key) header.d=gmx.net header.i=ps.report@gmx.net header.b=JdRklQNq; arc=none smtp.client-ip=212.227.15.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.net header.i=ps.report@gmx.net header.b="JdRklQNq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1736938361; x=1737543161; i=ps.report@gmx.net; bh=SchB+c2hMhcWnD510+6n34YKTHOVJ4nmQf/tY/QHnng=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=JdRklQNq0YmmFEsE3b/sTSoVoDBN/dLTNTSBrChYdw+EgzGTjJq/0mO6chIh0jfe /a+REtPAd4DfoT+MSA6aWiU9pi9AV/cK49I7n+tXMRC3XchAeU5wj0ZO6XzVvoIDC oceeYtVotC9os/fYpWrAfhPzyvMfvDOME18Mi7VG8ceTQEKGLoW8Vo/+9wFUjp8Cq SYglDPJwtlOd+K2M7T9Fu4SI4VZw1pxF/eJfOdJ2QUVSW8HtNoYFd2T0d8RE8M33U XrTbOZgiEbuxcqhEebzmUZlHa9wXOIYuVGjd5F/SIl4rI7Borm/27j8uRWqnfL5qn HtvpzuDz/rNgmtmy3w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost.fritz.box ([82.135.81.172]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mkpf3-1t7nb41KMJ-00cXFk; Wed, 15 Jan 2025 11:52:41 +0100 From: Peter Seiderer To: linux-kselftest@vger.kernel.org Cc: Shuah Khan , linux-kernel@vger.kernel.org, Christian Brauner , Peter Seiderer Subject: [PATCH v1 1/3] selftests: pidfd: add missing sys/mount.h include in pidfd_fdinfo_test.c Date: Wed, 15 Jan 2025 11:52:09 +0100 Message-ID: <20250115105211.390370-1-ps.report@gmx.net> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Provags-ID: V03:K1:k3Ag2EgowNONbBSS1MXcy+E7OWnn16a3u0OSpFfwMlPWqD7YKPD tbysRVIlcbpL52uq6YB3hf02f0hBkBLIDbdNhIXz/pekowYQ6Mn+7pDXfM9m0bMGebUrh1d gmZ96OwWaiHvV5wjYj4n8ZbwSlE5JHtmpC97PSb7RWZGUxCwuqslS9v6IkaTt7MWI6OYIZ9 zH4Q6kCQoPoxo1UhRjRaA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:SiPVOE063ts=;VtG5pP9DHr2Jpu1LoL4fm2p/Xlw 6l6IrwxZhljoZkQheQ3965KFzIdJTs9FHr1a6ruHDpSBBkpf9g8auElDM/gKyxqWIdLshzLE1 CS329sJo3TvnctTnxcAwipkg4OE2ehyJPrmzQ0cT+NKGnDi74RQXEvO8awV9ViZxq6qF4YhNY eujj75fIXt6cG3oLUaePVjCp4UBuUlqCnH8M9s0VKiFMG4EXl+ZkCwwr02wK6hWyasb7Iw1se XUjKz7J24BnuI1L/3IjY6OB9ipbqIwTUr1dUX/LxsuO86IHMhyLCGw/XerTB/Jus4WB1h7INf iZ8Pm1IuyJHgPpzLUy2q7+EzxDwOsqBEw9Qx7n84t8mkrKLYUZc9ZSQVym+zRtTvtJH6c4PG1 vrHa6NlqvDhtXJ2g4W2xUQpKTYN9iBJ5n7d8huQdbTIHKS0KQbVZVCIWdflqDAan1yI7T2utH MP8k6nUV5f4jVzqnbPpO2bz0VmiWc2un4yn41V484wH4Gl6nOXufsKEvYbJmhRO/cDFpvyVWf s2muLuA/xCJa4HA8pwkASkJXhuLlb8PtuVVEaEo8dC6Rviuz1wNJMlh04U3ExoxG6bUNxePlf 2R8/7ji3Dz9Fp639sh3Uuymze0LJzM4EMhEGYa9DECVv2pNeaFFllsjA6PB7v44lcU1meiGQQ wGBza0gcaahbFQoKP6xaLR0EXZ+hWbmTaZxR0Uu8fSbnDJJupfQGz9SlgXfJer+pbUlLX/kL7 bUG2v+dj03eHG1czdT+WbU5d0hQQEQ+j6nP/6zIDrKwZfa72SBbdLgosf9RJH5uph9K10/u4c naZDIzKTYQGkOuRpOz+JGMjOE/toAmUuYvTMyKC/yB52Dn6TSWcl2BDH4pIq0vmcSbQXB9sf8 5l+lBVzl1rkoUQAVth3VqaXuLgUAeZJiuR4kLWgkx8a4jK5ChizBYle/+AgTL1cVN6pKZH9LG FsqOZL5lTQZWcQgPJ2kBboYT6mIqyxWX29a5d6VRzmw7RM1Nb6LIF83859LLSgIqElcgIRsix JThqXTllZ7wDhfp8zCGZQOZo2aeb/buZTQMCJcLMHTNcUdRrOzngGrfQAl1TNmU9MvSKZYVt6 5WhIyHiW6mavfXItAu7q7lZolg2PcXNDiIz7X66m5miwseJxbf4F75tgdyRlJZx2N2ZUkuKQK cIdGukbrpKf5rZEp1qpv1nL5W3abAxR++02w0MEXiog== Fix compile on openSUSE Tumbleweed (gcc-14.2.1, glibc-2.40): - add missing sys/mount.h include Fixes: pidfd_fdinfo_test.c: In function ‘child_fdinfo_nspid_test’: pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration] 230 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); | ^~~~~ Signed-off-by: Peter Seiderer --- tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c b/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c index f062a986e382..f718aac75068 100644 --- a/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c +++ b/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "pidfd.h" #include "../kselftest.h" From patchwork Wed Jan 15 10:52:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 13940293 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 0442B1E98F0; Wed, 15 Jan 2025 10:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736938367; cv=none; b=iMxbc8SBUe81xWhi3odtn9DsKBuLjAku7WJrBHCmHYSxsCeCBxH4n711Eu07SOG5Z4v5gqU6ht3tGGTkLCDIm4k80R0svaIGOJfiI2Tc4uhYnQrgp0N44sBj6F5qJhbDvqm+JVTi/Or0VXGMr6So/CLhabmbJKrMW0TL0NWJ4t0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736938367; c=relaxed/simple; bh=hqeO2HsdlOqkHdPV9q7u/tubN2tjN9Oc3PMkL6Wip2A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sltFeYFysvJ6q/UkrGeckm0kg8emCW53fqKC3gdPyG2Rdo9ZWVxZsLKNqzVrtmoc3a8io/wwbTqJbywY6/3VJl5ADIFZoH5YiyrEHdL9zdchFK67JIPTsybo3EGT0cwe6E9HSrhzT1pKZGBVlIODt6p6xiS3sUsDbTY56Lo5ctc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net; spf=pass smtp.mailfrom=gmx.net; dkim=pass (2048-bit key) header.d=gmx.net header.i=ps.report@gmx.net header.b=aYxCAolt; arc=none smtp.client-ip=212.227.15.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.net header.i=ps.report@gmx.net header.b="aYxCAolt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1736938363; x=1737543163; i=ps.report@gmx.net; bh=hqeO2HsdlOqkHdPV9q7u/tubN2tjN9Oc3PMkL6Wip2A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=aYxCAolt5vD24lYUTju9G05wI8nb+eA3WasVq/RPp8FZVGd1+sDnUpe+ONeqynee 3P2jcflDKOgfExLB8HolgjJUe4sZOpt93RA0MRlyk/Iuw0SYrDvYvyZ3ylbBdot01 KzfGqIwnAfYsbC/2WQnRCAoFFyF6Cs1eMCPBnH+OAXXCP17uJ/Cv5SMmw+Z0GDUPl J0U+Zc+ths7fOedH2Wop5kwwZOUQApNO5gFiCc64swubSHtdofDiPm5c8LIYSGhU+ D4ZKE9zuWE9Edbed0EhULphDxJUA2Z4q6HI3DBVMXNCmNb10f6yRMjaNaRwr/oxm/ KfctJ+aRW174tzEnVQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost.fritz.box ([82.135.81.172]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MmlT2-1t5rn246B4-00acVp; Wed, 15 Jan 2025 11:52:43 +0100 From: Peter Seiderer To: linux-kselftest@vger.kernel.org Cc: Shuah Khan , linux-kernel@vger.kernel.org, Christian Brauner , Peter Seiderer Subject: [PATCH v1 2/3] selftests: pidfd: add missing sys/ioctl.h include in pidfd_setns_test.c Date: Wed, 15 Jan 2025 11:52:10 +0100 Message-ID: <20250115105211.390370-2-ps.report@gmx.net> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250115105211.390370-1-ps.report@gmx.net> References: <20250115105211.390370-1-ps.report@gmx.net> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Provags-ID: V03:K1:1TeF4Tv+hWMhGGDQm/bHziAhd3l7m9FEIIgxfOYBtNEnc3NbKNt dK4qRVPZSJ/oVtbPbe0fv2zdLjWPBpOyE3zCIu1DYcxDpcfogU3jSo3NxE7//KuawlarzHI hMujpt+hSuvIvqEwGsBwbK+4YKaJr05mUqcDVoDqytt5xYA8Qf6hbF/Sqtrx6pHyvCgfR8w TeGWkyt4Br1XcYu1zZKOg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:w0Asd71oIG4=;gIQoTBlAsbpsmlD7NyMcMT6pBKl f134Z4Q/AFzPJP6Gtddx+vjIFX3RWI7Uh+e6fx3V1doTyHBSLEXcQWDQIJvCqdmRxdQkvSoCu gFw1QE29U9OHbMmKdkMmEEt507SpBKgO6qji3AjSZW0FuTnfE4kgLNk8Av0kkpIHeV24H0u6N jNDq8DLRThHg/YBb35XJNMujnIALttQ4B7pj774icVHRKPiLKt7fQQcCS0qQxlqzSCdSCD1c0 T+RBMp34FcBvpqZTHb097pfOz2L4vb85LHAFH5VW2wXZBjjnzxY47q+yNqgSMXe/Orb2ZBipG +/Yun7qUPKSxIFm0smB2hthFUDzk4wr4hgBrxGcilGsfDWe/21Uabaf8dmSHpRmwUDJqEQuRM gMANY4ptq3yEoUwI/gV/f4LGZECWuOCVzXbLZQD27bpsx3cTh5XmVVS6/Rg4hLMqpl9Z+AxZ/ 0HEfS48rEkE5Gn+dpKqZDT6s/Mea/4Q183fNXL0Qm9vQ5NynqCGfN4BW8AhfbZDNF8KbhgiW2 JNe3hmzXTqdN6NcrXL/J1WAOAqnq1WCugRfZB/Le6aIGJ49KlF6hf1jqttKJqXswFxx2JfsRR yYX0CoHQkP8olfisKiU5fVPEqjch1iB3Lra/XVQrwKdzXId+O1WLMfQwby3i6tv9dqBH3jq7U vTgQDLgJiG7U+Z4zj6CW0tUBHhweaq2h8+f5tSS41WwfGe53uDoYCgQt1Gpb1fnFU5X1Cik8a lRL1N39H/w+FyIwgRF2M2nX9fh5uBYpvFvCbrduXseE0kneq3drv8At0ZGV0GJqiSlkTqvzC7 f4RRqc6FekSMj1UbfytU9bu2QZpQUzZO043xcmk6J8Fg+0ilLpGNYbmwdP50xtvpDzJtOJXYE h5r+AMaNJvwnUWfXuvMNsifMqE5BOSou3MqYnPaLGfovSaPpZZFwnaqhHhfo8YUDogHeatOuB kKUDc1ktAB1XnzQEP8OOai9fEfy66UzKCTBRa93JgYhdwJBW+AlxdtPgkYYsXTVnBjHOKNeJa eGgc876DddXKO7QPs5qrFGjKF990I2u0pf3hfUCUt0P6bH15MYOFvAZZxpXDd0ojhlwMuaNl2 8qXtEGOnYPDXedxS8LWLsQOkAwYFSc Fix compile on openSUSE Tumbleweed (gcc-14.2.1, glibc-2.40): - add missing sys/ioctl.h include Fixes: pidfd_setns_test.c: In function ‘current_nsset_setup’: pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration] 172 | self->child_pidfd_derived_nsfds[i] = ioctl(self->pidfd, info->pidfd_ioctl, 0); | ^~~~~ Signed-off-by: Peter Seiderer --- tools/testing/selftests/pidfd/pidfd_setns_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c index 222f8131283b..4c8a0253a64f 100644 --- a/tools/testing/selftests/pidfd/pidfd_setns_test.c +++ b/tools/testing/selftests/pidfd/pidfd_setns_test.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "pidfd.h" #include "../kselftest_harness.h" From patchwork Wed Jan 15 10:52:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 13940294 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 15F2B20AF7F; Wed, 15 Jan 2025 10:52:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736938372; cv=none; b=YQfgPuCIgl0xgMwMOJ9Yi7tbw0r5zvUHBjTVRz2PRjzRtAJAf53u3IGrkSgG2Gbb6fiS7u6OIlhka+T5BDwGAQwtFH4WrTtsLkTS/l4k0rxTO3r9uNDnwT8VKaz12SCijvgjfTXDS9+vmpZyQ3UlH+EpnNYsXYx8Kyfvrp96CPs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736938372; c=relaxed/simple; bh=b52HVgPYSUNIcSDkfRPpdklnQwe5jZHyTnnrnqgr64I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=N9Y73tv58PdLMlVMYwRMc2pYm76l7Pvx+cnku9G400F/RwkIDU4iizj6OI/Dii1ZHttleE2Tbww1XlzbrlI51fR4G9mqvW2TusGR08ZK9GI/zzQkBwV54HvLcewYP5Wvqk+oCsMciN+yW+lFT/YpZ1mitX7Es2Bcn3MIdBVNDHQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net; spf=pass smtp.mailfrom=gmx.net; dkim=pass (2048-bit key) header.d=gmx.net header.i=ps.report@gmx.net header.b=Tv5fi4JJ; arc=none smtp.client-ip=212.227.15.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.net header.i=ps.report@gmx.net header.b="Tv5fi4JJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1736938364; x=1737543164; i=ps.report@gmx.net; bh=b52HVgPYSUNIcSDkfRPpdklnQwe5jZHyTnnrnqgr64I=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=Tv5fi4JJk08TNV1Gn9L3JOAVnWOd6t2H/k4SlIHF53icPH+cKJI3adZQeQRFX1fl oMNmUBK7CiqLkzO8/CHJGynuBZFFv9Lfnm7gpWlX3PObVN3wVaDYRhqNVbuZgPy1q 3T7hNqVUM18QgXDxfIwF2fmvLvz7rJMNS6GOnwnRCboQPghcG7OmxuSlD1B80dWSp 1POWDustupM81izDJvv4ST34yvyz16x7NOALlCe/byS2mTQ8ndQC3/9a8YdxMy+QS FLwGvWWSTndA3AiJnn9Dg7gAqspDszu+uUNpWUAvb89rl1M0N6DF43ZRF33B3vHeG tMVV3unRn1BCOtjkMg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from localhost.fritz.box ([82.135.81.172]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MRTRH-1tsh3Z1DPR-00Wgc2; Wed, 15 Jan 2025 11:52:44 +0100 From: Peter Seiderer To: linux-kselftest@vger.kernel.org Cc: Shuah Khan , linux-kernel@vger.kernel.org, Christian Brauner , Peter Seiderer Subject: [PATCH v1 3/3] selftests: pid_namespace: add missing sys/mount.h include in pid_max.c Date: Wed, 15 Jan 2025 11:52:11 +0100 Message-ID: <20250115105211.390370-3-ps.report@gmx.net> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250115105211.390370-1-ps.report@gmx.net> References: <20250115105211.390370-1-ps.report@gmx.net> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Provags-ID: V03:K1:/STygH3V3deu60mGkNqvSvDEgdxySbNyLdJidGZPjmxlUWXbMgK 1X5pFhR/BwLYItDD3sgR52ANp1PBWGLkCnI7r0nPEsWLlrv/+x5lAsc2zsr8JGmeLzhEBP6 1tagUg1lyjZQUVNEKLLOndkEgBGdAbzepI7M57aSnHLckUTqb6Du+3kxoEBRShsr/MjD1Ii qK44mdzuLgvnILc5BmDJg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:QsywIUToccs=;x4PMqwlcdqj0Heb/NOM7mBZF0Sx UU1mIP+A7VkUhb7f+M4n0vXOpgodzOt9XeOBbsbHod1ae6bsX9g3ecahJ2ekXjLa5348E0Tgo CmptGzpjYjjaPfyH39Ot3oJBkRrUNbRCmEd8lm6pq2FCW4DMxU0XnBBTLP2kkNv1EeYotxZ0z afXztCp9jj0fiXoqtn2t6D/SZ8rCQhJyky+AkhNpVKzL2gpILHcWqYLSZ94TML/lkmsPlCN/f /bgdrMWOZ0rgbGDuuXzwgbWcaSz7VStr1yxJcx1ods9mw2yayxOEbF7eug/CsY1fwUJ5LpKE+ hsfYt0ROInNuYXnAVsjcO+SYi5SVszGC3yCJD8kJnaTe69UKrCvsF97pnkAWeDO/mv/3+Zez0 vYErYDl0KVED+QQ8mE8f+RhYb+6I9lgWWTxPzNAu1xXA2KBl3dnLBNjsNiRlBKrGki9B4ilUo riBAYlc2Ve2XMaYdxjgMGIJ0iPMByoQhJjdG+SpXm900hXMLJu5xogqldZoU3QapnFkGlNIx0 pwrkppQvVTfesPMXCld9TqXWyPYDFSQSuPdRm/y/BHPa0rKjK4E+rmkaaigEFfXuL71t8l2zS 4D7SDxEeXG9VTNv9ihUpu3nPGB2m6jnwsHbudjdVit2A81Q5j3v2DiqR49POqfm+paUCBBb+5 yP8tGBtHV6H4TUexU8pU8URcJ0oxqZcPey63GbnyfIquzg5wMP0UjTJVzSqYAg1W/kevyNVZ6 Fr5eiwm5Sr+7zeV9gE9hqyuKDWMcdR2GSvIMHHxFNyb1LFLqgy9aYUo1UHKfi+6jU9rKrr4D1 Ah0qQG7CskR9qZCTkH5P9PtmPSoPBkEK22RgrzZPklcAHTkQvQzTSIJ8W/0mUNlZhneTh5wwo 0hlExVy2guAUz16lmzjnow0i+y3PuxyuQjrswdnt+uxzBgID2VACg+x7crhOjIaLFLuhOmfzX nLwy7an0+6bU/p4TMZnGZhRoJB8s+v2+2MaTQ53kmxZQ6H4XYJ2Mt+kAjtRPRSet6iveqCUsP M+EFg+Cs3yLv3cKvs/ECRwhOq0z6AOd6jvs0RaM2y+jzGP+ww6osREKHssZuUkbWsGaJxp6Y1 YORDD41POzWz8TeNRcHYBr3BVcXo4X Fix compile on openSUSE Tumbleweed (gcc-14.2.1, glibc-2.40): - add missing sys/mount.h include Fixes: pid_max.c: In function ‘pid_max_cb’: pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration] 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); | ^~~~~ Signed-off-by: Peter Seiderer --- tools/testing/selftests/pid_namespace/pid_max.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/pid_namespace/pid_max.c b/tools/testing/selftests/pid_namespace/pid_max.c index 51c414faabb0..96f274f0582b 100644 --- a/tools/testing/selftests/pid_namespace/pid_max.c +++ b/tools/testing/selftests/pid_namespace/pid_max.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include "../kselftest_harness.h"