Date: Sun, 2 Dec 2007 15:08:37 +0300 From: Michael Bushkov <bushman@freebsd.org> To: freebsd-arch@freebsd.org Cc: de@freebsd.org Subject: libc-scoped function and Symbol.map Message-ID: <5555F136-D396-4333-837D-C4924416C3CB@freebsd.org>
next in thread | raw e-mail | index | archive | help
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?
The function definition is:
int
__getgroupmembership(const char *uname, gid_t agroup, gid_t *groups,
int maxgrp, int *grpcnt)
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;
With best regards,
Michael Bushkov,
Southern Federal University
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5555F136-D396-4333-837D-C4924416C3CB>
