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