diff options
author | konstantin@mysql.com <> | 2005-03-26 01:21:52 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2005-03-26 01:21:52 +0300 |
commit | ff8017f0d3ed518ec9045be6e983bd446cb6480c (patch) | |
tree | 9ac46b7e6cf08e07fbf355f33e45cc2dcc24d17a /include/my_sys.h | |
parent | 013c2ed3be8257f9507df851edf661a328a4f5a1 (diff) | |
download | mariadb-git-ff8017f0d3ed518ec9045be6e983bd446cb6480c.tar.gz |
A fix for Bug#8226 "Cannot connect via shared memory":
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.
Diffstat (limited to 'include/my_sys.h')
-rw-r--r-- | include/my_sys.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 0161c198889..b54e2581bd4 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -780,6 +780,14 @@ extern ulong escape_string_for_mysql(CHARSET_INFO *charset_info, char *to, #ifdef __WIN__ extern my_bool have_tcpip; /* Is set if tcpip is used */ + +/* implemented in my_windac.c */ + +int my_security_attr_create(SECURITY_ATTRIBUTES **psa, const char **perror, + DWORD owner_rights, DWORD everybody_rights); + +void my_security_attr_free(SECURITY_ATTRIBUTES *sa); + #endif #ifdef __NETWARE__ void netware_reg_user(const char *ip, const char *user, |