1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-06-10 08:46:21 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
Takashi IIGUNI 97848f1ce6
Updated cgroups oci-spec-rs to 0.5.1 or later (#303)
* Updated cgroup oci-spec-rs to 0.5.1

Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-26 18:08:56 -07:00
utam0k 8023ff445a
avoid cloning LinuxResources because it is a large structure. 2021-09-22 22:48:32 +09:00
Furisto e922063199 Extend info cmd with status of cgroup controllers 2021-09-12 18:11:05 +02:00
Furisto 410d2643e1 Move reading controllers to utils 2021-09-12 18:11:05 +02:00
Furisto 74e3077527 Move freezer to pseudo controllers 2021-09-12 18:10:03 +02:00
utam0k 7aaa2fbfc3
Merge pull request #266 from guni1192/upgrade-oci-spec-rs
Upgrade oci-spec-rs to 0.4.0
2021-09-12 17:33:29 +09:00
Takashi IIGUNI 05e7831fd1 fix: clippy
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-12 07:39:36 +00:00
utam0k f349cdbbd4 fix cargo clippy warning in cgroups. 2021-09-10 23:15:10 +09:00
Takashi IIGUNI 5cf890a861 Merge remote-tracking branch 'upstream/main' into upgrade-oci-spec-rs
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-08 10:09:20 +00:00
Furisto cf47693598 Adapt memory tests 2021-09-07 22:23:49 +02:00
Furisto cbc8d1af3d Convert memory swap values 2021-09-07 22:23:49 +02:00
utam0k 546811086e fix cargo clippy warning in cgroups. 2021-09-08 00:08:52 +09:00
Takashi IIGUNI a678111c75 fix: oci-spec import path 2021-09-07 02:59:59 +00:00
Takashi IIGUNI c7ed69a2fe fix: rustfmt 2021-09-07 02:47:26 +00:00
Takashi IIGUNI 3c57eabd62 Upgrade oci-spec-rs to 0.4.0 for cgroups
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-05 07:55:13 +00: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
MoZhonghua ec15e4e3ca cgroups v2: PoC of devices controller 2021-08-29 20:51:15 +02:00
Furisto ff38e4b111 Incorporate review feedback 2021-08-17 23:09:04 +02:00
Furisto 8bfe20e65e Fmt did not get applied to crate 2021-08-16 19:45:14 +02:00
Furisto 4b2e036630 Provide additional error context for cgroup v1 2021-08-16 19:18:56 +02:00
Furisto a59ecdc896 Provide additional error context 2021-08-16 19:18:56 +02:00
Furisto 4f5e3bda73 Add tests for unified 2021-08-16 19:18:56 +02:00
Furisto 0ab2254474 Support unified section 2021-08-16 19:18:56 +02:00
Furisto 60e1c9d8af Formatting 2021-08-12 11:31:26 +02:00
Furisto 1231479b0e Move cgroup code to own crate 2021-08-12 11:31:26 +02:00