MySQL 8.4.3
Source Code Documentation
|
#include "sql/named_pipe.h"
#include <AclAPI.h>
#include <accctrl.h>
#include <errno.h>
#include <mysql/components/services/log_builtins.h>
#include "my_config.h"
#include "my_sys.h"
#include "mysql/strings/int2str.h"
#include "mysqld_error.h"
#include "nulls.h"
#include "sql/current_thd.h"
#include "sql/log.h"
#include "sql/mysqld.h"
#include "sql/sql_error.h"
#include "strxnmov.h"
Functions | |
bool | is_existing_windows_group_name (const char *group_name) |
static bool | check_windows_group_for_everyone (const char *group_name, bool *is_everyone_group) |
bool | is_valid_named_pipe_full_access_group (const char *group_name) |
bool | my_security_attr_add_rights_to_group (SECURITY_ATTRIBUTES *psa, const char *group_name, DWORD group_rights) |
HANDLE | create_server_named_pipe (SECURITY_ATTRIBUTES **ppsec_attr, DWORD buffer_size, const char *name, char *name_buf, size_t buflen, const char *full_access_group_name) |
Creates an instance of a named pipe and returns a handle. More... | |
|
static |
HANDLE create_server_named_pipe | ( | SECURITY_ATTRIBUTES ** | ppsec_attr, |
DWORD | buffer_size, | ||
const char * | name, | ||
char * | name_buf, | ||
size_t | buflen, | ||
const char * | full_access_group_name | ||
) |
Creates an instance of a named pipe and returns a handle.
ppsec_attr | Output argument: on exit, points to the security attributes for the pipe. |
buffer_size | Number of bytes to reserve for input and output buffers. |
name | The name of the pipe. |
name_buf | Output argument: null-terminated concatenation of "\\.\pipe\" and name. |
buflen | The size of name_buff. |
full_access_group_name | The name of the local Windows group whose members will have full access to the named pipe. |
bool is_existing_windows_group_name | ( | const char * | group_name | ) |
bool is_valid_named_pipe_full_access_group | ( | const char * | group_name | ) |
bool my_security_attr_add_rights_to_group | ( | SECURITY_ATTRIBUTES * | psa, |
const char * | group_name, | ||
DWORD | group_rights | ||
) |