From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,98408586e4f95a49 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-02-16 07:25:52 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!gw1.att.com!fnnews.fnal.gov!uwm.edu!news.alpha.net!news.mathworks.com!newshost.marcam.com!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!mrnews.mro.dec.com!janix.mfr.dec.com!nasaxp.mfr.dec.com!hst From: hst@nasaxp.mfr.dec.com (Hartmut Streppel) Subject: Re: cc'ing a program crashes a running copy? Message-ID: <1995Feb16.152552.19190@janix.mfr.dec.com> Sender: news@janix.mfr.dec.com (SDSC USENET News System) Reply-To: hst@nasaxp.mfr.dec.com (Hartmut Streppel) Organization: Digital Equipment Corporation References: Date: Thu, 16 Feb 1995 15:25:52 GMT 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 ------------------------------------------------------------------------------- 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