Mail Archives: cygwin/2003/05/10/21:55:04
--=-iCU+4P46aHcJX5Xc67/R
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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...
>=20
> 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
--=20
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
--=-iCU+4P46aHcJX5Xc67/R
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+va1oI5+kQ8LJcoIRAlq3AKCvZmJ8GUXyzKRgRDD6QN35PSo0sQCgu8pu
KppO8aHyzSZGWDiamLCbYjw=
=Hxp3
-----END PGP SIGNATURE-----
--=-iCU+4P46aHcJX5Xc67/R--
- Raw text -