home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: How to update shared libraries?
- Message-ID: <16091@auspex-gw.auspex.com>
- Date: 25 Dec 92 20:54:40 GMT
- References: <1gqiuvINNj6m@early-bird.think.com> <FAN.92Dec24195523@tammy.cath.puh.upmc.edu> <1hfk24INN63f@early-bird.think.com>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 24
- Nntp-Posting-Host: auspex.auspex.com
-
- >It is also SunOS system calls, and the internal interfaces to system calls
- >may change between releases. These differences can be hidden by the new
- >version of the library functions that are used from C.
-
- Or, to give a concrete example:
-
- SunOS X.Y may well implement the "getdents()" library routine as
- code that uses trap 0, with system call code 174;
-
- SunOS Z.W may well implement it as, for example, code that uses
- trap 8, with system call code 81;
-
- SunOS A.B may well implement it as a library routine that makes
- several traps into the kernel.
-
- (For "X.Y", you can substitute "4.x"; for "Z.W", I suspect you can
- substitute "5.x"; I don't know that any SunOS implementation is "A.B" -
- yet.)
-
- The binary interface to SunOS 4.x and 5.x - and, as well, the ABI for
- *all* SVR4 implementations with official SVR4 ABI's - is based on
- procedure calls, not to system call traps. (The old SVR3-vintage BCS's
- are still based on system call traps, unfortunately; this includes the
- "iBCS" and "iBCS-2" *86 BCS's.)
-