1
0
mirror of https://github.com/containers/youki synced 2024-12-04 19:18:29 +01:00
Commit Graph

780 Commits

Author SHA1 Message Date
Furisto
0d803974b7 Correct spelling 2021-09-01 00:17:51 +02:00
Furisto
4b39d096ee Set supplementary gids 2021-09-01 00:17:08 +02:00
Furisto
28abd39f8c Add validation for setgroup and refactor rootless 2021-09-01 00:17:08 +02:00
utam0k
ef4b7932e8
Merge pull request #232 from chenyukang/add-cov
Add codecov
2021-08-31 22:55:17 +09:00
Furisto
679cd3bb37
Merge pull request #251 from yihuaf/yihuaf/246
enable oom_score_adj test
2021-08-31 13:23:05 +02:00
Furisto
2bf03c15e5
Merge pull request #253 from yihuaf/yihuaf/fix_uid
[Trivial] Fix a typo where gid should be uid.
2021-08-31 13:20:51 +02:00
yukang
00f37c2b99 fix grcov path 2021-08-31 19:01:44 +08:00
yukang
b6032c2cd7 fix cov ci 2021-08-31 18:36:42 +08:00
yukang
0eb5382f69 fix toolchain 2021-08-31 18:28:41 +08:00
yihuaf
a4ea9016b7 Fix a typo where gid should be uid. 2021-08-31 08:30:21 +02:00
yihuaf
65c7d52236 enable oom_score_adj test 2021-08-31 07:45:45 +02:00
utam0k
c6065e67b1
distinguish channels more clearly between each process (#244)
* seperate the channel for each process communication.

* separate messages for intermediate and init ready.

* stop sending a pid from init to intermediate as they are not needed.
2021-08-30 16:20:07 -07:00
utam0k
d86932dd13
Merge pull request #247 from yihuaf/yihuaf/221
[Trivial] Include 3 more passed integration test
2021-08-30 14:43:09 +09:00
Yashodhan Joshi
78b6877b5b Add Readme for integration tests 2021-08-30 10:31:35 +05:30
Yashodhan Joshi
c45ede0dac Add Readme for test_frmaework, which also documents various structs and traits in it 2021-08-30 10:16:10 +05:30
yihuaf
b7d2855344 Include 3 more passed integration test
"linux_ns_nopath/linux_ns_nopath.t"
"linux_ns_path/linux_ns_path.t"
"linux_ns_path_type/linux_ns_path_type.t"
2021-08-30 05:57:38 +02:00
yihuaf
e3b5720c5b
Use chroot when not entering into mount namespace (#242)
* Do not pivot_root when under the host mount namespace. Chroot instead.

* Make a note that linux_ns_itype test don't pass
2021-08-29 20:54:33 -07:00
Furisto
2d02d22caf
Pass misc props test (#245) 2021-08-29 17:20:09 -07:00
Furisto
9396982364
Merge pull request #208 from MoZhonghua/main
[WIP] cgroups v2: PoC of devices controller
2021-08-29 21:08:05 +02:00
Furisto
6023e4c278 Deactivate example auto discovery 2021-08-29 20:53:22 +02:00
Furisto
945e28de02 Make devices non default feature 2021-08-29 20:53:22 +02:00
Furisto
9cc1512de7 Move default devices 2021-08-29 20:53:22 +02:00
Furisto
b6691c5192 Split into controllers and pseudo controllers 2021-08-29 20:53:22 +02:00
Furisto
eea3234674 Move Controller impl to controller module 2021-08-29 20:53:22 +02:00
Furisto
1ab4bc025c License for ebpf programs should be apache 2021-08-29 20:53:22 +02:00
Furisto
e06b83edd8 Install dependencies for devices v2 2021-08-29 20:53:19 +02:00
Furisto
39dff8d126 Dependencies should depend on feature 2021-08-29 20:51:15 +02:00
MoZhonghua
ec15e4e3ca cgroups v2: PoC of devices controller 2021-08-29 20:51:15 +02:00
Yashodhan Joshi
dd43cb632d Fix for runc testing
change -r to --root, as runc does not take -r commandline option
2021-08-29 15:44:58 +05:30
Yashodhan Joshi
85f23015dd Fix youki processes staying alive in create tests 2021-08-29 15:30:30 +05:30
Yashodhan Joshi
a39b287f6e Complete setting up commandline options
Now supports -r (required) to take runtime path
and -t (optional) to take selected tests to run
2021-08-29 15:09:37 +05:30
Yashodhan Joshi
860526a3af Setup Clap for taking commandline values 2021-08-29 13:32:38 +05:30
yihuaf
ff582b7f7f
Fix graceful shutdown when intermediate or init process errors or panic (#238)
* Fix graceful shutdown when intermediate or init process error out
* Only set hostname when enter into new uts ns
* enable linux_ns_path_type test
2021-08-28 01:48:13 -07:00
utam0k
98a16efd6d
Merge pull request #229 from chenyukang/fix-tutorial-readme
Fix tutorial in readme
2021-08-28 08:47:40 +09:00
yihuaf
ebf4708f46
Fix user namespace for integration tests (#233)
* Fix entering into user namespace correctly

1. Allow entering user namespace when calling process is root.
Previously, only when calling process is non-root, will the rootless
condition be triggered.
2. Move the creation to the NotifyListener into main process. Once the
container init process enter into user namespace, we can't bind to a
unix domain socket where the parent directory is owned by root.

* Now we pass 2 more namespace tests
2021-08-27 11:55:03 -07:00
utam0k
f855a1d935
Merge pull request #231 from utam0k/feature/drawio
introduction to sequence diagrams using vscode's draw.io
2021-08-27 19:23:27 +09:00
utam0k
9f0694d123 the cgroup process was in the wrong place. 2021-08-27 18:50:15 +09:00
yukang
4eb5b3fe75 tweak readme tutorial 2021-08-27 08:01:17 +00:00
yukang
743b6a6918 add codecov 2021-08-26 13:55:54 +00:00
yukang
29fb64aca9 fix readme for missing pkg 2021-08-26 13:32:04 +00:00
utam0k
10a7f62d10 introduction to sequence diagrams using vscode's draw.io 2021-08-26 21:27:54 +09:00
utam0k
db7cc788b9
Merge pull request #220 from chenyukang/fix-doc
Tweak document
2021-08-26 15:41:45 +09:00
yukang
bc69788d79 fix tutorial in readme 2021-08-25 13:59:21 +00:00
utam0k
14856066b1
Merge pull request #224 from chenyukang/pass-root-readonly
Fix #209, pass root-readonly
2021-08-25 10:01:51 +09:00
yukang
1aa467f7da add example for testing 2021-08-25 00:46:45 +00:00
yukang
2d09af6d2b tweak bash style 2021-08-24 14:59:54 +00:00
yukang
3920f6e6f2 add pattern for running part of tests 2021-08-24 14:56:07 +00:00
yukang
e38045c580 fix style 2021-08-24 14:45:38 +00:00
yukang
0433efb5e0 fix #209, pass root-readonly 2021-08-24 14:43:00 +00:00
utam0k
a14ce13bcd
Merge pull request #211 from utam0k/feature/v1-blkio
exclude blkio test case in runtime-tools bacause it doesn't support linux kernel 5.0 or later.
2021-08-24 22:26:42 +09:00