From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17923 invoked by alias); 12 Sep 2018 14:21:35 -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 17910 invoked by uid 89); 12 Sep 2018 14:21:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Wed, 12 Sep 2018 14:21:00 -0000 From: Joseph Myers To: Arnd Bergmann CC: Mao Han , GNU C Library , , Subject: Re: [PATCH v4 06/13] C-SKY: Linux ABI In-Reply-To: Message-ID: References: <53924daa4b51c0d552d17d3c5fd9aea09f9fc4b2.1536720821.git.han_mao@c-sky.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2018-09/txt/msg00158.txt.bz2 On Wed, 12 Sep 2018, Arnd Bergmann wrote: > I'm surprised to see copies of bits/shm.h, bits/mman.h and sys/procfs.h. > Since the kernel port just uses the generic interfaces that all other > architectures used in the past decade, shouldn't the glibc defaults > match be enough here? There's no generic bits/mman.h for systems using the Linux kernel; a lot is shared through bits/mman-linux.h and bits/mman-shared.h, but all architectures need their own bits/mman.h as well. In practice there's no generic sys/procfs.h either (sysdeps/unix/sysv/linux/sys/procfs.h exists but all architectures override it - so if there's something in common between many architectures such that they don't need their own files, it's quite likely that file does not reflect whatever is common). -- Joseph S. Myers joseph@codesourcery.com