cygwin XP Fast User Switching Support?

Christopher Faylor cgf@redhat.com
Tue May 20 17:13:00 GMT 2003


On Tue, May 20, 2003 at 04:57:04PM +0200, Corinna Vinschen wrote:
>On Tue, May 20, 2003 at 09:42:26AM -0400, Jason Tishler wrote:
>> In the above case, the event created to improve the security of Cygwin's
>> AF_UNIX implementation is not visible to psql unless it is running in
>> Terminal Session 0.  Note this problem affects all client/server apps
>> using AF_UNIX sockets when the server runs as a service.  I'm concerned
>> that there may be other cases too...
>
>There are.  More or less all shared objects created in Cygwin are
>affected by this.  I've created a patch for it.  Could you please
>apply the below patch and test if it works now?
>
>Basically it adds a new wincap capability (has_terminal_services) which
>is true only for 2K, XP, 2003 and then it prepends a "Global\" to the
>name of shared objects if we're running on one of these systems.

Why go to the bother of checking if the capability exists?  If just adding
Global is all that's required why don't we just modify shared_name to always
do that?

cgf



More information about the Cygwin-developers mailing list