From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 3E4153858C2F for ; Tue, 16 May 2023 22:06:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E4153858C2F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684274761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H/pzrTQgT2lPkdX3kgrfEWsW4m2kbaGi8TIc1hMPydc=; b=fh0bSarv2xo6OPYICUdQTpx4jDt6STn72TDOqYpMdcs3tI8rRg7+NC4XR/r1dbXNn9cDcr bx77okkOI6dvskfqRk4en+68hbxy3vapI98ytvq8zne0swEjCrfWxUWdOTgw9HBdRr5C4F 6UoRZn1p2wP0/1KN+i0Mt0ZYPd+r9/8= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-217-vUPlP_42NISNHz_LP79fYA-1; Tue, 16 May 2023 18:06:00 -0400 X-MC-Unique: vUPlP_42NISNHz_LP79fYA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 27FB22814253; Tue, 16 May 2023 22:06:00 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 506411121314; Tue, 16 May 2023 22:05:59 +0000 (UTC) From: Florian Weimer To: Joseph Myers Cc: Subject: Re: Update kernel version to 6.3 in header constant tests References: Date: Wed, 17 May 2023 00:05:57 +0200 In-Reply-To: (Joseph Myers's message of "Tue, 16 May 2023 19:35:00 +0000") Message-ID: <878rdo3pa2.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-10.9 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 List-Id: * Joseph Myers: > This patch updates the kernel version in the tests tst-mman-consts.py, > tst-mount-consts.py and tst-pidfd-consts.py to 6.3. (There are no new > constants covered by these tests in 6.3 that need any other header > changes.) > > Tested with build-many-glibcs.py. > > diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py > index ba6f21992a..9f85df5759 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, 2) > + linux_version_glibc = (6, 3) > 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 0845ada0ac..f30037ccc5 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.2. When glibc > + # Constants in glibc were updated to match Linux v6.3. 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, 2) > + linux_version_glibc = (6, 3) > 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 cafebb5d17..4d48fd58af 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, 2) > + linux_version_glibc = (6, 3) > sys.exit(glibcextract.compare_macro_consts( > '#include \n', > '#include \n' Looks good, no regressions. Thanks, Florian