From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by sourceware.org (Postfix) with ESMTPS id E66553858D32 for ; Sat, 11 Feb 2023 06:37:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E66553858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1676097471; bh=kQNAnKVaQ1JBaTmtJI/7VXYDMDbLKJRI38rsVK0DRyI=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=G6tv+k2oTWn0H0kaA+92PeqdOKkYU32Bw/MuslL9Io/cfRQH7510eu2sz0awm7NI5 +nD4ZF+QCNJgdigCrKAEVSWkJ9YHEkzYoy3D2V5sSKQR0zLls7eTHWdESJc8mkXxo/ JsOtVW9GOyAoqVQ/dAvaGI/qwbJqb2q6OtkTLE80OQu1sNMpc0e5bxhYGTwno2fI7z ZY8Tq0/OLHcM4eALt57qepmvfIYZ7UkaQ2ZjiMlQJ20P1vI2JUf5q6VU+a5AbChpLQ 9tm5zGga3d0C4fV35OjqbBqsFGBicJEQjs4W0wUcyZKDvFPYdbDtSdsCcVHEXofRLh 8SaAQIGuneVdw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([92.116.162.112]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MryXH-1olqB80RgT-00o2R9; Sat, 11 Feb 2023 07:37:51 +0100 Message-ID: <595f5482-c55a-275c-3729-1e1f0af7719a@gmx.de> Date: Sat, 11 Feb 2023 07:37:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2] hppa: Drop old parisc-specific MADV_* constants Content-Language: en-US To: Joseph Myers Cc: libc-alpha@sourceware.org, dave.anglin@bell.net, fweimer@redhat.com References: From: Helge Deller In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:5vZMrIAGs8WDMjrUVgXDZ05/zSII4IUFeInHOMvdxkPqdh15wrI PzXsgGvIE0urxgKgIBXranU6elh7SoUO43SKZJHDOvjlTKDZ5gwjmcGbUa2s87M7bEsZ9HL cypRE1zO2vnTeJBKXOiQO2P5Q09diiEgmmflwSn0NRrNJMTCCu1Z2kSDJAPjOs8S+BxD1lp l8mjF57YGCJzivcYTwzaQ== UI-OutboundReport: notjunk:1;M01:P0:AZbRUHfe12s=;9clMCw6L3sgh/r3wc3Eql+OSowU qaoGGwmui6b3z2zt8tcrifLZZriP2aqgW2iHVf+vUPcXeERWJeb5qF1g44lBsAuk/yIwQ7gUL bM+lZlXdhj/NoTChbAOu1MV7aMJDoQaWuBxiE/adDWWEyya+nvisk9UAQS1uMBPFMbEUGbNLa X097VLeAfyLInlWu7hFtw3dGXCRWEglKx4KJf7Dk6Q7BH3E+uRyqLnxFL7P3TDlAgZfCYfJp+ wtXz7bRettpbgjINy6bJy6qPTiuQdfRb+AEZgBxbg9EHZuc6sTDS0mrP1jQbSExeQcPiJ+Z1e 5GdRs6j/rr8mr6Yda5q1G2hUHv7UO9caWBrbjL2/23k5XYpY+gSvzuAqTCbI2p0tEoRC7W+FW MEkpBye7OIYv3H1rUCnlY3FOrDtVT3JfFZ+g2bxoDm523qaY31NCl87reT52Kwdlk2J01pcyq Ry/79mzRnUb45X6eYFRCp9F7Se7rI5Jj0YeNX9+SDZlKWv2Rv0/fi7VCCvga9dZVzba+H8zzY hR8eaoVp2vV7oZ2LLhJp9JWTggEwZ4KQDxfm2lxZ1zc5ByM+Z6dr99isUUh8Iuwd/KbgUttLb 1e9JBaKcGbuxcJNni35M4bT5Vl8HRvkYJ5Tf6DrJhrqs/+ChdEsqWFfAXmLGzrGBZQJ72AOm7 vXa2d6fBjImltUzpuU9NGf54MglEIBw2+6yrYxabVsnry/nAG+CM+Cpcos0HOmIZKy3H8/JNV IBtL/ygBW2ctQUdnIIjpWifThLCQVVlmcTojh+APnEc7BGf8WJmba7JdIBT83AgFTAgYqNiD2 D04SgoqpzfCzkzQgf1tbk5Sqly+erFqag32hlCB0qtH+PmdBcUtdDjP9wmPT88/drBI9cbKAQ tPgIMXbQeRNLhW67DX1/824UzwQ7tzDXZLTk4WNHetapnECUjcYhFquWhVy1NRtSGxmJbyK6J prB25j/I2p+3yQOFE0xvq5KzrV0= X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,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 2/10/23 22:48, Joseph Myers wrote: > On Fri, 10 Feb 2023, Helge Deller via Libc-alpha wrote: > >> - [Add deprecations, removals and changes affecting compatibility here= ] >> +* In the Linux kernel for the hppa/parisc architecture some of the >> + MADV_XXX constants were changed to have the same values as the other >> + architectures. New programs compiled with this glibc version and wh= ich >> + use the madvise call will require at least Linux kernel version 6.2, >> + alternatively stable kernels from versions 6.1.6, 5.15.87, 5.10.163, >> + 5.4.228, 4.19.270 or 4.14.303. > > Normally we'd be a lot more conservative about kernel version > requirements, but if we require a new kernel we'd put it in > arch_minimum_kernel in the relevant configure.ac. Basically, programs compiled with the new MADV values should work even on all older kernels since it's just an advise for the kernel which it may ignore and for which programs should allow the syscall to fail. The only program I've found so far to be more strict is the tor-browser, which refuses to start if MADV_WIPEONFORK fails. But it's unlikely people will use tor on parisc, and IMHO if you care about security you should use a more recent kernel anyway. That said, I can add arch_minimum_kernel=3D4.14.303 (or 6.2?) but I don't think it's necessary. Helge