From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125760 invoked by alias); 29 Jan 2016 00:12:34 -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 125745 invoked by uid 89); 29 Jan 2016 00:12:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=pselect X-HELO: zimbra.cs.ucla.edu Subject: Re: Second draft of the Y2038 design document To: Arnd Bergmann , libc-alpha@sourceware.org References: <20160128204114.6c7dbbf7.albert.aribaud@3adev.fr> <56AA8465.5040803@cs.ucla.edu> <1683528.yWvM1WbPg0@wuerfel> Cc: Albert ARIBAUD From: Paul Eggert Message-ID: <56AAAE6E.3040607@cs.ucla.edu> Date: Fri, 29 Jan 2016 00:12:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <1683528.yWvM1WbPg0@wuerfel> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-01/txt/msg00858.txt.bz2 On 01/28/2016 03:21 PM, Arnd Bergmann wrote: >> Why are struct rusage, getrusage, etc. Y2038-sensitive? They hold >> >intervals, not absolute times. > It can theoretically still overflow, though not at the same time: In that case, I don't understand why nanosleep, setitimer, adjtime, pselect, etc. are not marked as Y2038-sensitive, as they can all overflow a 32-bit time_t in the same way that getrusage can.