Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2007 11:58:17 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Michael Bushkov <bushman@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: libc-scoped function and Symbol.map
Message-ID:  <Pine.GSO.4.64.0712021151560.14948@sea.ntplx.net>
In-Reply-To: <5555F136-D396-4333-837D-C4924416C3CB@freebsd.org>
References:  <5555F136-D396-4333-837D-C4924416C3CB@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0712021151560.14948>