aboutsummaryrefslogtreecommitdiffstats
path: root/tun/wintun/memmod/mksyscall.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-03-03 14:38:26 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-08 21:04:09 -0700
commit497ba95de7833566d696768c8a366e39fdb40f8b (patch)
tree2eae133ac40b551c6ec41af7d2d72b1c4dc8367c /tun/wintun/memmod/mksyscall.go
parentconn: linux: unexport mutex (diff)
downloadwireguard-go-497ba95de7833566d696768c8a366e39fdb40f8b.tar.xz
wireguard-go-497ba95de7833566d696768c8a366e39fdb40f8b.zip
memmod: do not use IsBadReadPtr
It should be enough to check for the trailing zero name. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/wintun/memmod/mksyscall.go')
-rw-r--r--tun/wintun/memmod/mksyscall.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/tun/wintun/memmod/mksyscall.go b/tun/wintun/memmod/mksyscall.go
deleted file mode 100644
index a78f613..0000000
--- a/tun/wintun/memmod/mksyscall.go
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
- */
-
-package memmod
-
-//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall_windows.go