This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Google Cloud Compute Engine SQL Proxy | |
After=cloud-config.target | |
Wants=cloud-config.target | |
[Service] | |
Type=simple | |
ExecStartPre=/bin/mkdir -p /run/cloudsqlproxy | |
#Optional steps if you wanna link default mysqld socket to an instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ev_CocoaMenu.cpp:124:23: error: static_cast from 'id' to 'XAP_Menu_Id' (aka 'int') is not allowed | |
XAP_Menu_Id menuid = static_cast<XAP_Menu_Id>([menuItem tag]); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
1 error generated. | |
make[4]: *** [ev_CocoaMenu.lo] Error 1 | |
make[4]: *** Waiting for unfinished jobs.... | |
make[3]: *** [install-recursive] Error 1 | |
make[2]: *** [install-recursive] Error 1 | |
make[1]: *** [install-recursive] Error 1 | |
make: *** [install-recursive] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c | |
index c392d3e..82aab57 100644 | |
--- a/dlls/kernel32/process.c | |
+++ b/dlls/kernel32/process.c | |
@@ -2770,6 +2770,7 @@ HANDLE WINAPI OpenProcess( DWORD access, BOOL inherit, DWORD id ) | |
OBJECT_ATTRIBUTES attr; | |
CLIENT_ID cid; | |
+ if (access & PROCESS_VM_WRITE) return NULL; | |
cid.UniqueProcess = ULongToHandle(id); |