From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125172 invoked by alias); 22 Jun 2016 14:30:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 125154 invoked by uid 89); 22 Jun 2016 14:30:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=fourth X-HELO: relay1.mentorg.com Date: Wed, 22 Jun 2016 14:30:00 -0000 From: Joseph Myers To: Arnd Bergmann CC: , Albert ARIBAUD , Y2038 Subject: Re: Fourth draft of the Y2038 design document In-Reply-To: <4435377.8hJ2GQPYUg@wuerfel> Message-ID: References: <20160622005838.60a95c44.albert.aribaud@3adev.fr> <4435377.8hJ2GQPYUg@wuerfel> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2016-06/txt/msg00848.txt.bz2 On Wed, 22 Jun 2016, Arnd Bergmann wrote: > Regarding the "Support for non-Y2038-safe kernels" section, I'm not > sure if that can work at all: A kernel that does not have the appropriate > system calls will also not have the handlers for a lot of the ioctl > commands and possibly other interfaces that rely on a specific > structure layout. If we can instead enforce that __USE_TIME_BITS64 Maybe it's hard for ioctls, but I see no reason it shouldn't work for applications using normal non-ioctl glibc interfaces, with runtime fallbacks in glibc such as have been used for plenty of previous kernel features. Of course eventually we remove support for the older kernels - when they are no longer on the list at https://www.kernel.org/category/releases.html unless something comes up like the issue with people expecting to use new glibc on old virtualization solutions only supporting 2.6.32 kernels - but it would be good for people and distributions to be using / testing _TIME_BITS=64 before they reach the point of ceasing to support any older kernels. -- Joseph S. Myers joseph@codesourcery.com