diff --git a/Makefile b/Makefile index 8ffd3ea..39ebc2a 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ else endif ifneq ($(shell echo $(VERSION) | head -c 1), v) - VERSION=v0.4 + VERSION=v0.5 endif CFLAGS += -DVERSION=\"$(VERSION)\" diff --git a/README.md b/README.md index dd63a7b..82dcf84 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ Linux provides a way to limit the `ptrace(2)`: set the value of [`/proc/sys/kern ### Does it support macOS? -No. macOS's [`ptrace(2)`](http://polarhome.com/service/man/?qf=ptrace&af=0&sf=0&of=Darwin&tf=2) is useless. ~~However, it can also be achieved theoretically by referring to `DTrace`~~. See [issue 12](https://github.com/hmgle/graftcp/issues/12). Anyone try it? :grin: +No. macOS's [`ptrace(2)`](http://polarhome.com/service/man/?qf=ptrace&af=0&sf=0&of=Darwin&tf=2) is useless. ~~However, it can also be achieved theoretically by referring to `DTrace`~~. See [issue 12](https://github.com/hmgle/graftcp/issues/12). ## TODO diff --git a/README.zh-CN.md b/README.zh-CN.md index 928d878..904aa2c 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -223,7 +223,7 @@ Linux 提供了一种限制被 `ptrace(2)` 跟踪的方法:设置 [`/proc/sys/ ### 支持 macOS 吗? -不。macOS 的 [`ptrace(2)`](http://polarhome.com/service/man/?qf=ptrace&af=0&sf=0&of=Darwin&tf=2) 是个半残品。~~不过理论上参考 DTrace那一套也能实现~~,见[issue 12](https://github.com/hmgle/graftcp/issues/12)。或许有兴趣的同学可以趟下这趟浑水 :grin: +不。macOS 的 [`ptrace(2)`](http://polarhome.com/service/man/?qf=ptrace&af=0&sf=0&of=Darwin&tf=2) 是个半残品。~~不过理论上参考 DTrace那一套也能实现~~,见[issue 12](https://github.com/hmgle/graftcp/issues/12)。 ## TODO diff --git a/graftcp.c b/graftcp.c index 820d34f..22def87 100644 --- a/graftcp.c +++ b/graftcp.c @@ -20,7 +20,7 @@ #include "string-set.h" #ifndef VERSION -#define VERSION "v0.4" +#define VERSION "v0.5" #endif struct sockaddr_in PROXY_SA; diff --git a/local/Makefile b/local/Makefile index 46e04e2..d62c754 100644 --- a/local/Makefile +++ b/local/Makefile @@ -1,5 +1,5 @@ ifneq ($(shell echo $(VERSION) | head -c 1), v) - VERSION=v0.4 + VERSION=v0.5 endif GO_BUILD_PREFIX_FLAGS := diff --git a/local/cmd/graftcp-local/main.go b/local/cmd/graftcp-local/main.go index 16e7672..7d4ae52 100644 --- a/local/cmd/graftcp-local/main.go +++ b/local/cmd/graftcp-local/main.go @@ -13,7 +13,7 @@ import ( var ( selectProxyMode string - version = "v0.4" + version = "v0.5" ) // App for graftcp-local. diff --git a/local/cmd/mgraftcp/main.go b/local/cmd/mgraftcp/main.go index 18a3673..514e00b 100644 --- a/local/cmd/mgraftcp/main.go +++ b/local/cmd/mgraftcp/main.go @@ -63,7 +63,7 @@ var ( help bool showVersion bool - version = "v0.4" + version = "v0.5" ) func init() { diff --git a/util.c b/util.c index efb516d..ee6e2be 100644 --- a/util.c +++ b/util.c @@ -1,6 +1,6 @@ /* * graftcp - * Copyright (C) 2018 Hmgle + * Copyright (C) 2018, 2021 Hmgle * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by