From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net ([212.18.0.10]:53470 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752834AbcHQUw3 (ORCPT ); Wed, 17 Aug 2016 16:52:29 -0400 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> Date: Wed, 17 Aug 2016 22:52:24 +0200 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> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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."