• unknown's avatar
    A fix for Bug#8226 "Cannot connect via shared memory": · 3fd63949
    unknown authored
    provide created shared memory objects with proper
    access rights to make them usable when client and server
    are running under different accounts. 
    Post review fixes.
    
    
    VC++Files/mysys/mysys.dsp:
      Add my_windac.c to mysys.lib
    include/my_sys.h:
      Declarations for SECURITY_ATTRIBUTES create/destroy functions.
    mysys/Makefile.am:
      Add my_windac.c to the list of compiled files.
    sql-common/client.c:
      Lower requested access rights for events as the server won't 
      provide clients with ALL access in order to prevent denial
      of service attack.
    sql/mysqld.cc:
      Set proper security attributes for the kernel objects to make them
      usable when mysqld is running as a Windows service.
    3fd63949
my_sys.h 31.2 KB