From owner-freebsd-arch@FreeBSD.ORG Sun Dec 2 15:22:46 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 9AA7616A418 for ; Sun, 2 Dec 2007 15:22:46 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6663813C467 for ; Sun, 2 Dec 2007 15:22:46 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4614210waf for ; Sun, 02 Dec 2007 07:22:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=H3PQO3AyDUbxOC5KGstWY+j3aKyPGIAMlDbia8s2Xe0=; b=jtXCQht95N98mRSzBfW/5LiERElpHVFal0/bZ8Sx1I19kNSYB5Ul2QhwZHILmCZAalshDTC81FG6sL4wKwxjd5PzuH31T0LqwCnnr1gwNTueezGGmKKpYsx50s45uOPfJoA5gfACXt5varyhm1HueDa/PrH1XhYCkzVUNukFQek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=aexfwjSR5FtI1NqCSaIU9K1yDHL8Vvbo4Mo6fSrUh2L/WGBrw2UneID+iCDj7ahbJslDbUh/dkLPLS/1zqUH+rNzpHoTBZEIyVqEfYQADOB5Q3RiqJLumj1IvMf/23M5tCI7XzKet3cG+oAB2+T3F8yl1Oj9F4QuqNb4uVvmPdU= Received: by 10.142.185.13 with SMTP id i13mr1338791wff.1196608966064; Sun, 02 Dec 2007 07:22:46 -0800 (PST) Received: from kan.dnsalias.net ( [24.218.183.247]) by mx.google.com with ESMTPS id 34sm11638135wra.2007.12.02.07.22.44 (version=SSLv3 cipher=OTHER); Sun, 02 Dec 2007 07:22:45 -0800 (PST) Date: Sun, 2 Dec 2007 10:22:38 -0500 From: Alexander Kabaev To: Michael Bushkov Message-ID: <20071202102238.0ad19c7b@kan.dnsalias.net> In-Reply-To: <5555F136-D396-4333-837D-C4924416C3CB@freebsd.org> References: <5555F136-D396-4333-837D-C4924416C3CB@freebsd.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/oaTylQIbjG_Q54SeMk_kmer"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: de@freebsd.org, 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 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 15:22:46 -0000 --Sig_/oaTylQIbjG_Q54SeMk_kmer Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 2 Dec 2007 15:08:37 +0300 Michael Bushkov wrote: > Hi! > If I add the internal libc-scoped function (named =20 > __getgroupmembership) to src/lib/libc/gen/getgrent.c, I need to add =20 > its name to Symbol.map, don't I? >=20 > The function definition is: > int > __getgroupmembership(const char *uname, gid_t agroup, gid_t *groups, > int maxgrp, int *grpcnt) >=20 > The Symbol.map diff is: > --- lib/libc/gen/Symbol.map 31 May 2007 13:01:33 -0000 > 1.6 +++ lib/libc/gen/Symbol.map 23 Oct 2007 14:25:53 -0000 > @@ -337,6 +337,8 @@ > }; > FBSDprivate_1.0 { > + __getgroupmembership; > + > /* needed by thread libraries */ > __thr_jtable; > If the function is only meant to be available within libc itself, you do not need to add it anywhere. --=20 Alexander Kabaev --Sig_/oaTylQIbjG_Q54SeMk_kmer Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHUs2+Q6z1jMm+XZYRAvzcAKDD3w6RSqhNBbphk/R5ulUZgSyUPwCgw34+ 3m1ehTikE4U1PeVnEQptuag= =07vF -----END PGP SIGNATURE----- --Sig_/oaTylQIbjG_Q54SeMk_kmer--