home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9737 < prev    next >
Encoding:
Internet Message Format  |  1992-12-25  |  1.4 KB

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