From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53551 invoked by alias); 13 Sep 2018 13:54:11 -0000 Mailing-List: contact libc-help-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: libc-help-owner@sourceware.org Received: (qmail 51582 invoked by uid 89); 13 Sep 2018 13:54:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:463, UD:fcntl.c, fcntlc, fcntl.c X-HELO: mail1.windriver.com Received: from mail1.windriver.com (HELO mail1.windriver.com) (147.11.146.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Sep 2018 13:54:09 +0000 Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id w8DDs7s0026660 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 13 Sep 2018 06:54:07 -0700 (PDT) Received: from [128.224.162.198] (128.224.162.198) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Sep 2018 06:54:07 -0700 From: "Hongzhi, Song" To: Subject: Question about sysdeps/unix/sysv/linux/fcntl.c Message-ID: <455c36bd-8c00-6228-359b-7c6820e69e6e@windriver.com> Date: Thu, 13 Sep 2018 13:54:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00016.txt.bz2 Hi all, I have a issue on ltp relevant glibc. https://github.com/linux-test-project/ltp/issues/395 Could someone tell how to fix it? I also want to know that under what circumstances should we use fcntl and fcntl64. Under what circumstances are the __OFF_T_MATCHES_OFF64_T and _FILE_OFFSET_BITS defined? Why does 32-bit arch calls fcntl64, but 64-bit arch calls fcntl traced by strace tool? Thanks, Hongzhi