From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 05 Dec 2024 22:28:41 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tJJOr-004Tr4-0p for lore@lore.pengutronix.de; Thu, 05 Dec 2024 22:28:41 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tJJOr-0006H5-HQ; Thu, 05 Dec 2024 22:28:41 +0100 Received: from mail-vi1eur05on2114.outbound.protection.outlook.com ([40.107.21.114] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJJOf-0006GF-IP for ptxdist@pengutronix.de; Thu, 05 Dec 2024 22:28:30 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cOZXc++tWwjyR78GTHddy/3dx6veD7G6IUDIhB2FQdTgdu9ORWeZHaQOAu/PrVwgnrbcXAIA/nyzxSAp4r2AHIAi8K+KCQWwVhsh5Px1+j9arg+PFKLQGKd4QYH6xKvOOcDJnPLYMzdIAIv7v12GEFoJH7g1hs0XNz3ZYAtlHY5ZNfxTo4iHlcHb1eDUu8FyzhgXxo1TzV2bu3wyHtGFpOyQ60cjYugZFkEIeEtg2zywwi4CeHHqEZXqu4edSjKC1x/dPi62Sa1KUIYmMRUUb/cvUHeUOTEdHjkbtOua7W55Wzu5OYIkU0oXbQil/XxOHonvEqP6pEEADMVgS3PxPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Dk36NUJBf/6qLQHIiH5oSxbulgDPUCtgYK7GV8wnpC8=; b=LZEbedw5FbZJDHYzJKPPPcM4JCUgwml+INDdvwAKvvaVa/6HtP1Q1PGKAqMrxz5kEZ4g9t2dQhUOMIuBWL3H9wI9Q+YQ/FnIqfRct7QOyPehYfy1xmNkXs733g/Xg3QYqzBJdRZCKh0V4p6p7QTlNKYi9ermbIGKrk+C6biGTNGXekLy+ixLOsY86GOzi/iQVGid8DAn6pYrArpbKfxhEUHc+ieFkwaQrhN7YAUEwwnbZCeWzThoWrlg/KrZxVQD8+NLjLBbriyAlL7bo3ZVG9j/jMmTUxNYpTu1cQ/iJsPz94qKs1zGprvVmB9plLYgWaaQGRl3dmISqI8WoAAECw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dk36NUJBf/6qLQHIiH5oSxbulgDPUCtgYK7GV8wnpC8=; b=LwFspDwRK5sIAAk4on7K49MamISft73HgVXJXxvrRUyW+hTUMLFHmqehu2r30bCJTUX+LQvszDMFR785D3fExC0Oz91UyX6idg+g2TkcZIkxggnWzRYSIcV+ekRHMI5dlTYMb9hNLlZzaQ6nGXCk5qB85lJgEhc75lARQbzginc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by PAXP251MB0361.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.12; Thu, 5 Dec 2024 21:28:27 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::fe8d:f825:5b29:2903]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::fe8d:f825:5b29:2903%7]) with mapi id 15.20.8158.021; Thu, 5 Dec 2024 21:28:27 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Thu, 5 Dec 2024 22:28:20 +0100 Message-Id: <20241205212820.1336735-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GV2PEPF00006627.SWEP280.PROD.OUTLOOK.COM (2603:10a6:158:401::3cd) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|PAXP251MB0361:EE_ X-MS-Office365-Filtering-Correlation-Id: 46d633da-8491-417d-4f52-08dd1573c189 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?c8raIVGeraPaP9pnACXNpBNlwZWL6DkWvngE0HsdCtQxb5I2lZLedHhc2EB2?= =?us-ascii?Q?057xQSOu7FpwwS5DNKdzJIuOGzngEUPbLiFu8ftZhN8NEHEyjxNH023/IkJV?= =?us-ascii?Q?m9Qgm2fpoRTH9xyvkgX7Z0+OJG9xqFN0Qhs2+Bjio3xLoQgKv5LJmCTpMAM9?= =?us-ascii?Q?2qNgDsBoBcn5jTTQwLhZ5oqC/9XgBNkixhaOOUVa30EjSeIkmfvGHxmGDDZa?= =?us-ascii?Q?XeQEB/aLFDjzZJGEY+KRw1G0IvYuXwERRvvOsl+4G0XrcskCyv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TzBuSUBz09x6e4EUGxCJQpNvQ1lL2zAOYpno?= =?us-ascii?Q?XIvE40FB8qN+YFU246XTfPtpNUY6aYw3/GRVSCvjb5bSa31nXaCtiSOcOYN/?= =?us-ascii?Q?VL5We8Y7eGzIokawtOhjsPh3mTOINMmS2ayJLovZb/iXEacxpeKEhKgGpGf8?= =?us-ascii?Q?iLEGbf32VXs38/uuQ8fLqcEJc6153FMPFwtjJJf7zvRk2w=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?CdlB5ZnnkWsUmLvwNnob6OETUioVWVsY8MeF4EHRGz7VK3pKLbFrd35HvONT?= =?us-ascii?Q?DHnDzWtGprVLmnWRbW4shjGaBTU+UR045sjTD45f/6NWlkM+EK/vVSmtyqUT?= =?us-ascii?Q?MeJWWmbOdW69kL7REQOfPAjg+ptrYnurbNSdiJsztMt2yzxZinbvACEmVqMg?= =?us-ascii?Q?lZ2G8tEdyWvmLeD39HJDqIBjRK3VDMTt8UoYQyiqN7yzRbRfiWpe9o7ubu2L?= =?us-ascii?Q?ouWzuaEO2R3ueelx82BvVVrfLr5GW3Ff5T+eGMtTqGxZlo/f/RRGKcvoypJp?= =?us-ascii?Q?5lAWDMCk7fZEIq+MOWjj9zeVN0Yow1iF/tMeJ+TB3snNG14xk5xc8XjKP8G5?= =?us-ascii?Q?QADVeVcuAK2VNfJ5jdXhR1ThlVsHrBBug8z/CM2xqe8e5mDS8pQQ+biJqhnT?= =?us-ascii?Q?6F0NxvJn4rXXLy8f92HdEezJbeTWiRb+Q9p3zjexqtihCzglvDnmn0qLClx6?= =?us-ascii?Q?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q3Gkl4Fv?= =?us-ascii?Q?PdcDGMz6cwPSB+1Ir0BDTgs1HGfereDfaC6Rfee583fS3YbSwWTzzObjsEGE?= =?us-ascii?Q?8YqEjeuHHDkMkvZFsWtlOHR6m7LpAklsKZRdWKyDcVAMUM2jb3FQG0bIoRtx?= =?us-ascii?Q?8/MvqZyAYNx4Zb86mBfvRsXMkIH8duxpBqXfDrnaIogLQQMVBvZufQuhFJ2J?= =?us-ascii?Q?6IQKcU0UQ6EwSi/VFY2d4rt+p5SOWlp/b5J2GY//qiZodYSerLmRUCO1f/yl?= =?us-ascii?Q?gA=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46d633da-8491-417d-4f52-08dd1573c189 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2024 21:28:27.0306 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cJbsBtnrjxCkyLsOxyjskPc9HpDMQTrRyT1pQvv3Y7/+FJ/TVDvoosbckLhDqfmQZLmjuxAJp1b/BrIZzEWyUnz3wR7YIotRZS/oTzhu+Fo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP251MB0361 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] libcap: Version bump. 2.72 -> 2.73. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Minor changes. https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.7yd7ab9ppagk * Remove patch since the change is included. Signed-off-by: Christian Melki --- ...x-use-getdents64-instead-of-getdents.patch | 63 ------------------- patches/libcap-2.72/series | 4 -- rules/libcap.make | 4 +- 3 files changed, 2 insertions(+), 69 deletions(-) delete mode 100644 patches/libcap-2.72/0001-psx-use-getdents64-instead-of-getdents.patch delete mode 100644 patches/libcap-2.72/series diff --git a/patches/libcap-2.72/0001-psx-use-getdents64-instead-of-getdents.patch b/patches/libcap-2.72/0001-psx-use-getdents64-instead-of-getdents.patch deleted file mode 100644 index 6edb68a49..000000000 --- a/patches/libcap-2.72/0001-psx-use-getdents64-instead-of-getdents.patch +++ /dev/null @@ -1,63 +0,0 @@ -From: Xi Ruoyao -Date: Tue, 12 Nov 2024 11:44:56 +0800 -Subject: [PATCH] psx: use getdents64 instead of getdents - -On relatively new architectures (for example ARM64, RISC-V, and -LoongArch), the kernel does not have a getdents syscall. Use getdents64 -instead to fix the build on them. - -The getdents64 syscall was added in Linux 2.4 and I don't think we -should still support older kernels today. - -Signed-off-by: Xi Ruoyao -Signed-off-by: Andrew G. Morgan ---- - psx/psx.c | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -diff --git a/psx/psx.c b/psx/psx.c -index d66a7bf7aa7f..bf7d69fb55ac 100644 ---- a/psx/psx.c -+++ b/psx/psx.c -@@ -410,10 +410,11 @@ static long int __psx_immediate_syscall(long int syscall_nr, - - #define BUF_SIZE 4096 - --struct psx_linux_dirent { -- unsigned long d_ino; -- off_t d_off; -+struct psx_linux_dirent64 { -+ long long d_ino; -+ long long d_off; - unsigned short d_reclen; -+ unsigned char d_type; - char d_name[]; - }; - -@@ -486,11 +487,11 @@ long int __psx_syscall(long int syscall_nr, ...) { - - for (;;) { - char buf[BUF_SIZE]; -- size_t nread = syscall(SYS_getdents, fd, buf, BUF_SIZE); -+ size_t nread = syscall(SYS_getdents64, fd, buf, BUF_SIZE); - if (nread == 0) { - break; - } else if (nread < 0) { -- perror("getdents failed"); -+ perror("getdents64 failed"); - kill(psx_tracker.pid, SIGKILL); - } - -@@ -499,10 +500,10 @@ long int __psx_syscall(long int syscall_nr, ...) { - for (offset = 0; offset < nread; offset += reclen) { - /* deal with potential unaligned reads */ - memcpy(&reclen, buf + offset + -- offsetof(struct psx_linux_dirent, d_reclen), -+ offsetof(struct psx_linux_dirent64, d_reclen), - sizeof(reclen)); - char *dir = (buf + offset + -- offsetof(struct psx_linux_dirent, d_name)); -+ offsetof(struct psx_linux_dirent64, d_name)); - long tid = atoi(dir); - if (tid == 0 || tid == self) { - continue; diff --git a/patches/libcap-2.72/series b/patches/libcap-2.72/series deleted file mode 100644 index 865ca3099..000000000 --- a/patches/libcap-2.72/series +++ /dev/null @@ -1,4 +0,0 @@ -# generated by git-ptx-patches -#tag:base --start-number 1 -0001-psx-use-getdents64-instead-of-getdents.patch -# 1666dae941d8a109c02e73257ed0c32e - git-ptx-patches magic diff --git a/rules/libcap.make b/rules/libcap.make index 62b227df7..79e8a2d61 100644 --- a/rules/libcap.make +++ b/rules/libcap.make @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBCAP) += libcap # # Paths and names # -LIBCAP_VERSION := 2.72 -LIBCAP_MD5 := 0d9dd20dbdc7a94942f0c43ae706e5ac +LIBCAP_VERSION := 2.73 +LIBCAP_MD5 := 0e186df9de9b1e925593a96684fe2e32 LIBCAP := libcap-$(LIBCAP_VERSION) LIBCAP_SUFFIX := tar.xz LIBCAP_URL := \ -- 2.34.1