criyle
|
396ac9723e
|
forkexec: support vfork
(#13)
|
2025-02-22 20:04:15 +00:00 |
|
criyle
|
f9deb2dc1a
|
container: add unshare cgroup before exec
#13
|
2025-02-20 23:09:50 -05:00 |
|
criyle
|
f0dd44f466
|
container: fix cgroup fd
forkexec: disabled VFORK for now as it is not working properly
#13
|
2025-02-20 22:52:26 -05:00 |
|
criyle
|
659099a2c0
|
forkexec: use vfork if no sync needed
#13
|
2025-02-20 22:35:09 +00:00 |
|
criyle
|
f8361a08a0
|
forkexec: only sync when syncFunc exists
#13
|
2025-02-20 21:45:03 +00:00 |
|
criyle
|
d32acd7591
|
cgroup&container: add ability to utilize cgroup fd with clone3
#13
|
2025-02-20 20:29:20 +00:00 |
|
criyle
|
f15b953065
|
container: syncAfterExec to sync after execve rather than before
|
2025-02-20 19:48:39 +00:00 |
|
criyle
|
3d8333e952
|
forkexec: initial support for clone3
|
2025-02-20 03:56:49 -05:00 |
|
criyle
|
f6f057edf9
|
cgroup: use rmdir to delete cgroup
|
2025-02-20 04:19:59 +00:00 |
|
criyle
|
51b53cf60b
|
runner: add procPeak as measurement of peak process count
|
2025-02-20 03:12:28 +00:00 |
|
criyle
|
cf936ae31f
|
build(deps): update dependencies and go 1.23
|
2025-02-20 02:04:22 +00:00 |
|
criyle
|
0b6b557947
|
cgroup: add pids.peak for cgroup v2 kernel >= 6.1
|
2025-02-20 01:51:59 +00:00 |
|
criyle
|
4154f44d83
|
forkexec: add more benchmark for std fork
|
2025-02-19 00:03:36 -05:00 |
|
Yang Gao
|
7ffa0ff148
|
Merge pull request #12 from Zqzqsb/fix-vmReadStr
|
2025-02-11 03:14:52 -05:00 |
|
ZQ
|
25c32240cf
|
test(ptracer): add helper func to find readable memory
|
2025-02-11 13:45:35 +08:00 |
|
ZQ
|
9df6a51947
|
fix(ptracer): delete min func
|
2025-02-11 13:14:49 +08:00 |
|
ZQ
|
8b7494f796
|
fix(ptracer): fix vmReadStr logic error
|
2025-02-11 12:11:28 +08:00 |
|
ZQ
|
99241ac91a
|
test(ptracer): add testfile and verify vmReadStr problem
|
2025-02-11 12:09:10 +08:00 |
|
criyle
|
3fb1ccd890
|
pkg/cgroup: add enabled controler check for v2
|
2025-01-26 00:38:08 -05:00 |
|
criyle
|
144d408a6d
|
build(deps): update dependencies
|
2025-01-25 23:41:30 -05:00 |
|
Yang Gao
|
fa1ba2f855
|
Merge pull request #10 from BoYanZh/patch-1
fix(pkg/cgroup): nil pointer dereference
|
2025-01-10 13:26:51 -05:00 |
|
BoYanZh
|
6c726c9b94
|
fix(pkg/cgroup): nil pointer dereference
when `build` is `V2.New`, `cg` will be `nil` if it is returned from `if !os.IsExist(err) {`
|
2025-01-10 03:42:03 -05:00 |
|
criyle
|
81eae7a6d5
|
build(deps): update dependencies
|
2024-12-13 18:28:00 +00:00 |
|
criyle
|
5bfbd6c8fe
|
forkexec: fix unshare cgroup with ptracer
|
2024-06-14 10:26:07 +00:00 |
|
criyle
|
6d21194b72
|
mount: allow read write mount for /proc
criyle/go-judge#106
Co-authored-by: iBug <git@ibugone.com>
|
2024-05-23 10:21:46 +00:00 |
|
criyle
|
60a64d0fb1
|
container: add option to run init command after container initialization
|
2024-04-16 10:47:48 +00:00 |
|
criyle
|
598c606a99
|
deps: upgrade to rand/v2
|
2024-04-05 04:24:10 +00:00 |
|
criyle
|
f6274fd54c
|
cgroup: rename types to remove stutters
|
2024-02-05 08:53:37 +00:00 |
|
criyle
|
ed93876f8c
|
*: fix typos
|
2024-02-03 16:19:58 +00:00 |
|
criyle
|
231f3cb58f
|
cgroup: refactor to support creating child cgroup directly
|
2023-11-09 10:21:07 +00:00 |
|
dependabot[bot]
|
5a772dcd4f
|
Bump golang.org/x/net from 0.15.0 to 0.17.0 (#6)
|
2023-10-14 01:57:11 +00:00 |
|
criyle
|
bd846192aa
|
deps: upgrade to go1.21
|
2023-09-27 13:43:12 +00:00 |
|
criyle
|
69e069ba8f
|
doc: update kernel version doc and dependency versions
|
2023-08-10 13:09:27 +00:00 |
|
Yang Gao
|
7aeb9869c5
|
Merge pull request #3 from AlphaNecron/max_mem_cgv2
use memory.peak for cgroup v2 to replicate max_usage_in_bytes in v1 (for kernel >= 5.19)
|
2023-08-10 20:34:28 +08:00 |
|
Nguyen Thanh Quang
|
656b493a3f
|
use memory.peak for cgroup v2 as an alternative to max_usage_in_bytes
|
2023-08-04 23:12:23 +07:00 |
|
criyle
|
25d0f22364
|
*: bump dependency version & better align
|
2023-04-12 01:19:47 -07:00 |
|
criyle
|
cce22e7ac8
|
*: bump dependency version with go1.20
|
2023-02-19 01:06:21 -08:00 |
|
criyle
|
7af58bbeb9
|
forkexec: build for go1.19
|
2022-10-01 18:49:58 -07:00 |
|
criyle
|
69f0dffbeb
|
container: fix file exists for bind mount
|
2022-08-27 00:29:34 -07:00 |
|
criyle
|
84888375c4
|
container: load default environment variable from /.env
|
2022-08-25 20:33:48 -07:00 |
|
criyle
|
f308637481
|
forkexec: fix child error report
|
2022-08-13 01:32:16 -07:00 |
|
criyle
|
47ad6f0016
|
container: look up executable by PATH
|
2022-08-13 01:15:37 -07:00 |
|
criyle
|
7e7babb354
|
container: ignore signals for init
|
2022-08-09 21:25:27 -07:00 |
|
criyle
|
5eeaadffdf
|
container: add support for temp root dir
|
2022-07-15 23:46:42 -07:00 |
|
criyle
|
701fed8d1c
|
forkexec: fix deadlock in go scheduler when syncWithChild
- also fix broken pipe when using fd as executable
resolves #2
|
2022-04-22 15:42:56 -07:00 |
|
criyle
|
ca60fcad98
|
*: fix macOS build for go1.18
|
2022-04-03 02:45:53 -07:00 |
|
criyle
|
8fc50bc5b7
|
*: bump to go1.18
|
2022-03-20 23:36:30 -07:00 |
|
criyle
|
2f85a420f9
|
cgroup: fix v1 set cpu bandwidth
|
2022-03-01 00:00:59 -08:00 |
|
criyle
|
9baa4110cd
|
*: bump dependecy version with go1.17.6
|
2022-01-08 18:48:07 -08:00 |
|
criyle
|
c6519b09ec
|
cgroup: add support of cgroup v2 nesting
|
2021-12-25 23:04:01 +00:00 |
|