cygipc (and PostgreSQL) XP problem resolved!

Robert Collins rbcollins@cygwin.com
Sun May 11 02:12:00 GMT 2003


On Sun, 2003-05-11 at 11:46, Christopher Faylor wrote:
> On Sun, May 11, 2003 at 11:41:49AM +1000, Robert Collins wrote:
> >On Sun, 2003-05-11 at 11:23, Christopher Faylor wrote:
> >> Or we can just use Global atoms, as I suggested in cygwin-developers.
> >
> >IIRC Global atoms are not global these days - they are global within a
> >single login at a time. I can't comment further without looking into the
> >ftok spec again, which I don't have time for right now...
> 
> If that is really true, that would defeat the purpose of a global atom.

Not at all. From memory: Global Atoms come from before multi-user
kernels in the windows world. They are used for things like registering
clipboard types - which are *not* meant to cross user boundaries.

> I'm not sure what ftok has to do with whether global atoms are global
> or not, however.

ftok creates keys for use in IPC programs. They often need to cross user
boundaries - similar in concept to the privilege separation logic in
sshd these days.

If we use a global atom that isn't truely global, this will break.

Rob
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030511/a458d93f/attachment.sig>


More information about the Cygwin mailing list