From patchwork Tue Oct 8 13:23:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 833573 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp289427wrv; Tue, 8 Oct 2024 06:25:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQfHdu0G/IVp79M5Geu38g4sOqbseR4lDJcekTJafTB7IG9LQD9SBR1YcCNdyeoE5Uo8VdFw==@linaro.org X-Google-Smtp-Source: AGHT+IH3ivPaOjO+/5nI+ANBCou1DeMZL2XFUgjG7uN+j7uoA0IQ9KZE22uActCPU8gbsu2AM/Eq X-Received: by 2002:a05:6358:2c93:b0:1bc:4589:cfcf with SMTP id e5c5f4694b2df-1c2b7f43200mr579969755d.6.1728393953359; Tue, 08 Oct 2024 06:25:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728393953; cv=pass; d=google.com; s=arc-20240605; b=YgiXeEv3MFRsexq7YlQFn26JNT/7msStn+3kPwZkmfG2Gg1Iy0bfwNFYB3pC5n3YBU YWlGffaDlaD0aMpNlymxG5tY072N111LpqcaiMMU2i3iDiBCpp+5wmINfuAH1i+0Lcp/ 9VPhtn5JWVc5dxOO98okFyD7HZKeuz7Gqt8C15HqzAA7nNCvmc9KydNdaKd4crzd+Fhm x/5PtqBtsgGiod0WYH+FYkm2rXNTZq/7kKGLtxaCZdGAbtBDBdAqBYGaUEXkC+WR8cMj od6isXYmDmv/8Or2d1xrE4uJqmlDiXYx4D4jvQWDXxh5sYL15fg6l4I8mfztyy9iJXhh Ssug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=XhbMmUoWo3/zvp7G/59KJQeAgDJ+vsC5ZPtz/E2u9XI=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=J4AgOp/Jmad+AkCfL5K45BcnuaUcFmVnuZ7JR2o7/qcwHmgJshIVEnnveTL0R/VyUM cpGv9fNjtwL2uyU6RxC2ZcP/3LfCKCDUua2nUrRIMzepzNKbvlHcAqK9svUaXriAc7xY b2ju8CAhHnoNLFp/QGwSUSeslniSAuO+RpErf2FgjW5E3Gp1McS1JGWXrfz4uHiiiy10 NLRcewIPEaSanU8VD0ITwvy90XlKdsCJflb/ek6mIPZT/rkA1vXXzyQVTyE2RY9FxpWz HGWHteRLYwS/onA9psxxTSXO1bNN/lXR0Bx6T6qlPBU02b0NZ/KQHDsJ5KLdv92cLLC/ bAyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sK4pY1lN; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 6a1803df08f44-6cba4772a26si84492856d6.386.2024.10.08.06.25.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:25:53 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sK4pY1lN; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E5DDD3861829 for ; Tue, 8 Oct 2024 13:25:52 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by sourceware.org (Postfix) with ESMTPS id 16CA7385C6C7 for ; Tue, 8 Oct 2024 13:24:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 16CA7385C6C7 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 16CA7385C6C7 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52f ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393889; cv=none; b=R0s9I3ywdshj+1g3BWR4th3S94bRqs1begkb9lu3QOZKajVS55q0Q/EgYsbG1MtaWLn/sFNyLa0wOH3SzvSpjrZTkDjgyPqhfnCvyImrQqGZk1Sqp0s7UGfpG2nGjApBjjLVSMM0dQ0TtYlnrK1LapMoQa+lZ/jJ+maoYhLi1jw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393889; c=relaxed/simple; bh=doSgKaSU6flWQ8YzCMwMLYyt1SmduQo6GGMSC4o9WrA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Xy2lLK06rYUXatVPaOVL/dvh4OHFlD7r/CN5bleppQzG9N5XxPg83owoS0Pc48bquKw3Dh49G3T5ld7Xo8AlD+sF7FGxRWo7d/HmDJyZOhHDI4r1LIvaJRuAN/Cb927+MRhM2KNui2LzzED7txbgecZcaZwB3VdGEopsPn/yqZo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7d4fb2cd1ecso107228a12.0 for ; Tue, 08 Oct 2024 06:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728393886; x=1728998686; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=XhbMmUoWo3/zvp7G/59KJQeAgDJ+vsC5ZPtz/E2u9XI=; b=sK4pY1lNSGd+VEw6whyVpMveiauGNwFjRcSZNjbFKfgv7FUm7+Bo6YlwZ90ijmSdHJ FpIOCk+xn9gAK7ydPuz/1X8Ffg4Rb7+3/yBTHdKSiV6Zkc0Y+dZ4xq62qkFTA8NvAcfZ 8pAXS9Su1zN1HWnOjvhldAIJzf26IpPPlE1t96U2OYqqKxok0LqXzQOyWtSCVXmVHq/F tus6zfeRcMpOO/twsbYPCZyZTWj1FAigm6NSW1r/sxFJcMp/SYvj0ielPCr88ER6wbdp L1HEH5idTlI6NYelEmagyCzOQRtlUmWfkYRCXWz0NUCBPCY1xh1fA68o5lWWBjtyjeVX +9nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728393886; x=1728998686; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XhbMmUoWo3/zvp7G/59KJQeAgDJ+vsC5ZPtz/E2u9XI=; b=rT1LTqcCnwFa8iN7UfsgScubtwj8BuPZPx8DrllZNdR7xKSQHfXZxmxfT0bhb+PAos PZKuwhRGD3f8DKVijw/rxa+UbcFJ7s8rwj5MOI0zpUXLW9hfXVdw76v7cM+qsVZcWNld 876R0E7JkrH+QMDYvMHVlyS93Jhofzi2bgg4nx6dtQkYCOmQAqGyv5Ag38NfhHPv+40N uZql88IBc8QzoL2uzKAKj7i+4nx6JN6dGGdllx/rGvFj5uyyngTNakYtXWHF3uBvEjrt RuMixIONTf3MHc4ZtuH49ld6Cd7GOBLfHmEU/Ze9XVYJjxR9cF6hQiTtrCWo2F9AxF+c g91w== X-Gm-Message-State: AOJu0YytlSgLha+w15CBLWh5MImWydyOOJKSh99B7Zn+1u1En7HxE95e lxXqIzmcgIncsXiUxJJ4iw8fHyBP67/r+cIx0GvVkuFLD+biFoiqPD3zalu26Q3Zf3cycMGgKuc 8/T93AA== X-Received: by 2002:a17:90a:4bc6:b0:2d3:ca3f:7f2a with SMTP id 98e67ed59e1d1-2e1e62674damr15759708a91.22.1728393885672; Tue, 08 Oct 2024 06:24:45 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e20ae7177esm7597909a91.3.2024.10.08.06.24.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:24:45 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 1/6] Use Linux 6.11 in build-many-glibcs.py Date: Tue, 8 Oct 2024 10:23:41 -0300 Message-ID: <20241008132440.722309-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008132440.722309-1-adhemerval.zanella@linaro.org> References: <20241008132440.722309-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org Tested with build-many-glibcs.py (host-libraries, compilers and glibcs builds). --- scripts/build-many-glibcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 5ee45011a1..f81e6d9aaa 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -831,7 +831,7 @@ class Context(object): 'gcc': 'vcs-13', 'glibc': 'vcs-mainline', 'gmp': '6.3.0', - 'linux': '6.10', + 'linux': '6.11', 'mpc': '1.3.1', 'mpfr': '4.2.1', 'mig': 'vcs-mainline', From patchwork Tue Oct 8 13:23:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 833575 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp289791wrv; Tue, 8 Oct 2024 06:26:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfJhfu++vmsskhK6NFmgiAY402d8fk94yxOgJACJ3ytq/wrs5Mpauwijnr0CKFxc/BgI7uxg==@linaro.org X-Google-Smtp-Source: AGHT+IFDiCOXlVvfTdcr8SHGc6y7BFkXhEbTFJhZr9q55MqiOdx8VkGNYvIEw/RpTwD+h6GzI3Ii X-Received: by 2002:a05:6214:3d86:b0:6cb:3baa:7ac with SMTP id 6a1803df08f44-6cb9a308c33mr254444706d6.12.1728393997658; Tue, 08 Oct 2024 06:26:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728393997; cv=pass; d=google.com; s=arc-20240605; b=HGzq16Tc7Ogx8u4aQw8g3V1p4SSO+9PNgLcTvsj63QXNtQ4eKNrQcy3B6ujIH8R20b hJ9Ybl6vDn/U6ZKpAbp5iWAfg3udzLKmMlO6S5iOx+ltVZhOBSTkVxXatyXW8K42Vdl/ h1D7B9gTVL7Zt9YhxfIy08BNUJ75wo4rSdC6i3PPfNJE0bOPy8MYY8TUSlyXNCKL2e6h 05ZQlwqIZJYSBigHB1YnN2oQ17m0UkLcYoSGhxi1a56/K9ziFpxmjqr59iocNX61JysR Id7Z+i5FnqUbor/wdeKq+Ga1ROAsYI+dqDdedOzdhR96Bz/OpTggwb7g86g8h0/ZgmGe Vs2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=+NIvwP6gzllpuEAk5/NllswbuK5hrAAvAUt1JtGsxJ0=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=MsvO8/uXoy0l5jbrSvCrUbEwDczWDnLOYhcsfSRtr14NSKjLBsej0qdAqLoL7JELwn CTsFeJx17gxMNER3ofMJGEGnuLndPnh0cuRXKn4RVo0/WAsrQUgI+g3rSAMUjOfeHzUa A8rb8SaJdf4StI1U13wQBiA1P+AYq5k0MmYF7zbgNRQeXVk00RWcXOL8+KG84aQ/n2S9 rROAI5q7JBtg2vTJWN7jFMkhMX5wM/JHz52geb88lhxArrZHVgL1StzLcdiyLgcMYyVO fO/iJceynTVakPh61smwRHQW6LSYVgN3tvVY9DQ6gaZYGXfnvqsMjVMWI3BS6GE8HP9g PX8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=INEBgfjp; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 6a1803df08f44-6cba478c150si85351686d6.457.2024.10.08.06.26.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=INEBgfjp; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 463F5385842D for ; Tue, 8 Oct 2024 13:26:37 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id 959E1385DDE6 for ; Tue, 8 Oct 2024 13:24:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 959E1385DDE6 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 959E1385DDE6 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1032 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393891; cv=none; b=Y2zV+a7USbtWlaSiniVm85lPJGM4wDYjVrymOMgn38AEl5mFP3Q2YsCM1a99NMzV7RVwFxn8mDBByHBqUiBdRpyBMffY4C0ohqgBWOVrIjKaqrplc2jQwkULOZxZ8xM33WlLbLbpTemtH18qW8J0Trr+ChqU0lkkXPsVhF6mDl8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393891; c=relaxed/simple; bh=ckyN3rNhKXrddT8rtBj1a2+4KTOpxpNss6wVzadhOQE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=u2YLx/0TeY6pX41a1LfHy2t869WRHfEldD5Skm0Ad1bpA9Xjf2ZF/R/bLfU2ZGwlMgNThuHcCwngNRXWenFY9nwsjXKIJjAj843ZQWZ3NdGqQFrN9ENIfr07GIuwcSW/sUE/SPPxzafroTnngP//GSbbqy3YZSRKVK3jyfPvjks= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2e2976fca23so35897a91.3 for ; Tue, 08 Oct 2024 06:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728393887; x=1728998687; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+NIvwP6gzllpuEAk5/NllswbuK5hrAAvAUt1JtGsxJ0=; b=INEBgfjpenHXnSk5ydBI83ct3lV8JXZHwG4W2ScbWvl+EYbvjzCnF8pD80wHXrjR71 g2KYv8WZdX6mIBiTxk0C1WFVObTbaoMhcUZAjb7fWGtw3s45IhOhRX0qrbKSJy/2Yxki gs7Nk9AYb5ZoFc2zwpDmtpEiaUAXrzjQQhfvapi+6UtrEG3zm6ZXYv37QNp+bAysACJY 4r4FOhZg1YsZQNoH94wVMZeEXnMha71K7tN/WyjxaNgB9c2WOchfueoqe18QsY5Vw2Vh 6vFJGpS7dCxExwt56bCD6BHk9pQ1x0No92SK7G/jmmduWaEDru2cifUKkNqCkSIM+1Tx RnrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728393887; x=1728998687; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+NIvwP6gzllpuEAk5/NllswbuK5hrAAvAUt1JtGsxJ0=; b=Nn0tG3NNaK8e6g4QCAnjifnuyAw41XwNHrBqaPucDW+BoFHzj8BtAHUnzq6pwqDGHc Ek0lYyFuWKBfjSoWiaiU69Gb/Am6Is1GapPbgbLRtmmh+FT1QeNOc1Yv3hzKgXxRA660 GzaHVjOuRx2W13xmhlaH+onx6y6978b3qfFlfFpQcS7M4XDNDBWLWYvRjhQosPcooyYX oPAshiaMFMQASqQCpOkDNWaWCAj7gYgUM4z6o0PAUZk3p1EfF+ca5yMHEhHmeNkSKJmI ZDD8PtXTUw/fEdZLlI+NMvaL7kW2ZHUlDyodSJUcTRj80OyGbaSM/KZFPxBvoMpM5do3 dI5g== X-Gm-Message-State: AOJu0Yw+3GvhLFUehbh1ct/c6f1kZShYuwSDO2ZAH1sjM54GaCiTDlOF MWlKEyO7cyc9C3dRA/f7LbKDF1AOh0mddv6sELi+e9p3k3+H9u1/g6VjskFW9+rWyOfMmVxpMXx 56kMZ0w== X-Received: by 2002:a17:90b:68d:b0:2e0:8e36:132 with SMTP id 98e67ed59e1d1-2e1e6213580mr20686566a91.3.1728393887040; Tue, 08 Oct 2024 06:24:47 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e20ae7177esm7597909a91.3.2024.10.08.06.24.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:24:46 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 2/6] Update syscall lists for Linux 6.11 Date: Tue, 8 Oct 2024 10:23:42 -0300 Message-ID: <20241008132440.722309-3-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008132440.722309-1-adhemerval.zanella@linaro.org> References: <20241008132440.722309-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org Linux 6.11 changes for syscall are: * fstat/newfstatat for loongarch (it should be safe to add since 255dc1e4ed8 that undefine them). * clone3 for nios2, which only adds the entry point but defined __ARCH_BROKEN_SYS_CLONE3 (the syscall will always return ENOSYS). * uretprobe for x86_64 and x32. Update syscall-names.list and regenerate the arch-syscall.h headers with build-many-glibcs.py update-syscalls. Tested with build-many-glibcs.py. --- sysdeps/unix/sysv/linux/loongarch/arch-syscall.h | 2 ++ sysdeps/unix/sysv/linux/nios2/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/syscall-names.list | 1 + sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h | 1 + 5 files changed, 6 insertions(+) diff --git a/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h b/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h index 8bb82448a7..7e732256fd 100644 --- a/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h @@ -59,6 +59,7 @@ #define __NR_fsmount 432 #define __NR_fsopen 430 #define __NR_fspick 433 +#define __NR_fstat 80 #define __NR_fstatfs 44 #define __NR_fsync 82 #define __NR_ftruncate 46 @@ -166,6 +167,7 @@ #define __NR_munmap 215 #define __NR_name_to_handle_at 264 #define __NR_nanosleep 101 +#define __NR_newfstatat 79 #define __NR_nfsservctl 42 #define __NR_open_by_handle_at 265 #define __NR_open_tree 428 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index f94e212995..b1d0fb6f6e 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -24,6 +24,7 @@ #define __NR_clock_settime 112 #define __NR_clock_settime64 404 #define __NR_clone 220 +#define __NR_clone3 435 #define __NR_close 57 #define __NR_close_range 436 #define __NR_connect 203 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index 7871f93b94..1e14572045 100644 --- a/sysdeps/unix/sysv/linux/syscall-names.list +++ b/sysdeps/unix/sysv/linux/syscall-names.list @@ -653,6 +653,7 @@ uname unlink unlinkat unshare +uretprobe uselib userfaultfd usr26 diff --git a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h index 5d86e75dd5..dfc10d0c7e 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -359,6 +359,7 @@ #define __NR_unlink 87 #define __NR_unlinkat 263 #define __NR_unshare 272 +#define __NR_uretprobe 335 #define __NR_uselib 134 #define __NR_userfaultfd 323 #define __NR_ustat 136 diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h index 6c35068d8e..9340daa967 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -351,6 +351,7 @@ #define __NR_unlink 1073741911 #define __NR_unlinkat 1073742087 #define __NR_unshare 1073742096 +#define __NR_uretprobe 1073742159 #define __NR_userfaultfd 1073742147 #define __NR_ustat 1073741960 #define __NR_utime 1073741956 From patchwork Tue Oct 8 13:23:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 833576 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp290143wrv; Tue, 8 Oct 2024 06:27:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIp14eDfabSbL64thFLfEDJjLOf9Z+uTOXjS+SWcfHhgfziSlCiDO1oCThRwWJOvDMSJoafw==@linaro.org X-Google-Smtp-Source: AGHT+IH0A6MGxlxLE/Hwx/7aprTX7j95tE+/d3xeY4QqtPFyzjfE+dBbqhjIrBO/9WpjQ6ca9om7 X-Received: by 2002:a05:622a:64a:b0:45d:7416:1636 with SMTP id d75a77b69052e-45dc229b4eamr54007761cf.2.1728394039800; Tue, 08 Oct 2024 06:27:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728394039; cv=pass; d=google.com; s=arc-20240605; b=KFbQU8tY7CtTyLcxzWQrrQ1Y1T/9ZjGn7vDFasEosfeirHgIY61Iw6HrLI7Isv17in 5XWse4P6VkCPTKlpdx9u7EEJHCM3fC37QQL+/IpH8PVOrZtdk8kHAVdPI9hMLKTRwtWo C47bK06zRh8Vlv8wpVZkFwv7OexjhKSkIkEPXhhAJ3JuEP1Q8avXBxsOsCA1ior6sAvE PlK/ewzND/0LeZ8VY9NSzryS7M250hxvxNMcg9v4gLd+LtTVh4r6tgu6r1PYfnmvn5LF cPTc4A/W+Unqcmhmc9Aw9GMm/lWPX5hBOFleMLEoK5UHqgMIvIdRjpXytSFvxEL7MNh2 RaDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=pIfDF5IYzNqpy2LocItfhplNquXy0LOTR387eukWeuo=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=QbmNzNMkLpAhlRkAeVhCTzkczmPJij7PuEQYNdsQeJDbit2wbgFE/Oi4nwahNyvTEs zudRG9A/PFhGaE+604DYI4KKZ9v4fz1Q6NfZpPk+n8DdulnGUaJfdP/AG9tMETVT0+5V 8fkzJhK2PanAN/nIZGFpj0LtlFbkHucjdkH88LpwnV1lfI0OfI7AKzlBZmqZp3HWWrMN MGDeHiGR/KvDc7R06qEhrODBcF+FR5yqgHvOfeDS36QSHGPgUWXqJvPvkp+1dcL0wsbg NVpS0mkIj+d4DmkW39raBTVsBHzI+xRzr5Zv0+Ox4RafkBueglPrAzotaOCtrqjC1/eW UrjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J5Zgc0Gk; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 6a1803df08f44-6cba475a62fsi86571346d6.224.2024.10.08.06.27.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J5Zgc0Gk; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6148E386182B for ; Tue, 8 Oct 2024 13:27:19 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id D8D7F386183C for ; Tue, 8 Oct 2024 13:24:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D8D7F386183C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D8D7F386183C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::531 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393891; cv=none; b=okVrms24SZXIHQRoB8U+SawfIEzGvSo6Ibm+X/AihCFI1vgH7avacXrTtVxqnn3wqbzUN/HbZF5nnR1s1x1bxTotu7hxnqwQJuAlcvKjKvW9Xn6ZFoejuJFLenrul5t5NRLrehx1KLmXI5fofym+Vu1UQ4ZuqVkCR5IdBfQ39WM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393891; c=relaxed/simple; bh=8zS3JnIflNr7nxtYcvVvptL9klXXFKQrZY/NSxgjUGs=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=fqz1cbvqsQ5XE+ErXqjRIrACxHptkUDnIvjWCHYHB3DV6GuWjuE4pJjf44Y77wXbY42SGf6Nv/VUAzlnd4HSxf6LA4PxMF6MK0qYw9mJAtepbOv28I0OFEzcA54myGLceCU6qTAzpl+9hXxII5lo+dSQpdgjsCUS9fZSgHAYfJE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-7db90a28cf6so4438602a12.0 for ; Tue, 08 Oct 2024 06:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728393888; x=1728998688; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=pIfDF5IYzNqpy2LocItfhplNquXy0LOTR387eukWeuo=; b=J5Zgc0GkkbpG76R+YAyyfPUcnCUIemz8DxfXIgKW6i6gWMaKBcEFVR4sddRry561K/ 0EFO74Z/Hg6ydQhX3zkWGEfY6ZPXG4upsCgKoX3oT9PP+ENAFgY7rdqC+iowwEpsBGwG eWV5gbtHs747pPvtkxLTrhylXFGduMgAvWq5/zz7nkuzfYyNUTj8CTWIQdgkvLzqlYcj DRuGrytKP4QKd7XjnZxq3MLxGvSMMzS90TmSGEuRqgBfJiKmFUtQC+iIJL7ixgEBijox YnXw0UNjfuqw6wZBEhfzOq37MpW7RUFHo32ZNPd8vYy5/3SHVQ75H8Vs+r9PGVaHpsoC B1sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728393888; x=1728998688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pIfDF5IYzNqpy2LocItfhplNquXy0LOTR387eukWeuo=; b=w4gkpzLn0d04aiuj+m4tvOjSc6AXOidQEbcAmtyTZnQop3B8e7g5zLmX644W6/lmza Jk19z/74Av8RqVjVx0GM5GdfPM0+FZx+ZMDg+KwI473XA4vdmOJ2jxfJictqpJHXyFwl vnSL064iRJJ7cSB7jrz0Ot1aLcW0qM3fE6sopiMi67sqI9ZqXwhm2VyRXmzWd1E9b/DH qEuVPStjW0LThl+h6u9r8O3714aeLTA4AnGeRgS5h4A/FW/ZdWYi3KKsx8lP1L1bIZVH F7ro2fhwIJRrCoU4sUtt/q5MYAAhrGz0vPxb2u+DwMjxjkLXyC8G9I1BTTzhPGWPg1TN IWtA== X-Gm-Message-State: AOJu0YzLsYmlLI+B5bS7UmvEVQOLdsBMkuRN17dwxK64Cv2wUkBDkdRc Z96ifiM4xbngcMtNmEbVivHcvtu2Q5abc8+bZvUCzwQf0lQXBy4VYxX82vvTHCzzOokWgxl93iF Dn2atmA== X-Received: by 2002:a17:90a:e795:b0:2c9:5a71:1500 with SMTP id 98e67ed59e1d1-2e297832a64mr201840a91.0.1728393888526; Tue, 08 Oct 2024 06:24:48 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e20ae7177esm7597909a91.3.2024.10.08.06.24.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:24:48 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 3/6] Update PIDFD_* constants for Linux 6.11 Date: Tue, 8 Oct 2024 10:23:43 -0300 Message-ID: <20241008132440.722309-4-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008132440.722309-1-adhemerval.zanella@linaro.org> References: <20241008132440.722309-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org Linux 6.11 adds some more PIDFD_* constants for 'pidfs: allow retrieval of namespace file descriptors' (5b08bd408534bfb3a7cf5778da5b27d4e4fffe12). Tested with build-many-glibcs.py. --- sysdeps/unix/sysv/linux/sys/pidfd.h | 14 ++++++++++++++ sysdeps/unix/sysv/linux/tst-pidfd-consts.py | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/sys/pidfd.h b/sysdeps/unix/sysv/linux/sys/pidfd.h index 9f88d297e8..85d976939b 100644 --- a/sysdeps/unix/sysv/linux/sys/pidfd.h +++ b/sysdeps/unix/sysv/linux/sys/pidfd.h @@ -20,6 +20,7 @@ #include #include +#include #define PIDFD_NONBLOCK O_NONBLOCK #define PIDFD_THREAD O_EXCL @@ -28,6 +29,19 @@ #define PIDFD_SIGNAL_THREAD_GROUP (1UL << 1) #define PIDFD_SIGNAL_PROCESS_GROUP (1UL << 2) +#define PIDFS_IOCTL_MAGIC 0xFF + +#define PIDFD_GET_CGROUP_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 1) +#define PIDFD_GET_IPC_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 2) +#define PIDFD_GET_MNT_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 3) +#define PIDFD_GET_NET_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 4) +#define PIDFD_GET_PID_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 5) +#define PIDFD_GET_PID_FOR_CHILDREN_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 6) +#define PIDFD_GET_TIME_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 7) +#define PIDFD_GET_TIME_FOR_CHILDREN_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 8) +#define PIDFD_GET_USER_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 9) +#define PIDFD_GET_UTS_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 10) + /* Returns a file descriptor that refers to the process PID. The close-on-exec is set on the file descriptor. */ extern int pidfd_open (__pid_t __pid, unsigned int __flags) __THROW; diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py index 9824fd214d..9d53102cbd 100644 --- a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py +++ b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py @@ -39,7 +39,7 @@ def main(): sys.exit (77) linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc) - linux_version_glibc = (6, 10) + linux_version_glibc = (6, 11) sys.exit(glibcextract.compare_macro_consts( '#include \n', '#include \n' From patchwork Tue Oct 8 13:23:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 833571 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp289159wrv; Tue, 8 Oct 2024 06:25:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSRMkQMtw1Pj3mWYp9easeNMG5l+rD6tqv/QuIRKY+UPs3adqix3TYuLN2CuLw7p8N11HW8A==@linaro.org X-Google-Smtp-Source: AGHT+IGezPPygDznpoUiAANi8m8vT+bRL3unxSi1NJ8DfsLGU2WwJyNXCBYytHCw2R7XNFC6quUs X-Received: by 2002:a05:6214:3f8f:b0:6cb:36bc:197a with SMTP id 6a1803df08f44-6cb9a1f5a9emr208543966d6.4.1728393918768; Tue, 08 Oct 2024 06:25:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728393918; cv=pass; d=google.com; s=arc-20240605; b=UX4LXnfIt9DSX3EmMaR3ASb2fG9fNKC1TL8KObQ+NDtnVEYhWVnTqGGJzZ+3JFu7vL 4iDrVXLjvJ1iVUYPxplh4TivyWEy3hajIqB4/N41juO1R8jKUOlXxPYiAkp1LeEeiq9l vfgGJ3eTcYuv7MqtVWZwFzdm0t/sCYb4bwNDFL7Q4yX/OrK3ICk1AkC404zYI+yJ6vHz 0PBPFKrUPA2tFidi7XPa/nj3BJW2mR5U0GmPrs+zeD6Pkd9ZmTag/8o94KYeZ/kFjpdz kBIXAiuWB1DGBbXhdLnI0+GQx5lMyKiJZYd3TWHThrZk9B/+6UfpG9DoWCnp8/MoNIss 9/Jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=DqbyCGFCddIJMgxMr7/WIlwlVLwG7uYDazmCVMEFeYk=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=RzpRJ+VR48/5NFiwn1020RsaGtwcKdrgWxhIxdIS2O66eNQ+a6BVYIxp6QB7BQJRlN bLkeFYpiD5UE2uHCwnYHOqq1uJaj6T6ZhcU7wvmPdsH3U0u+wSYXZSNvo+CtQFmUlWpd YqKF2nwUI4p+ZK5d//dr5w7EVd5RwxhIK6x1yy77UJ0YZ3lDycQeMQ1/58F2h3e069EN 11E6HHMd6K+4eqi62XJKnoL8DeHiykpVwHn1RD8xZJ1KdwYMlAgtDg7vNTNqot0R6lpp mPsZd9BeAgDwJv99UlysQuZZGukPmwWZX4g7RBqvbD2+Btfqgqv9rKXDOnKnBHsXxc1r LanA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v0prkYmw; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 6a1803df08f44-6cba4772e92si85538856d6.375.2024.10.08.06.25.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:25:18 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v0prkYmw; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C06A3386183C for ; Tue, 8 Oct 2024 13:25:17 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id 35054386103A for ; Tue, 8 Oct 2024 13:24:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 35054386103A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 35054386103A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1034 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393892; cv=none; b=NqtULNbsY1+THa9b0o2nd6UUN2FChZNBIjVj67CgE3DCJjQIzALd91uEn67bvEguOYutZ8w2qLYBJnpGtTzzjz+QGhTfQEcxp4rPOFdNL+CkKnbnrG8DFlu1KLwxygzIai+zT9lOSZ1pXQNUjhr8eHdtWm0y0gogV7dhJXg8OVo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393892; c=relaxed/simple; bh=7llJLpK7Zj23q1plURzhaBxE4qKLYKfhoEYl7BmMhcA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZUgw6E6KAlsDp/UUcHVNF6Y7cSG2qIuiHZBJD+SfPyUlKOUs0ABDymVc48aHWojqmRTZGgmUCpY4ToCknH/OnDxee0tYLRTYEKPKz7r+lbrzKaOGKomYNJyKM/+anuOxJmzCT3WRjt96d7XItLVu39F4BJZtTC+mV+Zo/ClBnAc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-2e284844d5fso508526a91.1 for ; Tue, 08 Oct 2024 06:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728393890; x=1728998690; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=DqbyCGFCddIJMgxMr7/WIlwlVLwG7uYDazmCVMEFeYk=; b=v0prkYmwdvOQvaCrNmMX9H6kbrR7V746bqE+IZ/oLqECpC5E2S6aidW3X3JAruqKcW liniuiidIRCCC6OmbLUCqZpn8VdiRUBNLPz67mhhVfQnt9v8gZ2hmXY3zDIiCNr6miSY WaDDGusSE5lklewE3+lhcAZQdXAvO/P8E9eFryfFfwlUHsW2NB8UU+7k6I58pmN34STN GIy+ZSlvQ8SC1j8W1SNKf6Ziw1XTVsM35HwJUIGX+6gx+pPwWtatAOijQ+3m2ilYCp71 6eq84AIrLQRvIWOR9EUOSoJM5aH8hkN72mDit3wLwDT+o9/Rlr925sAxEww0bNGoYTTT VgbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728393890; x=1728998690; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DqbyCGFCddIJMgxMr7/WIlwlVLwG7uYDazmCVMEFeYk=; b=kC+lNA4dd4Frproi6zYM+RFgJlj6a90aBUblltRzSlOB5zhNHlZZszciopHs+xdL0a J63RXR+14rhtKlVwUnb9yTWdjcKkFvynp0uhHT4qgssLrBssLFXuzL/idHP62SH0pdTn nN0wtOebyDL7tOemQgHq1xPUJNcihXmwT9hG2ZEcugCjy+9nzu9abiRchFwStUZSRT7w dcC/wp++aVAjNw8pnWHvdHWMcTQWIJZWIHhwoMPw3FdKYSg0+8ka/3nhNfewAKfJjIYj yZ4p1XFuCoAe5pxnxE3mUeyxsMEzgOYiWmOPYmZyzfibEE2IrI+dHVEWPjXzkV1PVR5U 0hpQ== X-Gm-Message-State: AOJu0YwdReas41qFMPkDSRx7nFmb/naFTKXUn4tWPim11QpkHP569gzI SYkX5We8YNyyv//cw8UgLGY58J3exkhTIpvBvtRlJFM18ZooetYsrGtJxOy+LK7wdCyUbgn5x7s VrvCncQ== X-Received: by 2002:a17:90a:cb10:b0:2e2:9522:278f with SMTP id 98e67ed59e1d1-2e295222a70mr490630a91.32.1728393889925; Tue, 08 Oct 2024 06:24:49 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e20ae7177esm7597909a91.3.2024.10.08.06.24.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:24:49 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 4/6] Update kernel version to 6.11 in header constant tests Date: Tue, 8 Oct 2024 10:23:44 -0300 Message-ID: <20241008132440.722309-5-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008132440.722309-1-adhemerval.zanella@linaro.org> References: <20241008132440.722309-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org This patch updates the kernel version in the tests tst-mman-consts.py, tst-mount-consts.py, and tst-sched-consts.py to 6.11. There are no new constants covered by these tests in 6.11. Tested with build-many-glibcs.py. --- sysdeps/unix/sysv/linux/tst-mman-consts.py | 2 +- sysdeps/unix/sysv/linux/tst-mount-consts.py | 2 +- sysdeps/unix/sysv/linux/tst-sched-consts.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py index a1137eb1d5..2191bea36f 100644 --- a/sysdeps/unix/sysv/linux/tst-mman-consts.py +++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py @@ -33,7 +33,7 @@ def main(): help='C compiler (including options) to use') args = parser.parse_args() linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc) - linux_version_glibc = (6, 10) + linux_version_glibc = (6, 11) sys.exit(glibcextract.compare_macro_consts( '#define _GNU_SOURCE 1\n' '#include \n', diff --git a/sysdeps/unix/sysv/linux/tst-mount-consts.py b/sysdeps/unix/sysv/linux/tst-mount-consts.py index 675f1790b6..b71d8a489d 100755 --- a/sysdeps/unix/sysv/linux/tst-mount-consts.py +++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py @@ -42,7 +42,7 @@ def main(): # Constants in glibc were updated to match Linux v6.10. When glibc # constants are updated this value should be updated to match the # released kernel version from which the constants were taken. - linux_version_glibc = (6, 10) + linux_version_glibc = (6, 11) def check(cte, exclude=None): return glibcextract.compare_macro_consts( '#include \n', diff --git a/sysdeps/unix/sysv/linux/tst-sched-consts.py b/sysdeps/unix/sysv/linux/tst-sched-consts.py index 70071dcd97..f06ac400bd 100644 --- a/sysdeps/unix/sysv/linux/tst-sched-consts.py +++ b/sysdeps/unix/sysv/linux/tst-sched-consts.py @@ -33,7 +33,7 @@ def main(): help='C compiler (including options) to use') args = parser.parse_args() linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc) - linux_version_glibc = (6, 10) + linux_version_glibc = (6, 11) sys.exit(glibcextract.compare_macro_consts( '#define _GNU_SOURCE 1\n' '#include \n', From patchwork Tue Oct 8 13:23:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 833572 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp289209wrv; Tue, 8 Oct 2024 06:25:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXHGkTTtZXI7xprkPvnqNI6q1lCoPugUTHXbcy3yuNFC7ALzkMk3MJbc0jOaMpUlLoULr0Ig==@linaro.org X-Google-Smtp-Source: AGHT+IFAJ10a41Q7UN/jwx5ZUhiXlht4g1xdYz1pOIcpUsE5269oulte629R4n4XAiz61MOEGkaf X-Received: by 2002:a05:620a:178e:b0:7a7:f91f:ba3c with SMTP id af79cd13be357-7ae6f4371cfmr2329951585a.20.1728393925521; Tue, 08 Oct 2024 06:25:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728393925; cv=pass; d=google.com; s=arc-20240605; b=TSfbpZIySrVgBGOoNPBrYjT6aIvxjsyV7X3BP9en2e3BAh+XSoVrw3h329NGY8MYRj A/5YIpvxUJZZfyNnn0Ns5mZUWJbmsMHOsfYfOqiju1ALVwfmIDmLlwRu27XV6M+QOURj 1eBz9F6ek9HHwOkDjtsatTazR35LkgupxJOH/h+vnA+v1hRamUY406YWXoM8OmYbZfLJ FgpS6UjIYEA+Ob7k7pg7uxc9ZRytq0yUUAyUKFPdIJh6BKPNCRQjvv2JaibQkKjgj0h+ 0lFox78tS5G/PReeVumnEFiiRNuY2fhE/Zh+v8QUCT7VsbzMuR2E3vBXZh96Sp+vGUxz SyIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=ukGO970JtVyRXbCaEr+m+6DiIR0vAZimisyh0fhZdU4=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=h+vSlwT/cXepCt2GH1Yaipfw+RcvE6zJuZbVjr3VWUECILcWU+EJlHv992PdFIRKnx ROjpOurgJOz9+1ofKWyENNteuf6wGrSe4Qv+7UNpPLg7RnNhBmGADZW1BlP+ndf7WSXh K+zuG80Q3FKolarpNABQL6K2BP88poa2+saArRxoLX2fvCHOchON99BWYiLLZnt3yCuM seBJ4UBjTUVvb5HKlrX4JU6d8TIwJ3ppOSl5gA8xYPz+fCVNRYQUg6Ze2gw5T71vSaFy 0WqWNi4HURvJU+nfXHocVsEap9Enxu7S0ERHQvCHkS2GDetD7oytmadewJLvSct9ijdz iFHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zf+ONrPU; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id af79cd13be357-7ae75762d45si814118885a.434.2024.10.08.06.25.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zf+ONrPU; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2A253385DDD5 for ; Tue, 8 Oct 2024 13:25:25 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by sourceware.org (Postfix) with ESMTPS id 97E57386181B for ; Tue, 8 Oct 2024 13:24:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 97E57386181B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 97E57386181B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::102e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393896; cv=none; b=DOQmUG7VCzHEvzGuO0el1cf/7n3YneJOBRnCND0v+hEOrL4c7LNRP1kMpfIyAPkOcpyeCFVh6zazz6uzi2BCf/pjg6hpMqfsVnXb7ycQ9p3/KTvX0qpj7yf7KXETFVXxXLWbTgaw4iOYT0PMddG+6EG/04DL/GyPKMvfb4R/aes= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393896; c=relaxed/simple; bh=2g/P981TUc6R+yy6+GAmKpkz3BLO80TRsSY58npbtcA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ebKdjS1ZbYDcKvUsYX8JeCS0vqNV7BI8TfU0Lvyd7PtYj8q1c6a9/KLgJjJFO5qyptdeaKK5gsp3sa6ekXWkaZc4NzI0ESE5PGzLSVQ4vXgR4+A+jf6Jw7kSblspzzZyQ/FH8Wv0d0v7nNv1YHEDDVgU31umCSmlKIDl1eh+IUA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2e09a276ec6so4338215a91.0 for ; Tue, 08 Oct 2024 06:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728393891; x=1728998691; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ukGO970JtVyRXbCaEr+m+6DiIR0vAZimisyh0fhZdU4=; b=zf+ONrPUXvPIAZPdYWrdTCJt83Rw4G37PdzeF6/CBWGOCXiZRAn7a4POYV2Z444cpA 3Wq5APnL37GLV1qaO1xg0EiMoNCpPNuSXIBKFPZB9IAF6O6pXRAbWhWKBjdhEaPg2/KS 9IEoccQNqytyVZSB5cGK6t5jvgoiFFMywsTkZkat+edS51L4s3dhQCgF5FaRqq7FoGFk o3FDuHzeiJgK8hVjdINCOQLtXKQeWoeDsZ+xTgVr/xLeLrdh7Oeu+KbRq6cVH3KDhFL9 uKE3HphBO7K5//avNSFbvIw9/6NC6a/RurjIjXjDo9UhJdX3yRfuQ8JmrgpYDMYt9USO xz8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728393891; x=1728998691; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ukGO970JtVyRXbCaEr+m+6DiIR0vAZimisyh0fhZdU4=; b=bZf+uxXgWPSlv7+oNXZfh81wKzodMIEJ5RSY5d/cYchn33g4NO+VAzhFSr4SmCtrBF VOuCsgtpsiTrbAmA+BRf8ryG7LI2PcO1C1naYN0k+mCrIOQIqSYOaMLce/soGibiFbI7 tvDEkQ68k+ckAoErNeSwRM98qtZpr9PXqDkgzEB5LWefXmD0H0yHUD4CRAKHghNwaVrt JSFXgaS21f3SdFahlSs1WuFHS5IRbeh6hf1lUXhZmDzflPJPcnMWzQ4JmfX/uMRzESeb t2TOJPOlxgOnjkKE44nERFCxW78fGmZwQMnT6qhE0sF33vloCmCLrZWku5n36b3eVVvk 0uTA== X-Gm-Message-State: AOJu0YyPBiJnMg3JEZe10Dfsv9KNhAd+w1VXtmrwTM9YvTcx34y48CSN YwzdSwMrZE2jcN/olMY0w15oVEsNlFf6YDxWca15/giQjOm0zHb5DH9TUP502vOsLgh9W1lkc15 H9ZgZrw== X-Received: by 2002:a17:90b:4b12:b0:2e0:b65b:6b4d with SMTP id 98e67ed59e1d1-2e1e63b4286mr14510982a91.41.1728393891271; Tue, 08 Oct 2024 06:24:51 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e20ae7177esm7597909a91.3.2024.10.08.06.24.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:24:50 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 5/6] linux: Update stat-generic.h with linux 6.11 Date: Tue, 8 Oct 2024 10:23:45 -0300 Message-ID: <20241008132440.722309-6-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008132440.722309-1-adhemerval.zanella@linaro.org> References: <20241008132440.722309-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org It adds the new constants from 'fs: Add initial atomic write support info to statx' (commit 0f9ca80fa4f9670ba09721e4e36b8baf086a500c). --- io/bits/statx-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h index 19c3565edc..da199ddaa1 100644 --- a/io/bits/statx-generic.h +++ b/io/bits/statx-generic.h @@ -44,6 +44,7 @@ # define STATX_DIOALIGN 0x2000U # define STATX_MNT_ID_UNIQUE 0x4000U # define STATX_SUBVOL 0x8000U +# define STATX_WRITE_ATOMIC 0x00010000U # define STATX__RESERVED 0x80000000U # define STATX_ATTR_COMPRESSED 0x0004 @@ -55,6 +56,7 @@ # define STATX_ATTR_MOUNT_ROOT 0x2000 # define STATX_ATTR_VERITY 0x100000 # define STATX_ATTR_DAX 0x200000 +# define STATX_ATTR_WRITE_ATOMIC 0x00400000 #endif /* !STATX_TYPE */ __BEGIN_DECLS From patchwork Tue Oct 8 13:23:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 833574 Delivered-To: patch@linaro.org Received: by 2002:adf:a1d9:0:b0:367:895a:4699 with SMTP id v25csp289591wrv; Tue, 8 Oct 2024 06:26:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXZpXpF9m7w1/UwhDJ9hxZal2AA0nY1MhhWMA7txnUNYGaZJwjBUTBo1TDH1BSaTeHFHN6FVA==@linaro.org X-Google-Smtp-Source: AGHT+IH5IIrk6P3B5fABdpH69gPVBc2femzNBQoTdQaZpg5Ohfo2XgI9xhyiH3xofaX26DOBKXwH X-Received: by 2002:a05:620a:269f:b0:7af:c856:820 with SMTP id af79cd13be357-7afc856087amr272541085a.46.1728393972173; Tue, 08 Oct 2024 06:26:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728393972; cv=pass; d=google.com; s=arc-20240605; b=l1DcjewnJRskvLXB2lUOaqhGgpYFaGNChfJv4aYfWWJljCMCIexKlw8xSNegjdvfwH eQ2azU1zJjTGGuyAu/kAYeG20rcg+IZf67vM1W6abceknx8Q0ZdOz/d2dHymy9KrFltx sILKhx3b11N6XUPx04DscpKeW6xzPcpN4mYLRrgraPrQGXxM432W1ehQoNeOPhV0jTma +4Ms13P75/IbcccRCxYeWl8V5uh8n5autaKc8sEiPCYj3cAexTWROy+lIEEZJJ27ORgc K/2lsCclErwC2cZNNbkmbGOKH+KxWCbmwOt2WywEmC/2iJX7QiRVJDAEPGC8YzaE8tgA +Gaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=UFOWrTvUvTPPO3aHRMJ7fQ/rfyXcYKEKa79Bp/GFXCQ=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=fwRscY62vSgn5WREwagxJy+4BkOA8AAukDj/e7LrKal/lGEdjsgaq01pAgxPGoYyJI Qe2lt8SVU58erqiuzNeT6itM6jDXuB3F3Y1OYvQUxMHoBTIVTyMRYZO2EGm6if6wQfJw xltLDryatLa9tzHcJUpwNOslBIz+kV7MHnJPsm2LBECgrkKtpVpKyOBbWehm5zpIrTsM nCzDEgZAwEpimwsF937lRedhJ3DNeSXMOyxzrvyQu+MHpu+vIR7/kPn4smilEOgZebRl SDsc5vGgwUgiY1HpaM8NZJ4SDDudvzZnR8i6RTgjF0LaatMula5ZFlbACnsq8dulUV7Y 183A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4pX7b6C; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id af79cd13be357-7ae756628f1si810559585a.270.2024.10.08.06.26.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:26:12 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4pX7b6C; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BEFF53861947 for ; Tue, 8 Oct 2024 13:26:11 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by sourceware.org (Postfix) with ESMTPS id F1F763861839 for ; Tue, 8 Oct 2024 13:24:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F1F763861839 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F1F763861839 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1030 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393896; cv=none; b=HfQ+XzOnUXZyMeiLbXQ+yaQB7T7KSmDXILAG3auwjissV+0qhF+aCI2sY3oCN3dbQ3bBdfUofKfsXea422CF/IFlwujy/zAmoGjceXC8N27hLk99RnPDDDIpnmLfl1KtfkYDd/HzsFbV6NsEKZhEcohOmEjAkKkpOJVp+uAkDMc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728393896; c=relaxed/simple; bh=fgd82q6X0bInuvp1Bk+vVjE/3khMSRLm1PG8fKgdTFg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=MeCaw2Zn0mYHVkbAM6xKsV1HDVN7Yd1gGOfAKe6AZ62Z90E8MOdtp0ou9u38qdwFcrFKJHf4u1qEL+B1dYmoMdaLgyd1HF1mXjHD8fBDx/P00HK5LyE6Bglh51GzzxHUKa6+Qh07H1A0AsJBa/rr1J3niONvelzzPIuDBULkVUM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2e2916a92ffso274109a91.1 for ; Tue, 08 Oct 2024 06:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728393893; x=1728998693; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UFOWrTvUvTPPO3aHRMJ7fQ/rfyXcYKEKa79Bp/GFXCQ=; b=S4pX7b6CZeS0elHcMcTRJjD2vXReURvBSf69fyQlG00+7x4XIfSMwvY72PfAEBmTaR lXJrZ0SH5sp4ApXAvPStAtXTzT/kC1M7Pa9Tqg4AJC4cWqvmeYKuzy53I8lLzzX8MUR7 kykS7+Zd9uuZyBZ+RMoxL6fCA2vj4WNhgjSoicupfp5pFADsk0YfaVvJAQMqJeH1rACO Y2cBiwRnhysSv5SSXN+u4rW1o9iYbWxsU49ybDYvR6qlOVtgTeGtPgEL/u4ARN9thz8K 2ruwAuPSftSfmCzLvCR8+w9GJFx5t+BH1ADN32vbPgP3FfIL+LlcFyw4W+azIJ4BrUaC L0Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728393893; x=1728998693; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UFOWrTvUvTPPO3aHRMJ7fQ/rfyXcYKEKa79Bp/GFXCQ=; b=hi1z0vYroUAmtAs55oo/pLvcuqCasG++q00Yv1q/vmphab3p+x5SMS3wJ4Q4l9mn7A KsvuVWKeOM2PjgnokMb698hbc3nPohc4yuwGn7varWY1VNvb2RN4YTTaYIMWZfU+yiXZ Don76UlBG3P87+ALlvmiZBtjqD1zELw/LkEowqPJRXevMUrKzHlX5ig3egOkmVFUEVi0 vGbNh7Hra/D+2vViH/QAZVA/B3K4LlfHb0qvc65HnPDfIqrDz66HQ7ZSQemjfgO86/c7 uB01MWzjdKteJ7rodZzuHlsw+APebXufSm6gSISl1DNMrPTodMu/mu0vaiBd1lMbyPsJ ZHaw== X-Gm-Message-State: AOJu0YyZBcTP7AZ6McEuXnQ5pyeJBq3mlTvFyS+KhxaNyuFmWrtlWpLl oibHiiE8fI01bnBHqCkoLPO74IXaoAnhNS2zxujlVvXBkXV3Y5qseBsndfcW7hLCwErsr6SxfSf ezp6coA== X-Received: by 2002:a17:90a:c287:b0:2d8:7edb:fd2 with SMTP id 98e67ed59e1d1-2e1e6267484mr17993845a91.22.1728393892663; Tue, 08 Oct 2024 06:24:52 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:68d6:61bb:ff14:bcb3:8ace]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e20ae7177esm7597909a91.3.2024.10.08.06.24.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 06:24:52 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 6/6] linux: Add MAP_DROPPABLE from Linux 6.11 Date: Tue, 8 Oct 2024 10:23:46 -0300 Message-ID: <20241008132440.722309-7-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008132440.722309-1-adhemerval.zanella@linaro.org> References: <20241008132440.722309-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org This request the page to be never written out to swap, it will be zeroed under memory pressure (so kernel can just drop the page), it is inherited by fork, it is not counted against @code{mlock} budget, and if there is no enough memory to service a page faults there is no fatal error (so not signal is sent). Tested with build-many-glibcs.py. --- manual/llio.texi | 9 +++++++++ sysdeps/unix/sysv/linux/bits/mman-linux.h | 1 + 2 files changed, 10 insertions(+) diff --git a/manual/llio.texi b/manual/llio.texi index a035c3e20f..c8e6e07ea0 100644 --- a/manual/llio.texi +++ b/manual/llio.texi @@ -1762,6 +1762,15 @@ write dirty metadata out whenever dirty data is written out. Unlike most other flags, this one will fail unless @code{MAP_SHARED_VALIDATE} is also given. +@item MAP_DROPPABLE +This request the page to be never written out to swap, it will be zeroed +under memory pressure (so kernel can just drop the page), it is inherited +by fork, it is not counted against @code{mlock} budget, and if there is +no enough memory to service a page faults there is no fatal error (so not +signal is sent). + +The @code{MAP_DROPPABLE} flag is specific to Linux. + @end vtable @code{mmap} returns the address of the new mapping, or diff --git a/sysdeps/unix/sysv/linux/bits/mman-linux.h b/sysdeps/unix/sysv/linux/bits/mman-linux.h index 522333c50a..161a885096 100644 --- a/sysdeps/unix/sysv/linux/bits/mman-linux.h +++ b/sysdeps/unix/sysv/linux/bits/mman-linux.h @@ -43,6 +43,7 @@ #define MAP_PRIVATE 0x02 /* Changes are private. */ #define MAP_SHARED_VALIDATE 0x03 /* Share changes and validate extension flags. */ +#define MAP_DROPPABLE 0x08 /* Zero memory under memory pressure. */ #define MAP_TYPE 0x0f /* Mask for type of mapping. */ /* Other flags. */