summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxcfs
Commit message (Collapse)AuthorAgeFilesLines
* lxcfs: update to v7.0.0Bruce Ashfield2026-05-292-54/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping lxcfs to version v7.0.0, which comprises the following commits: 0995aec Release LXCFS 7.0.0 6389b7c chore: Remove manual cpu.max and TODO in test script 6de32d9 lxcfs: fix wrong cpu count when setting cfs in hierarchy 7241637 cpuset_parse: constify return value of cpuset_nexttok c8095bb tests: cover /proc/swaps in meminfo hierarchy test 30556e7 lxcfs: fix gettid on glibc < 2.30 0f7e541 github: drop cgroup1 related stuff f2229e2 github: add Codecov 13ac8db tests: use SIGTERM instead of SIGKILL 1aa236a tests: add cpu cfs hierarchy test 3d6d679 tests: add cpuset hierarchy test 172d6b6 tests: refactor meminfo_hierarchy test 4d69faa tests/meminfo_hierarchy: ensure that swap total size is correct 156c0f8 tests: cleanup using shellcheck d86b88b tests: extend meminfo hierarchy test a3ed02c tests: remove cgroup1 support 4e95204 cgroups: remove pure cgroup1 and hybrid support 14910a8 tests: remove test_readdir test 638d95a lxcfs: remove test_cgroup 417f19f Fix compiler warning. 7a90f31 lxcfs: make --enable-pidfd a default ab22161 lxcfs: nuke the cgroupfs code 8eb4043 lxcfs: remove --enable-cgroup option support 906161a lxcfs: remove cgroupfs support from hook c7d882f tests: remove cgroupfs-related tests d3fcf6a lxcfs: remove libfuse2-specific code ea2bcf0 lxcfs: drop libfuse2 support fab7ae2 github: switch to libfuse3 and drop libfuse2 dae1f7f CONTRIBUTING: add a note on AI generated code 849eec9 lxcfs: add .clang-format 9577b48 sysfs: fix duplicated /sys/devices/system/cpu/online 2e91ceb lxcfs: fix "Write to cache was truncated" on long-running / high-core-count systems ed65236 Fix issue where the pidfd_ functions are not detected during meson setup. 3aa1487 cgroups/cgfsng: check memory allocation in add_hierarchy 06db22c meson: don't forget to set PSI trigger mocks for liblxcfstest 726082c github: enable mocks for CI upgrade tests 6f27557 github: pass LIBFUSE env variable to upgrade tests b7efa05 cgroups/cgfsng: do not change host-wide cgroup2 superblock options 273a0b6 cgroups/cgfsng: fix whitespace errors in __cg_mount_direct 456047f lxcfs: add enable-psi-poll cmdline option 39e4724 tests: add /proc/pressure/* virtualization tests e422b64 github: enable mocks for CI builds e7f5d06 meson: add "mocks" option for CI/testing purposes f664a57 proc_fuse: add /proc/pressure/{cpu, io, memory} virtualization 34d5daf lxcfs: install noop signal handler for SIGRTMIN + 0 84ef19e proc_fuse: move release/releasedir at the end 8fae19b lxcfs: wire up ->poll callback for /proc 142b0cf lxcfs: wire up ->write callback for /proc d411fda bindings: add private_data field to struct file_info 282f237 proc_fuse: deduplicate read() handlers code for /proc/pressure files af454ab src/utils: fix in_same_namespace helper 82481b6 lxcfs: use macro to generate liblxcfs call helpers c503b12 cgroups: replace dup() call with openat_safe() 6bd2ebd proc_fuse: add zswap information to /proc/meminfo 0dc531d bindings: add zswap feature detection 7775056 lxcfs: add disable-zswap opt 21ce4aa cgroups: add zswap feature detection b54e16a cgroups: extract cgfsng_can_use_memory_feature() util function 255b7a7 proc_fuse: fix proc_stat_read reporting host cpu count under cgroup v2 8a281f9 github: Use Github Arm runners 3d81122 github: Bump actions/checkout to v5 2ea5561 proc_loadavg: Prevent integer overflow calculating the sleep interval 28be637 lxcfs: use strlcpy when handle runtime-dir parameter 0f253c7 utils: move strlcpy/strlcat helpers from cgroup_utils to utils 3aa1bb6 cpuset_parse: make a check for an empty string in cpu_in_cpuset() 531a988 utils: fix wait_for_sock to use time_t instead of int a43c87d tests/test-read: call close(2) only if there is an fd abdecf1 meminfo: Add slab_reclaimable to MemAvailable 31da3ae proc_fuse: add psi(pressure stall information) procfs 3a43ced github: Improve progress reporting f819442 github: Cleanup testsuite action a1f9602 github: Update checkout to v4 10c990f github: Simplify build action 370f6a4 github: Update coverity workflow 124ad8b github: Use shared logic ce45d17 tests: Make sure to enable cpuset controller 8c5f161 github: Add arm64 tests 39dc9b3 github: Simplify tests workflow c65ddc7 github: Bump Ubuntu version 49e862b cgroups/cgfsng: improve swap accounting support detection 2594ae8 tests: add proc readdir test 56fd97e lxcfs: fix readdir for procfs subtree bcb1b0a lxcfs_read: Added LXCFS_TYPE macro to all FUSE filesystem calls 1e4e184 Add missing linux/limits.h include 15f614c github: add live upgrade test between stable-{5,6} branches 8c88d4e github: add ISSUE_TEMPLATE.md bf571ae README.md: add info about how to collect a core dump fd35d40 github: update coverity test to use Ubuntu 22.04 e5a5c8c github: add lxcfs live upgrade compatibility test 5c42da9 lxcfs/bindings: add a flag for overriding the runtime dir 328a30b lxcfs/bindings: Refactor RUNTIME_PATH so that it can be overridden on startup 276cc1c proc: checks system security policy before trying to get personalities We also Drop 0001-bindings-fix-build-with-newer-linux-libc-headers.patch as v7.0.0 added its own conditional '#include <sys/pidfd.h>' inside '#if HAVE_PIDFD_OPEN', so the patch's unconditional include is now a duplicate. The system glibc sys/pidfd.h has a broken include guard (#ifndef _PIDFD_H without a matching #define), so two includes produce a 'struct pidfd_info' redefinition error. Also switch DEPENDS/RDEPENDS from fuse to fuse3, matching v7.0.0 which now requires libfuse3. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxcfs: update to 6.0.6Bruce Ashfield2026-03-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | Update LXCFS from 5.0.4 to 6.0.6 (LTS branch). Existing patches apply with offset. Key changes across the 5.0 to 6.0 series: 6.0.x LTS (2024-2029): - Switch to fuse3 as default (fuse2 still supported) - Reworked cgroup2 support with improved delegation - Improved /proc/cpuinfo virtualization for cgroup2 - Improved /proc/meminfo virtualization accuracy - Improved /proc/stat CPU time virtualization - Improved /proc/loadavg virtualization - Improved /proc/uptime per-container tracking - Improved /sys/devices/system/cpu virtualization - Better handling of cgroup v1/v2 hybrid setups - meson build system improvements - Various memory leak and race condition fixes - Multiple security hardening improvements Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxcfs: add systemd to REQUIRED_DISTRO_FEATURESBruce Ashfield2023-09-071-1/+2
| | | | | | lxcfs requires systemd, so we add it to the feature check. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxcfs: update to 5.0.4 and convert to mesonBruce Ashfield2023-08-244-83/+45
| | | | | | | | | | This is a large update to lxcfs, that includes a move to meson as the build backend. We drop a couple of uneeded patches, and add a new meson specific one as the detection of pid_* functions is failing. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxcfs: fix build with newer linux-libc-headersMartin Jansa2023-05-082-0/+51
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-272-0/+4
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: update licence values to SPDX valuesBruce Ashfield2022-02-181-1/+1
| | | | | | | | | | These changes are the result of running the convert-spdx-licenses.py oe-core script. There's no impact to the build, but we will avoid issues when interacting with core QA by the alignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides syntax conversionBruce Ashfield2021-08-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxcfs: update to 4.0.7Bruce Ashfield2021-02-072-13/+10
| | | | | | | | | Bumping to the latest available lxcfs. As part of this update, the license has changed to LGPL-2.1+ (from Apache-2.0) We also refresh our systemd patch to continue to apply. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxcfs: uprev from v3.0.1 to v3.0.3Mark Asselstine2018-12-041-2/+2
| | | | | | | | | | | | A very small # of new commits. Most are minor bug fixes, no feature work. I looked at adding ptests but the tests are mostly in an unusable state at the moment, for example several require cgm despite cgmanager being deprecated. So I have opted to continue without them and only when we can work with upstream to improve their testing can we seriously consider adding them. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxcfs: move recipe from meta-overc to hereMark Asselstine2018-10-043-0/+99
This recipe was originally written and included in meta-overc as it was used by the overc framework so we implemented it there to sort out the kinks. Since this package is not specific to the OverC framework and people may be interested in including it in their images without having any interest in the OverC framework we are moving this recipe here, alongside lxc and other container related recipes. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>