Conversation
170a8f9 to
5c9316d
Compare
e60db7d to
7b9f215
Compare
edf17df to
eb9e0aa
Compare
|
Should we add the file |
1 similar comment
|
Should we add the file |
|
I haven't come up with a clear name. |
|
Maybe we can use make/just command instead it. |
|
On debian 13 aarch64, clang got error like So we need a |
|
If we re-run the container, seems that cgroup limit will not work properly, did you enforced to attach the process to correct cgroup? |
iirc i added it, let me check.. maybe it disappeared after a checkout |
the original logic is not changed, which means i have to find the bug. |
changelog: Functional: - (BREAKING) Change container cgroup dir - Fix cgroup v1 controller test dir not freed after use - Deduplicate cgroup v1/v2 mount/attach/set code - Add cgroup v2 attach/kill support (experimental) CMake: - Allow project to build on Android with CMake Misc adjustments: - add wrapper script (./w) for quick formatting Non-functional: - formatted all source files
they are hard to pass arguments to |
removed after i found |
|
Cgroup limit should only be set once when init the container, after that, even no limitations set, we still need to attach process to the existing cgroup. And for unshare container, maybe we should setup a new cgroup on host before unshare(), so that we can just use cgroupfs on host to kill it. |
This closes #45.
I'm inexperienced in programming,
so please do ensure all changes are tested to work correctly before merging!!!