Commit Graph

43 Commits

Author SHA1 Message Date
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
7603109e33 Refactor seccomp ptrace & improve container 2020-12-23 12:12:43 -08:00
criyle
7ebe4a999d Add ability to use seccomp filter for container 2020-12-12 12:16:28 -08:00
criyle
c832edba58 Refactor container mounts 2020-11-21 23:50:06 -08:00
criyle
d664e1eae8 set pgid on MacOS 2020-05-15 19:01:10 -04:00
criyle
bc0b7f92f1 Add MacOS sandbox support 2020-05-15 03:02:04 -04:00
criyle
b64cc09c06 Add MacOS forkExec 2020-05-13 16:37:59 -04:00
criyle
2489317fb7 Add _linux suffix to linux only packages 2020-05-01 17:10:23 -04:00
criyle
5f133175fd Add ability unshare cgroup after sync 2020-03-20 18:50:31 -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
criyle
cf5ebfb3ef Handle potential wait4 EINTR & add memory cgroup 2020-03-01 01:34:40 -05:00
criyle
c21ae19d18 reduce container communication overhead 2020-02-27 23:30:32 -05:00
criyle
f2dacb5752 rename daemon -> container 2020-02-19 05:36:23 -05:00
criyle
a24933ac82 update mounts 2020-02-19 01:13:25 -05:00
criyle
bfedda0ba2 adapted to context 2020-02-12 03:01:37 -05:00
criyle
192a09142c add support to set credentials 2019-11-02 17:05:59 -07:00
criyle
348ed481d3 add ability to omit sub-cgroup if not exists 2019-10-24 01:31:21 -07:00
criyle
6e46a73289 update to go 1.13 & fix typos 2019-10-14 00:00:58 -07:00
criyle
4001c7c767 add waitpid resource consumptions 2019-09-28 17:43:05 -07:00
criyle
31edacf69e allow customize mount points for container 2019-09-25 01:28:04 -07:00
criyle
c8d682f4b6 add mount builder & fix rlimits unit 2019-09-18 01:42:10 -07:00
criyle
be668a5e75 fix typo 2019-09-05 21:06:22 -07:00
criyle
2968ef7e27 refactor config 2019-09-01 02:16:41 -07:00
criyle
86c5e2f377 wrap and decouplin libseccomp 2019-09-01 01:36:01 -07:00
criyle
7b06ce65ac normalize naming schema 2019-08-30 00:57:07 -07:00
criyle
ebab7514d1 change package naming 2019-08-29 00:27:49 -07:00
criyle
1ccd9f13f8 change name from 'go-judger' to 'go-sandbox' 2019-08-24 20:32:56 -07:00
criyle
c9f2bd0ae8 align interface for ptrace and namespace with deamon 2019-08-16 22:12:08 -07:00
criyle
988d521f25 change to cancelable function style & release resource in run_program 2019-08-15 23:41:32 -07:00
criyle
d9dc7a01ab add fexecve to execve 2019-08-07 21:18:45 -07:00
criyle
eb93d92b9e add extra sync for execve 2019-08-07 20:48:35 -07:00
criyle
8bf0411dbb finished deamon execve POC 2019-08-07 01:40:47 -07:00
criyle
25732d9455 finished container deamon POC & fixed fd dup 2019-08-05 20:02:04 -07:00
criyle
3247555505 add ability to run at memfd 2019-08-05 15:55:36 -07:00
criyle
7c57b248bb add cgroup v1 support for resource stat 2019-08-03 23:25:59 -07:00
criyle
b8c180569f decoupling rununshared and tracer 2019-07-20 15:20:42 -07:00
criyle
4a120f9a3d try to fix unshare user namespace 2019-07-14 02:11:23 -07:00
criyle
bcb6df3c53 try fix memory usage calc 2019-07-12 20:28:28 -07:00
criyle
9f6081db9a fix arm64 compiler 2019-06-30 23:43:15 -07:00
criyle
23c02267e6 refactor some package and add some documentation 2019-05-21 22:46:55 -07:00
criyle
a122ceed5a fix race problem of setpgid and refactor some package 2019-05-18 16:18:14 -07:00