From patchwork Wed Dec 18 21:43:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 103388 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4B9FF3858D28 for ; Wed, 18 Dec 2024 21:44:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B9FF3858D28 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=e9YpAI4Y X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id D09363858D20 for ; Wed, 18 Dec 2024 21:43:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D09363858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D09363858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734558232; cv=none; b=FLFGdbs0v/l1Fk8npWPYTzGmM1uBgM5xwMsbew4YVktEjmZ8h96BUStGE9dBCNHp2lKya8bQ0EXYTpQlXVnhoJ9tPplxfbQR/GRojxisPHJnlmLXmm+cmdMMsyHqDYuUi67v/y4nyAFCVLKAXgSjW8MJf89zRkM8qUtrOSt57BA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734558232; c=relaxed/simple; bh=p8wZRqD+GOr0sz6ajbguQ2x65Gttx5pW4Z8fkHJ7FSw=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=RXox+Lz7eNaqOqJaGikdQIER7zjhJEB0CCZI6xiB365Eq+PAXiVYBR6OHEoEMly1nX9knCJK1l0ZGP+ldeSWWPRJlMd+DDGg4jvHbgGwQTmYET6NKkuWbEol1v2mV5nN+VRmhgB2+N8dXVj8ZEygCLTV+GsYoUDXYI2sWEH/vGg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D09363858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734558232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=kIRqLabahG8uve+eSL4b5fxljklaFIpctwQfZlkPCrU=; b=e9YpAI4YLXVyanpZblk4qiDRV2nzJlWFH/Yfk2D0OwESmAVGYlgoqhePXt1zbV6L4dBmkT y43FJCZcTHCuVz5jqQ/shR1YVRMea6sEIHxqyV5M229C8FB6DbfzH2WL8Hyrei5xBrb3yx ITn7G2kzsoJsjm4dDZn7aVnyjkKqEeQ= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-505-Yr52VSyDOhmsRZgqX-6g-g-1; Wed, 18 Dec 2024 16:43:51 -0500 X-MC-Unique: Yr52VSyDOhmsRZgqX-6g-g-1 X-Mimecast-MFC-AGG-ID: Yr52VSyDOhmsRZgqX-6g-g Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-385e03f54d0so62792f8f.3 for ; Wed, 18 Dec 2024 13:43:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734558230; x=1735163030; h=mime-version:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kIRqLabahG8uve+eSL4b5fxljklaFIpctwQfZlkPCrU=; b=noLnyt+7F3T5pfpsYg3hPuaQP+tQOgyjt6DnoxoAvwNRKDLBo9LR8oSbP0CUiMtH86 5DT9IwmCgTV69z+0yf/BAo17n+SBRiyMdjQ9oQ27GDRKrzTtPUD2Uk9WaFKxLDQu33KZ M/y7dh8Fcevwp7+6DHzAOFwoUIhNKMJWpNfvBTO9ePV09Q9KMztlnYZy1FCBwvvQ4Sf8 v1Zdhxhu83rjf10fr9nRZ1LP5dgPizA4n7IZdkwJDrithqth9EKiAer/gCLzQHMZuW+B CgJ8sACwaFF99wElpKoXsv+C4WD6l+zGndm9glmUbFPCBIOTzBjAsBywCqqkogWItn9b d7pA== X-Gm-Message-State: AOJu0YwK6tEcQFcrFkqkyjn09MBy2ymUjVOyKovJz/NALjBM0Kjo6ElP g+u+iM3P5Seu6SJCBgMD8WmMD29q9KQOR8mSHlimiJ8cWtxgIuEslXdatMwDT2TH2CxHk8Ym0vU euMg4PH4RyHfuNbfDCTUQ727iUznfZ2TYXQkIGNKhyL3qiBBM2oRMtztNH2Z9jCbyPssUonNfRV ral/SsS0p+yv8zd7inipFUJ8K3/DB+Y18JaThrwyJZHw== X-Gm-Gg: ASbGnctq/TUEToE3Vn6GStBRqSZHwWwt9GCYficuBmtYZfIu4Z1QnEeM173ZizpXatM JMNoOet+K2eXc/0EqwudcphHTSXwubSOR7Llhwk1CiM58jT/6YqfAm7UV85J/NsianlucXgnBf5 /R3lqHmbP886B6hLYc7vpFwWCrH41FD3IHPDv/W1aRSXW8FJqaIj2Qtq8ppuBMuIt871i7OpqQ7 28oonFBfRla9iE0qZN6iiNxl1ogt0aaU1UmM0FYj4tiqMWAMF6QaH0524hmXbhAdlCkyIpIvFDh so+uqZQVp9DL X-Received: by 2002:a5d:6daa:0:b0:382:5010:c8de with SMTP id ffacd0b85a97d-388e4d8e73amr4700836f8f.46.1734558229670; Wed, 18 Dec 2024 13:43:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRtMwjW2q6VgDfAsk74xUZoBREDvmhjHKuBwplNXG3nPwXFc/Q0qKxkWP90pFACAPBZGm31A== X-Received: by 2002:a5d:6daa:0:b0:382:5010:c8de with SMTP id ffacd0b85a97d-388e4d8e73amr4700823f8f.46.1734558229252; Wed, 18 Dec 2024 13:43:49 -0800 (PST) Received: from digraph.polyomino.org.uk (digraph.polyomino.org.uk. [2001:8b0:bf73:93f7::51bb:e332]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43656af6aeesm32278065e9.6.2024.12.18.13.43.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 13:43:48 -0800 (PST) Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.97) (envelope-from ) id 1tO1pb-00000000gjD-0gD6 for libc-alpha@sourceware.org; Wed, 18 Dec 2024 21:43:47 +0000 Date: Wed, 18 Dec 2024 21:43:47 +0000 (UTC) From: Joseph Myers To: libc-alpha@sourceware.org Subject: Update kernel version to 6.12 in header constant tests Message-ID: <2d6778e8-60ff-b333-9b15-72acddfdecb6@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: qZBY9UvtjvFyBldq_zhAqgmYAqvTaGqao9msFV31pGk_1734558230 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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~patchwork=sourceware.org@sourceware.org There are no new constants covered by tst-mman-consts.py, tst-mount-consts.py or tst-pidfd-consts.py in Linux 6.12 that need any header changes, so update the kernel version in those tests. (tst-sched-consts.py will need updating separately along with adding SCHED_EXT.) Tested with build-many-glibcs.py. Reviewed-by: Adhemerval Zanella diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py index 2191bea36f..584936efec 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, 11) + linux_version_glibc = (6, 12) 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 b71d8a489d..e77579033b 100755 --- a/sysdeps/unix/sysv/linux/tst-mount-consts.py +++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py @@ -39,10 +39,10 @@ def main(): sys.exit (77) linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc) - # Constants in glibc were updated to match Linux v6.10. When glibc + # Constants in glibc were updated to match Linux v6.12. 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, 11) + linux_version_glibc = (6, 12) def check(cte, exclude=None): return glibcextract.compare_macro_consts( '#include \n', diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py index 9d53102cbd..ef896394bd 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, 11) + linux_version_glibc = (6, 12) sys.exit(glibcextract.compare_macro_consts( '#include \n', '#include \n'