Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Sender: root AT pluto DOT ipass DOT net Message-ID: <3755D203.AA2E5999@ipass.net> Date: Wed, 02 Jun 1999 20:53:23 -0400 From: "Suhaib M. Siddiqi" X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com, cygwin-xfree AT sourceware DOT cygnus DOT com Subject: Re: Shm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for info about SVR4 style SHM. I face another problem with sys/shm.h. Whenever I activate SHM (i.e HASSHM YES in cg/cygwin.cf) XFree86 source code, sys/shm.h headers return an error during compilation, "incomplete shm_perm implemented." Suhaib ----------- Horak Daniel wrote: > > > Has anyone a SVR4 style shared memmory for Cygwin > > (shmget/shmctl/shmat)? I need it for X-server > > for Cygwin Development. > > > > The ipc available for Cygwin from France (do not remember the URL) has > > problems. Its headers gives the problems. > > I am using the cygipc library v1.03 > (http://www.multione.capgemini.fr/tools/pack_ipc/) succesfully in the port > of PostgreSQL database system. It required only to comment CURRENT_TIME in > some header. > > Dan Caution! The security settings of this package are not sufficent for multi user systems! The security descriptor, that is given to `CreateSemaphore' is a default descriptor. The result is, that only the creator/owner of the semaphore may use it. Moreover, the cygwin call `mmap' which is used in the package, is not implemented with sufficent correspondence between the given permissions and the resulting security descriptor in the windows call `CreateFileMapping'. It uses the default descriptor, too :( Regards, Corinna -- new mail address: mailto:corinna AT vinschen DOT de -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com