From patchwork Wed Mar 13 19:00:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 87151 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 38639385782D for ; Wed, 13 Mar 2024 19:01:05 +0000 (GMT) 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 ESMTPS id DD5D43857720 for ; Wed, 13 Mar 2024 19:00:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DD5D43857720 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 DD5D43857720 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=1710356441; cv=none; b=UzdYwodEDYbKIKQGnuI6Cc4S/02mKWRDIrGkIaJsrkf0WY8Mp0CWsBDQdSKBchWieyVpl4dSwj/v/qGNo/3rUgF5YHNbczzFs2+j8Gx6V7V8QhVu75kYhGkaDNBs0ugTIV6HZWjQRnCYc30xXi3Qu5joAAO1DwE8HVY4nDi4xy4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710356441; c=relaxed/simple; bh=JuBojMFw1wn5e8wtkwDDSgha7tLc0yv0lNh4/BGwl0w=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=IeUakld8NE4o5WdlhjHrLNuLOEoOV+yW6p9CBRE2ARb/JtU3cK0UaF1WqRCWAUQemWYwUYnBJfWmJsNMfd57sRxhhA5hrE50ulz1O94vPRcK/lIAC5G+ndSvnIHkFqBizo9ULV26ZEckuhfEvfg8nncDFRGkeQlJYtVEZMLIIy8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710356438; 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=X2yJ/DTiXcC/fXkIw8N3EVMhlMycemjcnmmficNRFtM=; b=ROGUezkfv89conrF/2Z3g7l/HrRB4JsfCwAlSnKxiWFc4+FzUpmuoUJzkR0O3pY8Px7N9K atHQVHFqxmgoa86w9/0JnV+xddSSWujBuhsUBkjiF/IU4XXot0TbxnHPnn28rHq61KRFS7 UA8d1lwSQFUZkkqdKU6z/vtchhzfw6c= 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-575-uGgcBnl5N4COc-8Fr0BNWg-1; Wed, 13 Mar 2024 15:00:36 -0400 X-MC-Unique: uGgcBnl5N4COc-8Fr0BNWg-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-33e4397540bso50745f8f.3 for ; Wed, 13 Mar 2024 12:00:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710356435; x=1710961235; h=mime-version:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=X2yJ/DTiXcC/fXkIw8N3EVMhlMycemjcnmmficNRFtM=; b=KVDXxdU0ux/OJo1cxBOoetVE2w1g7O52A9KFrUzL9yCl6SstDCDlnjg4j3/1WN4OAf JtYJkSLRtMe7UWkUnvxPw7DLUgxOgLRPBaBi1SnVv8+T9gmTY2P8l3vV1o63r8zCxHez tgXFd+nkE8AUE4ZH0CFtxdN+GWhfB0/xg3wWby5tFKX1tlPggnJ5AhEERDvVTaDuerEt EjxzJBzuPjX2T3340+qTI5WcIl3jxbjKu7J22ZJ82DSTFIwm7DHE9q+47zYlq/qrdfEE +DFe4B5UJtcQJ7ByDzCo7cNGraCOPPVI+gYddbN5lMs6uwNBngg94X4NTXjZyqLweL0g lMtQ== X-Gm-Message-State: AOJu0YzXwaP8xnMwKDcHx6xbbSQuT02wB+INWjFmvDnMnM3bmU+qeMc0 FjDEaZSnRVGk5d6tXw9v0hhFZRXGUYyg68ForjnFnuz/uOoJiWsDR0eZNoJZh+lsQQas25Luyr/ BBnUqUcOIMYkqPEfE16HxR7CpyKOQf1+l8uwmKpTiSwuvluR6JTEAnDoZ/ov95biNRGZJnbEi5/ 6pHXmTEjgn61Cv7mBLClNygwHl+dej243TXa/DmH0uNA== X-Received: by 2002:a05:6000:881:b0:33e:bb74:ac0c with SMTP id cs1-20020a056000088100b0033ebb74ac0cmr1593688wrb.6.1710356435183; Wed, 13 Mar 2024 12:00:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFv6vZG2RCaP0hZSjQ29I2glAsZvhKAqhC4e/c6GtzurXVr4VGVci6jC6pfDzj0UWPvTITklA== X-Received: by 2002:a05:6000:881:b0:33e:bb74:ac0c with SMTP id cs1-20020a056000088100b0033ebb74ac0cmr1593670wrb.6.1710356434680; Wed, 13 Mar 2024 12:00:34 -0700 (PDT) Received: from digraph.polyomino.org.uk (digraph.polyomino.org.uk. [2001:8b0:bf73:93f7::51bb:e332]) by smtp.gmail.com with ESMTPSA id j18-20020a5d4492000000b0033ebf702e17sm804196wrq.21.2024.03.13.12.00.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:00:34 -0700 (PDT) Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.95) (envelope-from ) id 1rkTq5-001QvX-4U for libc-alpha@sourceware.org; Wed, 13 Mar 2024 19:00:33 +0000 Date: Wed, 13 Mar 2024 19:00:33 +0000 (UTC) From: Joseph Myers To: libc-alpha@sourceware.org Subject: Update kernel version to 6.8 in header constant tests Message-ID: <7ab916ce-70d9-6f5-e49d-314aeda4861a@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.0 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, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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 This patch updates the kernel version in the tests tst-mman-consts.py, tst-mount-consts.py and tst-pidfd-consts.py to 6.8. (There are no new constants covered by these tests in 6.8 that need any other header changes.) Tested with build-many-glibcs.py. Reviewed-by: H.J. Lu diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py index a7e1015328..56c0cf3e22 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, 7) + linux_version_glibc = (6, 8) 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 175bd8d23a..8613db96d7 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.7. When glibc + # Constants in glibc were updated to match Linux v6.8. 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, 7) + linux_version_glibc = (6, 8) 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 2f877722ad..96875ac266 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, 7) + linux_version_glibc = (6, 8) sys.exit(glibcextract.compare_macro_consts( '#include \n', '#include \n'