From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 3 20:20:27 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29A8F16A4CE for ; Thu, 3 Mar 2005 20:20:27 +0000 (GMT) Received: from lakermmtao03.cox.net (lakermmtao03.cox.net [68.230.240.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85FA143D41 for ; Thu, 3 Mar 2005 20:20:26 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao03.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050303202025.OOEK16861.lakermmtao03.cox.net@mezz.mezzweb.com>; Thu, 3 Mar 2005 15:20:25 -0500 To: "Ashwin Chandra" References: <000c01c5202b$fada24d0$abe243a4@ash> Message-ID: Date: Thu, 03 Mar 2005 14:21:40 -0600 From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <000c01c5202b$fada24d0$abe243a4@ash> User-Agent: Opera M2/7.54 (Linux, build 955) cc: freebsd-hackers@freebsd.org Subject: Re: Libc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 20:20:27 -0000 On Thu, 3 Mar 2005 12:02:50 -0800, Ashwin Chandra wrote: > Hey guys, > if we broke libc, and we cannot do anything at the prompt > /libexec/ld-elf.so.1: Shared object "libc.so.5" not found.. > > what is the quick fix for this? libmap.conf(5), but a real solution is to recompile that file. Cheers, Mezz > also what is the correct way of adding names to system calls in libc so > instead of doing a syscall(445), we can actually call it by name > like,sys_ash(); > > > Ash -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org