🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21108

Re: diablo with Solaris ?

#21108
From: Casper H.S. Dik - Network Securi...
Date: Sat, 30 Aug 1997 00:00
31 lines
1636 bytes
[[ Mail or post, don't do both ]]

sthaug@nethelp.no (Steinar Haug) writes:

>[Matt Dillon]

>|       I've got a question for solaris programmers:  Does solaris support
>|       PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANON mmaps?  i.e. shared r+w
>|       anonymous (e.g. swap-backed rather then file-backed) mmaps that stay 
>|       shared across a fork.

>Nope. No MAP_ANON:

>You may be able to get the desired effect by mmap'ing /dev/zero, though.


Yes, he will be able.

Solaris uses /dev/zero instead of MAP_ANON.

MAP_SHARED from /dev/zero works as you'd expect.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Technical Details
Message-ID: <casper.872950743@uk-usenet.uk.sun.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <slrn60bbi2.nqd.mark@marksys.misty.com> <5u4chm$jq5$1@havoc.gtf.gatech.edu> <5u4qi0$h2t@excalibur.flash.net> <5u5524$ajo$1@flea.best.net> <5u76o2$mh1$2@verdi.nethelp.no>

Show Full Headers
Complete Article Headers
Message-ID: <casper.872950743@uk-usenet.uk.sun.com>
Subject: Re: diablo with Solaris ?
Date: Sat, 30 Aug 1997 00:00:00 +0000
From: Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer)
References: <slrn60bbi2.nqd.mark@marksys.misty.com> <5u4chm$jq5$1@havoc.gtf.gatech.edu> <5u4qi0$h2t@excalibur.flash.net> <5u5524$ajo$1@flea.best.net> <5u76o2$mh1$2@verdi.nethelp.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 269068151
Mail-Copies-To: never
Supersedes: <cancel.casper.872950743@uk-usenet.uk.sun.com>
Organization: Sun Microsystems, Netherlands
Newsgroups: news.software.nntp