From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by sourceware.org (Postfix) with ESMTPS id 139C93858437 for ; Wed, 5 Oct 2022 21:59:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 139C93858437 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-xf30.google.com with SMTP id g9so90668qvo.12 for ; Wed, 05 Oct 2022 14:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=kMb+jPk2DyxCieitLiFH/9a6M7G661yGeN2IuVRpdDI=; b=B88McX6pZEPuTj6MKwLneWZWTwq1mJNGKncPyKWOfSp4P3iSqwLugvLmPuM1tGEHgH iuoKSkCyzhqXFUo5OFc0ACRCz9ua8fHEuc2cOzIR//ZxU4+kkCHQvfm1bR5Yu0QMA010 t3OJn+upMLuAiRBLAcqdVrruz6VZzir8+QeKEjLgUUMGBmbwjDPEp3nAEvbWfEacf2HI x/phK/eNJcNA0DQkr0te1StiTQGq3p+DkP1N1wGEAWRfPhR4U4b59OYgcD51ZO8GmPXz YJenvtBxN+2tbzb5bk/FF7/hg2dMCrLNwg79Jr0efHdLDAYUznUYF4S0yv8sBCtOkZXC 0tVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=kMb+jPk2DyxCieitLiFH/9a6M7G661yGeN2IuVRpdDI=; b=V1e/8Vv/aDgd5+1lNmLF2kIEtIZ4grAjR0P85dcjWCW6ZZGDM/OyZlnhmxNVMpjW0j zUguOC6ygMRxqu+yB/X7JnO6TWIlgUJHp8qHZUdS2Hs2py587KTt/R1M7kmIlOsYBFmk CMt5vFqXmykV/egxtSi8guYZUHOrQC3YMVWQQfOpVBHUidwJVDJOVD5XgExgeiomOuSp O06wjbcK1pn5AOj5Fb+TvGgbs4lj95TOevAnk0mRijAO76mcf1+KGXMOCtpDV/MkggDb Oen88gsSshY8unSO98D6VNRy6+8Q5BJg8lQoytybifjk17ItBwY3nlHogKwRHPBvQNuh +clg== X-Gm-Message-State: ACrzQf34Bnn8OwhLdHgvu4DP0XB66qJRkwvMEzCsd29KekRGkmWjt55J hHA3/p6rrKFL4fImxKB17Mvq5sB0wj0SNyzwtvjd+3WL X-Google-Smtp-Source: AMsMyM6gbAhGKU2EQN1ew8f1ST7TC68FXKwy4q026nEwlPzr6hZyxrin0loXaKNr02xF/YN/RcPlOl16IeCNxZmRDuI= X-Received: by 2002:ad4:4ee4:0:b0:4b1:d60b:c830 with SMTP id dv4-20020ad44ee4000000b004b1d60bc830mr182384qvb.84.1665007193326; Wed, 05 Oct 2022 14:59:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Wed, 5 Oct 2022 14:59:17 -0700 Message-ID: Subject: Re: Update kernel version to 6.0 in header constant tests To: Joseph Myers Cc: libc-alpha@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3023.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 List-Id: On Wed, Oct 5, 2022 at 2:40 PM Joseph Myers wrote: > > This patch updates the kernel version in the tests tst-mman-consts.py, > tst-mount-consts.py and tst-pidfd-consts.py to 6.0. (There are no new > constants covered by these tests in 6.0 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 2374af288b..026f2b7072 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 = (5, 19) > + linux_version_glibc = (6, 0) > 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 c6307cb5c2..813e1b047f 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 v5.19. When glibc > + # Constants in glibc were updated to match Linux v6.0. 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 = (5, 19) > + linux_version_glibc = (6, 0) > 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 d732173abd..7c2fb67342 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 = (5, 19) > + linux_version_glibc = (6, 0) > sys.exit(glibcextract.compare_macro_consts( > '#include \n', > '#include \n' > > -- > Joseph S. Myers > joseph@codesourcery.com LGTM. Thanks. -- H.J.