Commit Graph

6 Commits

Author SHA1 Message Date
Tonghao Zhang e6b9b84e24 build: support .golangci.yaml
add .golangci.yaml and fix warning

Signed-off-by: Tonghao Zhang <tonghao@bamaicloud.com>
2025-07-06 07:58:31 -04:00
Tonghao Zhang 1c5155e15a bpf: support COMPT_BPF_XXX flags for old kernel
1. on kernel upstream, BPF_XXX is changed to enum type.
and will be exported in vmlinux.h.
2. use the compat type for more old kernel version.

Signed-off-by: Tonghao Zhang <tonghao@bamaicloud.com>
2025-07-06 07:55:59 -04:00
Tonghao Zhang c74b061c83 cgrouputil: support cgroupv2 for runtime
for running huatuo-bamai instance on cgroupv2, check the
host cgroup type automatically.

Signed-off-by: Tonghao Zhang <tonghao@bamaicloud.com>
2025-07-06 07:55:08 -04:00
fanzu8 230f7e97f1 build: mount src code to compile/run docker
Signed-off-by: fanzu8 <tuzengbing@gmail.com>
2025-07-06 07:40:22 -04:00
Tonghao Zhang 4e54cf49e3 HUATUO: Initial Commit
Have a Good Journey, :)

Signed-off-by: Tonghao Zhang <tonghao@bamaicloud.com>
2025-07-06 07:39:32 -04:00
hao022 86ab15ed33 Initial commit 2025-06-06 11:29:28 +08:00