Commit Graph

51 Commits

Author SHA1 Message Date
criyle
7aa1c5a28b refactor: normalize error message & replace path with filepath 2025-05-25 22:02:23 -04:00
criyle
1e890d6475 container: skip waitAll 2025-04-03 23:21:14 +00:00
criyle
10235abbf2 container: organize test cases 2025-02-22 21:07:11 +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
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
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
bd846192aa deps: upgrade to go1.21 2023-09-27 13:43:12 +00:00
criyle
25d0f22364 *: bump dependency version & better align 2023-04-12 01:19:47 -07:00
criyle
84888375c4 container: load default environment variable from /.env 2022-08-25 20:33:48 -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
ca60fcad98 *: fix macOS build for go1.18 2022-04-03 02:45:53 -07:00
criyle
015f569ebe container: add maskPaths ability 2021-11-28 23:02:14 -08:00
criyle
eb0f2cbc89 container: create symlinks for rootfs 2021-11-11 23:56:53 -08:00
criyle
5f3a6ff032 container: add CAP_SYS_RESOURCE 2021-08-09 23:52:43 -07:00
criyle
26c5f63dcb runner: async -> sync 2021-06-05 16:16:05 -07:00
criyle
963e027b0a container: allocate buffers in advance 2021-04-25 17:58:00 -07:00
criyle
c1d9a5572f container: fix fd leak 2021-03-30 21:36:46 -07:00
criyle
3b55a156bc container: host async wait 2021-03-29 22:49:40 -07:00
criyle
91dae1dfc6 container: change send & recv async 2021-03-29 01:16:45 -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
464c5ac932 Backwards compatibility for older kernels >= 3.10 2021-01-21 00:20:57 -08:00
criyle
d51cbe0bbd bump versions 2021-01-09 11:21:32 -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
a9733a4b7d Fix container.reset 2020-12-17 22:27:18 -08:00
criyle
4ae1d6d760 Differentiate error from execve / wait4 2020-12-12 12:24:27 -08:00
criyle
7ebe4a999d Add ability to use seccomp filter for container 2020-12-12 12:16:28 -08:00
criyle
6df08e55b7 Add ability to config container uid & gid 2020-12-12 11:53:09 -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
2489317fb7 Add _linux suffix to linux only packages 2020-05-01 17:10:23 -04:00
criyle
dac4a1ddad Fix container builder with specific exec file 2020-04-01 00:12:32 -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
criyle
46b52374a5 add some badge to README.md 2020-03-01 21:04:46 -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
5b50e9db4d update documentations 2020-02-21 02:18:05 -05:00
criyle
33a7b2b603 remove unnecessary error wrap 2020-02-19 20:30:35 -05:00