]>
git.proxmox.com Git - mirror_lxcfs.git/log
Christian Brauner [Thu, 5 Mar 2020 10:24:38 +0000 (11:24 +0100)]
proc_loadavg: use fdopen_cached()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 10:23:29 +0000 (11:23 +0100)]
cgroup_utils: only transfer ownership of fd after fdopen() has succeeded
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 10:22:34 +0000 (11:22 +0100)]
proc_fuse: introduce and use fdopen_cached()
Note that in contrast to libc's fdopen() it doesn't consume the fd it is
passed.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 10:02:22 +0000 (11:02 +0100)]
proc_fuse: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 09:34:31 +0000 (10:34 +0100)]
proc_cpuview: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:54:28 +0000 (09:54 +0100)]
lxcfs: use lxcfs_info()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:53:39 +0000 (09:53 +0100)]
cgroups: remove stray debugging statement
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:49:36 +0000 (09:49 +0100)]
bindings: rework initpid_still_valid()
Let it fallback to stat when pidfd_send_signal() is not available.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:35:47 +0000 (09:35 +0100)]
tree-wide: handle shared pid namespaces
Closes #310.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:31:46 +0000 (09:31 +0100)]
proc_fuse: coding style
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:31:08 +0000 (09:31 +0100)]
proc_fuse: remove stray logging
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:30:29 +0000 (09:30 +0100)]
proc_fuse: remove {} from single-ling if-statement
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 5 Mar 2020 08:28:14 +0000 (09:28 +0100)]
proc_fuse: remove stray logging
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 22:38:14 +0000 (23:38 +0100)]
Merge pull request #347 from brauner/2020-03-04/final_fixes
autotools: cleanup
Christian Brauner [Wed, 4 Mar 2020 21:57:02 +0000 (22:57 +0100)]
autotools: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 17:37:02 +0000 (18:37 +0100)]
Merge pull request #346 from brauner/2020-03-04/final_fixes
man: fix manpage generation
Christian Brauner [Wed, 4 Mar 2020 17:33:16 +0000 (18:33 +0100)]
man: fix manpage generation
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 16:59:22 +0000 (17:59 +0100)]
Merge pull request #345 from brauner/2020-03-04/final_fixes
autotools: fix Makefile
Christian Brauner [Wed, 4 Mar 2020 16:48:13 +0000 (17:48 +0100)]
autotools: fix Makefile
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 15:46:28 +0000 (16:46 +0100)]
Merge pull request #344 from brauner/2020-03-04/repo_reorg
repo reorg
Christian Brauner [Wed, 4 Mar 2020 13:41:44 +0000 (14:41 +0100)]
proc_fuse: fix whitespace
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 4 Mar 2020 13:35:59 +0000 (14:35 +0100)]
lxcfs: use lxcfs_info() for help output
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 4 Mar 2020 13:36:33 +0000 (14:36 +0100)]
tree-wide: move files into subdirectories
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 11:30:57 +0000 (12:30 +0100)]
Merge pull request #343 from brauner/2020-03-04/bugfixes
lxcfs: use lxcfs_info()
Christian Brauner [Wed, 4 Mar 2020 11:17:11 +0000 (12:17 +0100)]
lxcfs: use lxcfs_info()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 11:15:05 +0000 (12:15 +0100)]
Merge pull request #342 from brauner/2020-03-04/bugfixes
macro: add and use lxcfs_info()
Christian Brauner [Wed, 4 Mar 2020 11:03:36 +0000 (12:03 +0100)]
macro: add and use lxcfs_info()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 10:52:02 +0000 (11:52 +0100)]
Merge pull request #341 from brauner/2020-03-04/bugfixes
tree-wide: switch default visibility to hidden
Christian Brauner [Wed, 4 Mar 2020 10:46:31 +0000 (11:46 +0100)]
README: merge two overlapping sections
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 4 Mar 2020 10:42:07 +0000 (11:42 +0100)]
tree-wide: switch default visibility to hidden
There's no need for anyone to call dlsym() on anything else than what we
explicitly support.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 4 Mar 2020 10:33:12 +0000 (11:33 +0100)]
Merge pull request #340 from brauner/2020-03-04/bugfixes
bugfixes
Christian Brauner [Wed, 4 Mar 2020 10:22:13 +0000 (11:22 +0100)]
README: add sections about upgrade + musl
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 4 Mar 2020 08:07:35 +0000 (09:07 +0100)]
tree-wide: ensure lxcfs_opts is checked
When we only reload the shared library, then lxcfs_opts even with a
newer version of lxcfs will not be valid.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Tue, 3 Mar 2020 16:29:10 +0000 (17:29 +0100)]
Merge pull request #339 from brauner/2020-03-02/cleanup
fixes
Christian Brauner [Tue, 3 Mar 2020 16:16:23 +0000 (17:16 +0100)]
lxcfs: add --disable-cfs
Closes #298.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 16:04:45 +0000 (17:04 +0100)]
lxcfs: improve help and add long options
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 15:40:02 +0000 (16:40 +0100)]
config: allow system service file to set custom target path
Closes #238.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 15:02:33 +0000 (16:02 +0100)]
tree-wide: introduce and use fopen_cached()
Closes #257.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 14:30:11 +0000 (15:30 +0100)]
tree-wide: make fopen() calls cloexec
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 14:11:15 +0000 (15:11 +0100)]
Merge pull request #337 from irnes/memstat
meminfo: fix used/cache memory calculation under cgroup2
Stéphane Graber [Tue, 3 Mar 2020 14:08:20 +0000 (15:08 +0100)]
Merge pull request #338 from brauner/2020-03-02/cleanup
cleanups
Christian Brauner [Tue, 3 Mar 2020 13:24:09 +0000 (14:24 +0100)]
lxcfs: use fuse's default_permissions
Closes #128.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 13:19:08 +0000 (14:19 +0100)]
lxcfs: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 12:36:00 +0000 (13:36 +0100)]
lxcfs: use cleanup macro for pidfile fd
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 12:33:59 +0000 (13:33 +0100)]
lxcfs: improve logs
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 10:03:00 +0000 (11:03 +0100)]
lxcfs: cleanup mutex
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 09:53:20 +0000 (10:53 +0100)]
lxcfs: replace alloca()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 09:32:28 +0000 (10:32 +0100)]
proc_cpuview: remove alloca()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 3 Mar 2020 09:28:26 +0000 (10:28 +0100)]
cpuset_parse: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Mon, 2 Mar 2020 09:00:32 +0000 (10:00 +0100)]
bindings: cleanup send_creds_clone_wrapper()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Irnes Mujkanovic [Tue, 3 Mar 2020 09:44:42 +0000 (10:44 +0100)]
meminfo: fix used/cache memory calculation under cgroup2
Signed-off-by: Irnes Mujkanovic <irnes.mujkanovic@gmail.com>
Stéphane Graber [Thu, 27 Feb 2020 21:52:21 +0000 (22:52 +0100)]
Merge pull request #336 from brauner/2020-02-27/safe_mount
support ASAN and UBSAN + bugfixes
Christian Brauner [Thu, 27 Feb 2020 21:23:45 +0000 (22:23 +0100)]
tree-wide: fix memory leaks
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 27 Feb 2020 20:48:39 +0000 (21:48 +0100)]
autotools: add support for ASAN and UBSAN
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 27 Feb 2020 19:38:22 +0000 (20:38 +0100)]
cgroup_utils: re-add O_NOFOLLOW
This got removed on accident.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Thu, 27 Feb 2020 17:58:29 +0000 (18:58 +0100)]
Merge pull request #335 from brauner/2020-02-27/memory_stat_fix
proc_fuse: ensure struct memory_stat is properly zeroed
Christian Brauner [Thu, 27 Feb 2020 16:07:29 +0000 (17:07 +0100)]
proc_fuse: ensure struct memory_stat is properly zeroed
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Thu, 27 Feb 2020 15:09:02 +0000 (16:09 +0100)]
Merge pull request #333 from brauner/master
api_extensions: add and log api extensions
Christian Brauner [Thu, 27 Feb 2020 14:23:02 +0000 (15:23 +0100)]
api_extensions: add and log api extensions
New features should get an entry in here:
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: mount namespace: 4
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: hierarchies:
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 0: fd: 5:
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 1: fd: 6: name=systemd
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 2: fd: 7: cpu,cpuacct
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 3: fd: 8: rdma
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 4: fd: 9: devices
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 5: fd: 10: pids
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 6: fd: 11: net_cls,net_prio
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 7: fd: 12: memory
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 8: fd: 13: perf_event
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 9: fd: 14: blkio
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 10: fd: 15: freezer
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 11: fd: 16: cpuset
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: 12: fd: 17: hugetlb
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: Kernel supports pidfds
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: api_extensions:
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - cgroups
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - sys_cpu_online
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - proc_cpuinfo
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - proc_diskstats
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - proc_loadavg
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - proc_meminfo
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - proc_stat
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - proc_swaps
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - proc_uptime
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - shared_pidns
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - cpuview_daemon
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - loadavg_daemon
Feb 27 15:21:54 wittgenstein lxcfs[
2129877]: - pidfds
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Thu, 27 Feb 2020 14:04:02 +0000 (15:04 +0100)]
Merge pull request #332 from brauner/2020-02-20/meminfo_extension
meminfo: add some more metrics
Christian Brauner [Thu, 27 Feb 2020 13:55:43 +0000 (14:55 +0100)]
meminfo: add some more metrics
dirty/writeback ... and so on
Closes #315.
Signed-off-by LiMing Wu <
19092205@suning.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Thu, 27 Feb 2020 12:12:56 +0000 (13:12 +0100)]
Merge pull request #331 from brauner/master
bugfixes
Christian Brauner [Thu, 27 Feb 2020 12:07:05 +0000 (13:07 +0100)]
cgroup_utils: fix mounting
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 27 Feb 2020 11:26:12 +0000 (12:26 +0100)]
proc_fuse: use correct format specifier
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 27 Feb 2020 11:21:43 +0000 (12:21 +0100)]
tree-wide: introduce casting helpers
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 27 Feb 2020 11:10:57 +0000 (12:10 +0100)]
croups: remove unused variable
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 26 Feb 2020 19:32:37 +0000 (20:32 +0100)]
Merge pull request #330 from brauner/master
bindings: cleanup various parts
Christian Brauner [Wed, 26 Feb 2020 18:38:30 +0000 (19:38 +0100)]
tree-wide: use cleanup macros
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 26 Feb 2020 18:03:50 +0000 (19:03 +0100)]
bindings: cleanup various parts
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 26 Feb 2020 16:49:09 +0000 (17:49 +0100)]
Merge pull request #329 from brauner/master
bindings: initialize safely & compiler-based hardening
Christian Brauner [Wed, 26 Feb 2020 16:04:00 +0000 (17:04 +0100)]
autotools: add compiler-based hardening flags which are already standard in lxc
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 26 Feb 2020 15:24:44 +0000 (16:24 +0100)]
bindings: initialize safely
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 26 Feb 2020 13:16:01 +0000 (14:16 +0100)]
Merge pull request #328 from brauner/master
lxcfs: add --pidfd option
Christian Brauner [Wed, 26 Feb 2020 13:08:08 +0000 (14:08 +0100)]
lxcfs: add --pidfd option
This makes running lxcfs way more reliable. It is opt-in for now.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 26 Feb 2020 12:45:52 +0000 (13:45 +0100)]
Merge pull request #327 from brauner/master
tree-wide: post-restructuring cleanup
Christian Brauner [Wed, 26 Feb 2020 09:29:53 +0000 (10:29 +0100)]
tree-wide: post-restructuring cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Tue, 25 Feb 2020 23:35:22 +0000 (00:35 +0100)]
Merge pull request #326 from brauner/2020-02-20/cgroup2_support_10
restructure everything
Christian Brauner [Tue, 25 Feb 2020 17:22:16 +0000 (18:22 +0100)]
Makefile: add missing header files
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 25 Feb 2020 17:17:52 +0000 (18:17 +0100)]
proc: split proc virtualization into separate files
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 25 Feb 2020 16:17:10 +0000 (17:17 +0100)]
bindings: split cgroup part of lxcfs into separate files
This was long overdue since the cgroup faking part is basically unused
at this point on most kernels.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 25 Feb 2020 15:52:23 +0000 (16:52 +0100)]
utils: split helpers from bindings.c into utils.{c,h}
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 25 Feb 2020 15:18:51 +0000 (16:18 +0100)]
cgroups: add get_cgroup_fd() helper
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Tue, 25 Feb 2020 13:15:52 +0000 (14:15 +0100)]
Merge pull request #325 from brauner/2020-02-20/cgroup2_support_9
cgroups: fixes and improvements
Christian Brauner [Tue, 25 Feb 2020 12:33:37 +0000 (13:33 +0100)]
cgroups: remove unused variables
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 25 Feb 2020 12:27:30 +0000 (13:27 +0100)]
cgroups: remove ->nrtasks method
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 25 Feb 2020 12:11:23 +0000 (13:11 +0100)]
cgroups: move mntns fd into struct cgroup_ops
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Mon, 24 Feb 2020 15:21:27 +0000 (16:21 +0100)]
Merge pull request #324 from brauner/2020-02-20/cgroup2_support_8
bindings: rework {con,de}structor
Christian Brauner [Mon, 24 Feb 2020 15:06:25 +0000 (16:06 +0100)]
bindings: rework {con,de}structor
- Improve naming for {con,de}structor.
- Fail when we can't setup cgroups.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Mon, 24 Feb 2020 12:50:04 +0000 (07:50 -0500)]
Merge pull request #323 from brauner/2020-02-20/cgroup2_support_7
bindings: port cpuview to new cgroup getters & cleanup macro expansion
Christian Brauner [Mon, 24 Feb 2020 11:56:05 +0000 (12:56 +0100)]
bindings: use more cleanup macros
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Mon, 24 Feb 2020 11:01:07 +0000 (12:01 +0100)]
bindings: port cpuview to new cgroup getters
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Mon, 24 Feb 2020 11:02:04 +0000 (06:02 -0500)]
Merge pull request #322 from brauner/2020-02-20/cgroup2_support_5
bindings: port blkio to new cgroup getters
Christian Brauner [Mon, 24 Feb 2020 10:32:47 +0000 (11:32 +0100)]
bindings: port blkio to new cgroup getters
cgroup2's io controller does not support most of the blkio files.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Mon, 24 Feb 2020 10:01:05 +0000 (05:01 -0500)]
Merge pull request #321 from brauner/2020-02-20/cgroup2_support_4
bindings: port cpuset to new cgroup getters and implement cgroup2 sup…
Christian Brauner [Mon, 24 Feb 2020 09:54:08 +0000 (10:54 +0100)]
bindings: introduce dot_or_empty()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Mon, 24 Feb 2020 09:35:50 +0000 (10:35 +0100)]
bindings: port cpuset to new cgroup getters and implement cgroup2 support
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Fri, 21 Feb 2020 14:43:47 +0000 (09:43 -0500)]
Merge pull request #320 from brauner/2020-02-20/cgroup2_support_3
bindings: port memory to new cgroup getters and support cgroup2
Christian Brauner [Fri, 21 Feb 2020 14:19:08 +0000 (15:19 +0100)]
bindings: port memory to new cgroup getters and implement cgroup2 support
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 21 Feb 2020 13:05:56 +0000 (14:05 +0100)]
bindings: rework proc meminfo helpers
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Thu, 20 Feb 2020 21:46:27 +0000 (16:46 -0500)]
Merge pull request #319 from brauner/2020-02-20/cgroup2_support_2
cgroups: add getter instead of open-coded cgfs_get_value()