home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8474 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!wupost!gumby!yale!yale.edu!ira.uka.de!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: Re: shared libs - can everyone be happy with this?
  5. Message-ID: <1992Aug17.182524.29752@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <1992Aug17.144719.1961@crd.ge.com> <1992Aug17.151311.29507@ods.com>
  9. Date: Mon, 17 Aug 1992 18:25:24 GMT
  10. Lines: 20
  11.  
  12. In article <1992Aug17.151311.29507@ods.com> david@ods.com (David Engel) writes:
  13. > No, it wouldn't be shareable.  When a process writes to a shared page,
  14. > it gets its very own copy of it which is no longer shared.
  15.  
  16. Yes, but you could add a system call that tells the kernel that the
  17. next write access won't make the page(s) any dirtier, e.g.
  18.  
  19.     clean_write(caddr_t addr,int len)
  20.  
  21. Obviously, you'll run into nasty consistency problems if a different
  22. version of the same shared library is installed and you better make
  23. sure that this mechanism can't be used to subvert system security.
  24. Might be nice stuff for a thesis ;-)
  25.  
  26. - Werner
  27. -- 
  28.    _________________________________________________________________________
  29.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  30.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  31. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  32.