From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 3F94F3858D28 for ; Tue, 20 Sep 2022 09:57:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3F94F3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28K9r2DH010042; Tue, 20 Sep 2022 09:57:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=s6NOfeRFM1n6rEcZKZWUJhazsi7A5RX6rXBrsJg12Sw=; b=g7tYOgDOgAzfYlWi5NEa8OkQmds+qHrh3N/2IN2ntuu0FyiVEW3AIYQ5KA3EDIIRum7X NbOjT38IMD0EXciT+/hHAuwCLPHgT5NSPeCsD9I0p647lON0BPu1VTU/wIJCjdJC6lMs +TP53eDkWYKelzvGspTjZZ2s6GikyoyaEuQDSwHMULysq5uJNTxhpvW/Nh+4ekS2aPQu m1QZiIpLhcsjQJa/if1g6eMvdgiyX0VgqiKUTm2QGgG01IXJ8YQp91YXP411SePj0Xw8 5N6F3GEZRk2dU0lSdT+falCE67mNEbjiNHmXbGYtN9N2Ci/WK6J9lVRaSUTOrv7I0ekJ mA== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jqb9b81uj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Sep 2022 09:57:04 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 28K9p0tA020066; Tue, 20 Sep 2022 09:57:02 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma06ams.nl.ibm.com with ESMTP id 3jn5gj3nku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Sep 2022 09:57:01 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 28K9uxN311600346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Sep 2022 09:56:59 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 905CDA4051; Tue, 20 Sep 2022 09:56:59 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6E596A4040; Tue, 20 Sep 2022 09:56:59 +0000 (GMT) Received: from [9.152.222.232] (unknown [9.152.222.232]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 20 Sep 2022 09:56:59 +0000 (GMT) Message-ID: <8840df45-4a87-ec98-62c2-886ef8a7e138@linux.ibm.com> Date: Tue, 20 Sep 2022 11:56:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: Question: Is there a plan when to require a higher Linux kernel version than 3.2? Content-Language: en-US To: Xi Ruoyao , GNU C Library Cc: "Joseph S. Myers" References: From: Stefan Liebler In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: mclxdaS6JXh_vcVP7IzeWkm4mDnn9FHJ X-Proofpoint-ORIG-GUID: mclxdaS6JXh_vcVP7IzeWkm4mDnn9FHJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-20_02,2022-09-16_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 suspectscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 phishscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209200058 X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,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 20/09/2022 11:40, Xi Ruoyao wrote: > On Tue, 2022-09-20 at 11:11 +0200, Stefan Liebler via Libc-alpha wrote: >> Hi, >> >> the minimum required Linux kernel version is currently 3.2 which was set >> with commit 5b4ecd3f95695ef593e4474b4ab5a117291ba5fc >> "Require Linux 3.2 except on x86 / x86_64, 3.2 headers everywhere." back >> in 2016. >> >> Is there a plan when to require a higher Linux kernel version and which >> version will then be used as minimum? >> >> Some background on my question: >> On s390x, unfortunately the direct socket syscalls are not used due to >> the __ASSUME_* macro undefines in >> sysdeps/unix/sysv/linux/s390/kernel-features.h if Linux kernel version >> <4.3 is used. > > You can use --enable-kernel=4.3 in your build if you won't use it on > Linux < 4.3. > Yes, you are right. For my custom build I can use this configure flag. But I think the distros will configure glibc either with their own defined kernel-version or will align to the minimum kernel version used with glibc-upstream.