Commit Graph

74 Commits

Author SHA1 Message Date
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
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
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
f308637481 forkexec: fix child error report 2022-08-13 01:32:16 -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
c6519b09ec cgroup: add support of cgroup v2 nesting 2021-12-25 23:04:01 +00:00
criyle
5e5b00688a cgroup: implement cgroup v2 2021-12-24 10:42:42 +00:00
criyle
2889743b71 cgroup: initialize support for v2 implementation 2021-12-23 20:38:31 -08:00
criyle
76bbdf9ede forkexec: fix unit tests 2021-11-19 15:01:34 -08:00
criyle
b5d300a0e8 rlimit: restrict open file count 2021-11-12 00:23:34 -08:00
criyle
f965052804 mount: remove noatime from proc for compatibility 2021-09-20 18:33:48 -07:00
criyle
fded6ba8c7 *: bump dependency versions & go1.17 build tag 2021-09-19 14:10:44 -07:00
criyle
06ed42eb42 mount: add recursive flag to bind mounts 2021-09-19 13:35:11 -07:00
criyle
eec1a5a9e3 *: bump dependency versions with go1.17.1 2021-09-12 13:39:26 -07:00
criyle
4e55516ff3 forkexec: report error location 2021-08-04 22:41:36 -07:00
criyle
963e027b0a container: allocate buffers in advance 2021-04-25 17:58:00 -07:00
criyle
204d7949c6 unixsocket: non-blocking message & value passing 2021-03-27 19:16:41 -07:00
criyle
ebab07ec35 deprecate io/ioutil 2021-02-24 00:00:51 -08:00
criyle
9e8c4593c6 Update rlimit & remove discard reader 2021-02-06 12:21:22 -08:00
criyle
464c5ac932 Backwards compatibility for older kernels >= 3.10 2021-01-21 00:20:57 -08:00
criyle
29aefc839b misc benchmark 2021-01-16 18:19:25 -08:00
criyle
a17bcd105c small improvement 2021-01-08 23:50:40 -08:00
criyle
7603109e33 Refactor seccomp ptrace & improve container 2020-12-23 12:12:43 -08:00
criyle
3c77bf81d1 Fix cgroup potential null pointer 2020-12-17 22:55:48 -08:00
criyle
5343e365c3 Add cpu cgroup support 2020-12-12 21:28:41 -08:00
criyle
928a0a4631 Fix typo for cpuacct 2020-12-06 18:33:16 -08:00
criyle
6d71f9dc4b Add support to cpuset cgroup 2020-12-06 17:48:10 -08:00
criyle
64df5951ed Fix work dir 2020-11-22 21:31:15 -08:00
criyle
c832edba58 Refactor container mounts 2020-11-21 23:50:06 -08:00
criyle
085f7a63c2 Fix unit tests & minor performance improvement 2020-09-21 00:17:10 -07:00
criyle
5e6fcd1d86 Split fork child & add unit tests 2020-09-06 00:11:52 -07:00
criyle
744db3ff88 Do not close read pipe after limit 2020-07-14 00:12:12 -07:00
criyle
687b9bf6f9 Add tty support ... 2020-06-02 17:21:42 -04:00
criyle
d664e1eae8 set pgid on MacOS 2020-05-15 19:01:10 -04:00
criyle
b6036eb830 Remove libseccomp dependency 2020-05-15 17:13:13 -04:00
criyle
bc0b7f92f1 Add MacOS sandbox support 2020-05-15 03:02:04 -04:00
criyle
3fd00038db MacOS sandbox_init 2020-05-13 20:43:58 -04:00
criyle
b64cc09c06 Add MacOS forkExec 2020-05-13 16:37:59 -04:00
criyle
707c808ee3 retry on ETXTBSY 2020-05-02 03:03:34 -04:00
criyle
2489317fb7 Add _linux suffix to linux only packages 2020-05-01 17:10:23 -04:00
criyle
44e0f041f2 add linux suffix to linux only packages 2020-05-01 17:01:20 -04:00
criyle
5f133175fd Add ability unshare cgroup after sync 2020-03-20 18:50:31 -04:00
criyle
cfa40fa36a update dependencies 2020-03-16 18:27:10 -04:00
criyle
4f2257a187 Remove types pkg & update documents
- move types pkg into runner
- add documentations for cgroup & container
- add benchmakr for cgroup & container
2020-03-02 03:14:13 -05:00