From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60432 invoked by alias); 17 Aug 2016 20:52:39 -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 59863 invoked by uid 89); 17 Aug 2016 20:52:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= X-HELO: mail-out.m-online.net X-Auth-Info: 2LJt5PTKgAHRnLBgXp4XHb9D/NTnNQI1ZwK0Ok4iMrTatLG2CEnf9ugjt6GPwoH7 From: Andreas Schwab To: Florian Weimer Cc: Jeff Layton , libc-alpha@sourceware.org, linux-fsdevel@vger.kernel.org, Michael Kerrisk , "Carlos O'Donell" , Yuriy Kolerov Subject: Re: [glibc PATCH] fcntl: put F_OFD_* constants under #ifdef __USE_FILE_OFFSET64 References: <1471445251-2450-1-git-send-email-jlayton@redhat.com> <024779d0-2800-8e43-b65c-180eca70cc8b@redhat.com> <1471455596.3196.36.camel@redhat.com> <1471458074.3196.67.camel@redhat.com> <9a96f830-ad56-91fe-1293-1d38d9195e49@redhat.com> X-Yow: My TOYOTA is built like a ... BAGEL with CREAM CHEESE!! Date: Wed, 17 Aug 2016 20:52:00 -0000 In-Reply-To: <9a96f830-ad56-91fe-1293-1d38d9195e49@redhat.com> (Florian Weimer's message of "Wed, 17 Aug 2016 20:51:42 +0200") Message-ID: <87ziobt8xj.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2016-08/txt/msg00546.txt.bz2 On Aug 17 2016, Florian Weimer wrote: > Why would the F_SETLK operation work with a struct flock64 in > _FILE_OFFSET_BITS == 64 mode? I think the kernel still expects a 32-bit > struct. With _F_O_B == 64, F_SETLK is actually F_SETLK64. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."