Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 1998 15:35:38 -0500 (EST)
From:      "John S. Dyson" <dyson@FreeBSD.ORG>
To:        kkennawa@physics.adelaide.edu.au (Kris Kennaway)
Cc:        current@FreeBSD.ORG
Subject:   Re: libc corruption
Message-ID:  <199805152035.PAA03073@dyson.iquest.net>
In-Reply-To: <Pine.OSF.3.90.980515231223.18707A-100000@bragg> from Kris Kennaway at "May 15, 98 11:50:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway said:
> [morden|root] 23:39 ~/trash strings libc.a | grep SYS
> SYS_nlstat
> SYS_nfstat
> SYS_nstat
> SYS_netbsd_msync
> SYS_lutimes
> SYS_netbsd_lchown
> SYS_lchmod
> SYS_getdents
> SYS_futimes
> 
> (~/trash holds the corrupted version)
> 
> I cant seem to find these symbols defined anywhere in the 
> /usr/src/lib/libc tree - any ideas where they came from? Anyone want to 
> take a look at the strange library? :-) I'm running softupdates on this 
> partition - it's possible there was some kind of corruption there.
>
Those are symbols created from the kernel list of system calls.

> 
> Alternatively, if there's an easier way to do the above, could someone 
> point it out in case I'm in this situation again?
> 
Always save off a working root/usr filesystem (I use a spare partition.)
Recovery is still painful, but that is what I do.  Also, when heavily
developing, I don't use shared libs much, except for ports and X.

-- 
John                  | Never try to teach a pig to sing,
dyson@freebsd.org     | it just makes you look stupid,
jdyson@nc.com         | and it irritates the pig.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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