We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b24b6 commit ae35ff8Copy full SHA for ae35ff8
ipc/uapi_ios.go
@@ -0,0 +1,17 @@
1
+/* SPDX-License-Identifier: MIT
2
+ *
3
+ * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
4
+ */
5
+
6
+package ipc
7
8
+import (
9
+ "os"
10
+ "strings"
11
+)
12
13
+func init() {
14
+ // in iOS there is no access to write into */var/run* directory
15
+ // but we can use app specific temp directory instead
16
+ socketDirectory = strings.TrimSuffix(os.TempDir(), string(os.PathSeparator))
17
+}
0 commit comments