This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygipc (and PostgreSQL) XP problem resolved!

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.

GPG key available at: <>.

Attachment: signature.asc
Description: This is a digitally signed message part

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]