From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125942 invoked by alias); 3 Nov 2016 18:01:31 -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 124822 invoked by uid 89); 3 Nov 2016 18:01:30 -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,URIBL_RED autolearn=ham version=3.3.2 spammy=Steve, proprietary, omitted, H*c:HHHH X-HELO: relay1.mentorg.com Date: Thu, 03 Nov 2016 18:01:00 -0000 From: Joseph Myers To: Steve Ellcey CC: Subject: Re: sysdeps/unix/sysv/linux directory structure question In-Reply-To: <1478195265.4630.6.camel@caviumnetworks.com> Message-ID: References: <1478195265.4630.6.camel@caviumnetworks.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1152306461-147678919-1478196071=:2232" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2016-11/txt/msg00110.txt.bz2 ---1152306461-147678919-1478196071=:2232 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Content-length: 968 On Thu, 3 Nov 2016, Steve Ellcey wrote: > So I have several questions.  What is the difference between > sysdeps/unix/sysv/linux and sysdeps/unix/sysv/linux/generic and why > are some files in one vs. the other vs. both?   Is generic only for 64- generic is for newer architectures using the generic syscall ABI, where syscalls that can be implemented in terms of newer syscalls are generally omitted (so only statat syscalls not the older stat ones, for example), and where structures are the same between different architectures as far as possible (whereas various structures on older architectures commonly tried to follow the layout used by some proprietary Unix on that architecture). > bit kernels?  Is that why it has a wordsize-32 subdirectory?  Are The generic syscall ABI only has 64-bit versions of various structures, with 32-bit architectures expected to do EOVERFLOW handling in userspace. -- Joseph S. Myers joseph@codesourcery.com ---1152306461-147678919-1478196071=:2232--