From owner-freebsd-arch@FreeBSD.ORG Sun Dec 2 16:58:19 2007 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11B2016A419 for ; Sun, 2 Dec 2007 16:58:19 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id C4A2413C448 for ; Sun, 2 Dec 2007 16:58:18 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id lB2GwHJi001773; Sun, 2 Dec 2007 11:58:17 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Sun, 02 Dec 2007 11:58:17 -0500 (EST) Date: Sun, 2 Dec 2007 11:58:17 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Michael Bushkov In-Reply-To: <5555F136-D396-4333-837D-C4924416C3CB@freebsd.org> Message-ID: References: <5555F136-D396-4333-837D-C4924416C3CB@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-arch@freebsd.org Subject: Re: libc-scoped function and Symbol.map X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 16:58:19 -0000 On Sun, 2 Dec 2007, Michael Bushkov wrote: > Hi! > If I add the internal libc-scoped function (named __getgroupmembership) to > src/lib/libc/gen/getgrent.c, I need to add its name to Symbol.map, don't I? If the function is meant to be used outside of libc, then yes. If the function is only meant to be used by the FreeBSD base system (not ports or other SW maintained elsewhere), then it should be in the FBSDprivate namespace. If this function is meant to be used outside the FreeBSD base, then it goes in the FBSDpublic namespace. Once in the public namespace and it hits a release, we commit to maintaining an ABI compatible version of it forever (*). (*) Most likely for many years anyway. -- DE