Skip to content

Commit

Permalink
v0.5.0-beta.1 pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgle committed Feb 17, 2022
1 parent 1789612 commit f6e93d7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ else
endif

ifneq ($(shell echo $(VERSION) | head -c 1), v)
VERSION=v0.4
VERSION=v0.5
endif
CFLAGS += -DVERSION=\"$(VERSION)\"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion graftcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "string-set.h"

#ifndef VERSION
#define VERSION "v0.4"
#define VERSION "v0.5"
#endif

struct sockaddr_in PROXY_SA;
Expand Down
2 changes: 1 addition & 1 deletion local/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ifneq ($(shell echo $(VERSION) | head -c 1), v)
VERSION=v0.4
VERSION=v0.5
endif

GO_BUILD_PREFIX_FLAGS :=
Expand Down
2 changes: 1 addition & 1 deletion local/cmd/graftcp-local/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

var (
selectProxyMode string
version = "v0.4"
version = "v0.5"
)

// App for graftcp-local.
Expand Down
2 changes: 1 addition & 1 deletion local/cmd/mgraftcp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var (
help bool
showVersion bool

version = "v0.4"
version = "v0.5"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion util.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* graftcp
* Copyright (C) 2018 Hmgle <[email protected]>
* Copyright (C) 2018, 2021 Hmgle <[email protected]>
*
* 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
Expand Down

0 comments on commit f6e93d7

Please sign in to comment.