From owner-freebsd-arch@FreeBSD.ORG Mon May 5 16:20:14 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B62F37B401 for ; Mon, 5 May 2003 16:20:14 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D91F43FAF for ; Mon, 5 May 2003 16:20:13 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.nectar.cc (Postfix) with ESMTP id EEA204; Mon, 5 May 2003 18:20:12 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id DE81178C66; Mon, 5 May 2003 18:20:12 -0500 (CDT) Date: Mon, 5 May 2003 18:20:12 -0500 From: "Jacques A. Vidrine" To: Daniel Eischen Message-ID: <20030505232012.GC21953@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Daniel Eischen , "Andrey A. Chernov" , freebsd-arch@freebsd.org References: <20030505225021.GA43345@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 cc: "Andrey A. Chernov" cc: freebsd-arch@freebsd.org Subject: Re: `Hiding' libc symbols X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 23:20:14 -0000 Hi, Daniel! On Mon, May 05, 2003 at 07:06:45PM -0400, Daniel Eischen wrote: > I thought Jacques found lots of ports that replaced standard > functions... I did a survey of 6,817 packages. Over 700 of them defined symbols that are also defined in libc. The symbols which `clashed' are below for the curious. (I only examined symbols in the text segment.) Cheers, -- Jacques Vidrine . NTT/Verio SME . FreeBSD UNIX . Heimdal nectar@celabo.org . jvidrine@verio.net . nectar@freebsd.org . nectar@kth.se abort abs accept access acl_init adjtime alarm alloca asprintf atexit atoi atoll basename bcmp bcopy bind bindresvport brk bsearch bzero calloc cfgetispeed cfgetospeed cfmakeraw cfsetispeed cfsetospeed cfsetspeed chmod chown chroot close closelog connect creat daemon dbm_close dbm_delete dbm_error dbm_fetch dbm_firstkey dbm_nextkey dbm_open dbm_store dbopen dirname dladdr dn_comp dn_expand drand48 dup eaccess encrypt endgrent endhostent endnetent endnetgrent endprotoent endpwent endservent endttyent err err_set_exit errx execl execle execlp execv execvp exit f_prealloc fabs fchmod fchown fclose fcntl fdopen fflush ffs fgets fhstat fileno fmtmsg fnmatch fopen fork fprintf free freeaddrinfo freehostent fsync ftruncate getaddrinfo getc getchar getcontext getegid getenv geteuid getgid getgrent getgrgid getgrnam getgrouplist gethostbyaddr gethostbyaddr_r gethostbyname gethostbyname2 gethostent getipnodebyaddr getipnodebyname getmode getnameinfo getnetbyaddr getnetbyname getnetent getnetgrent getopt getopt_long getpass getpeername getprogname getprotobyname getprotobynumber getprotoent getpublickey getpwent getpwnam getpwuid getresgid getresuid gets getservbyname getservbyport getservent getsockname getsubopt getttyent getuid glob globfree gmtime_r hash_create hash_destroy hash_search hash_stats hash_traverse hcreate hdestroy herror hesiod_end hesiod_free_list hesiod_init hesiod_resolve hesiod_to_bind hsearch hstrerror index inet_addr inet_aton inet_nsap_addr inet_nsap_ntoa inet_ntoa inet_ntop inet_pton initstate innetgr insque ioctl isatty isinf isnan isnumber iswalnum iswprint iswspace kill lchown link localeconv localtime_r lseek malloc mbrlen mbrtowc mbsinit mbsrtowcs memchr memcmp memcpy memset mkdir mkdtemp mknod mkstemp mktemp mktime mmap mpool_close mpool_filter mpool_get mpool_new mpool_open mpool_put mpool_sync munmap nlist open openlog paddr pause pclose perror pipe poll popen pread printf pthread_cond_broadcast pthread_cond_destroy pthread_cond_init pthread_cond_signal pthread_cond_wait pthread_getspecific pthread_key_create pthread_key_delete pthread_mutex_destroy pthread_mutex_init pthread_mutex_lock pthread_mutex_trylock pthread_mutex_unlock pthread_mutexattr_destroy pthread_mutexattr_init pthread_mutexattr_settype pthread_once pthread_rwlock_destroy pthread_rwlock_init pthread_rwlock_rdlock pthread_rwlock_tryrdlock pthread_rwlock_trywrlock pthread_rwlock_unlock pthread_rwlock_wrlock pthread_self pthread_setspecific pthread_sigmask putchar putenv puts pwrite qsort raise rand random read readdir readpassphrase readv realloc reallocf recv recvfrom recvmsg regcomp regerror regexec regfree remove remque rename res_init res_mkquery res_query res_querydomain res_search res_send res_send_setqhook res_send_setrhook rindex rmdir rresvport sbrk select sem_wait send sendfile sendmsg sendto setenv setgrent setgroupent sethostent setjmp setkey setmode setnetent setnetgrent setpassent setproctitle setprogname setprotoent setpwent setservent setsid setstate setttyent shutdown sigaction sigaddset sigblock sigdelset sigemptyset sigfillset sigismember signal sigpause sigprocmask sigsetmask sigvec sigwait sl_add sl_find sl_free sl_init sleep snprintf socket sprintf srandom stat stpcpy strcasecmp strcasestr strcat strchr strcmp strcpy strdup strerror strlcat strlcpy strncasecmp strncmp strncpy strnstr strsep strsignal strstr strtod strtok strtol strtoul strvis strvisx symlink system tcflow tcflush tcgetattr tcgetpgrp tcsendbreak tcsetattr tcsetpgrp tdelete time timegm timelocal tolower toupper towlower towupper truncate tsearch unlink unsetenv usleep uuid_compare uuid_create uuid_create_nil uuid_equal uuid_from_string uuid_hash uuid_is_nil uuid_to_string valloc vasprintf verr verrx vfprintf vis vsnprintf vsprintf vwarn vwarnx wait warn warnx wcrtomb wcscpy wcsrtombs wcstok wcswidth wcwidth wordfree wprintf write writev xdr_int64_t xdr_u_int64_t