diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b828bf..39c7101 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: build and test run: mdbook build && mdbook test - name: publish - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'eunomia-bpf' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'eunomia-bpf' uses: JamesIves/github-pages-deploy-action@v4.4.1 with: branch: gh-pages diff --git a/src/24-hide/README.md b/src/24-hide/README.md index 8e0b206..2475b63 100644 --- a/src/24-hide/README.md +++ b/src/24-hide/README.md @@ -381,6 +381,8 @@ static int handle_event(void *ctx, void *data, size_t data_sz) 完整源代码: +> 本文所示技术仅为概念验证,仅供学习使用,严禁用于不符合法律法规要求的场景。 + ## 编译运行,隐藏 PID 首先,我们需要编译 eBPF 程序: