From: hst@nasaxp.mfr.dec.com (Hartmut Streppel)
Subject: Re: cc'ing a program crashes a running copy?
Date: Thu, 16 Feb 1995 15:25:52 GMT [thread overview]
Message-ID: <1995Feb16.152552.19190@janix.mfr.dec.com> (raw)
In-Reply-To: matap-090295165458@guardian.maths.latrobe.edu.au
It is correct that the VM systems uses the file system as paging space for the
text portion of a binary. I was told that the use of mmap makes it impossible
to deliver the good old behaviour that caused the error ETXTBSY (write on o
busy text file) to be generated; i.e. overwriting pages which are active
as parts of the VM system make them dirty pages and the running process
will reclaim
them .mmap experts might be able to think of the reasons why mmap does
need this behaviour.
Regarding the standards, POSIX .1 lists the ETXTBSY errno only as
optional. It would be interesting to know whether other systems that
support mmap have
the same behaviour or not.
Hartmut
#include <std/disclaimer.h>
-------------------------------------------------------------------------------
Hartmut Streppel Internet: hst@mfr.dec.com
Digital Equipment
Postfach 810247 Tel: +49-(0)89-9591-2562
D-81902 Muenchen FAX: +49-(0)89-9591-2281
prev parent reply other threads:[~1995-02-16 15:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-09 5:54 cc'ing a program crashes a running copy? Andrej Panjkov
1995-02-09 11:50 ` Arndt Brenschede
1995-02-09 22:06 ` Andrew Gabriel
1995-02-17 15:22 ` Joerg Czeranski
1995-02-10 8:09 ` Stefan Monnier
1995-02-16 15:25 ` Hartmut Streppel [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox