configure.ac: memshr_create: Detect and use from <sys/mman.h> Recent glibc versions do have a wrapper for this function. It is available via <sys/mman.h>. So: * Add <sys/mman.h> to the list of header checks. * Add a conditional include of <sys/mman.h> to the configure test for memshr_create, so that it will pass if the function is there. * Add the same conditional include to missing.h, so that we get it declared when we build. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Version 234.4 Release
Version 234.3 Release
Prep v231.6: Upstream installs in lib/systemd, we install in lib/elogind.
Version 234.2 Release
Version 234.1 Release
ALL: Add --with-rootlibexecdir and change default to ${libdir}/libexec
Prep v233.4: Update LTO usage to be more convenient. - Add -fuse-linker-plugin to work around odd compiler and binutils installs. Should fix most "plugin needed to handle lto object" issues. - Read back whether LTO really has been enabled or not, so we can display a status line at the end of configure. - Only enforce gold linker if LTO has been enabled. These checks can still be disabled with the --disable-lto option, which will make configure to skip all checks regarding LTO.
Prep v234: Update root build files to upstream.
Version 233.3 Release
Prep v233.3: Add all possible coverage tests for elogind
Version 233.2 Release
Prep v233.2: Mask unneeded functions and definitions in src/basic
Version 233.1 Release
Prep v233: Update root build files to upstream version
core: make hybrid cgroup unified mode keep compat /sys/fs/cgroup/elogind hierarchy Currently the hybrid mode mounts cgroup v2 on /sys/fs/cgroup instead of the v1 name=elogind hierarchy. While this works fine for elogind itself, it breaks tools which expect cgroup v1 hierarchy on /sys/fs/cgroup/elogind. This patch updates the hybrid mode so that it mounts v2 hierarchy on /sys/fs/cgroup/unified and keeps v1 "name=elogind" hierarchy on /sys/fs/cgroup/elogind for compatibility. elogind itself doesn't depend on the "name=elogind" hierarchy at all. All operations take place on the v2 hierarchy as before but the v1 hierarchy is kept in sync so that any tools which expect it to be there can keep doing so. This allows elogind to take advantage of cgroup v2 process management without requiring other tools to be aware of the hybrid mode. The hybrid mode is implemented by mapping the special elogind controller to /sys/fs/cgroup/unified and making the basic cgroup utility operations - cg_attach(), cg_create(), cg_rmdir() and cg_trim() - also operate on the /sys/fs/cgroup/elogind hierarchy whenever the cgroup2 hierarchy is updated. While a bit messy, this will allow dropping complications from using cgroup v1 for process management a lot sooner than otherwise possible which should make it a net gain in terms of maintainability. v2: Fixed !cgns breakage reported by @evverx and renamed the unified mount point to /sys/fs/cgroup/unified as suggested by @brauner. v3: chown the compat hierarchy too on delegation. Suggested by @evverx. v4: [zj] - drop the change to default, full "legacy" is still the default.
Version 232.2 (Pre) Release
Version 232.1 Release
Prep v232: Update root and build files to upstream v232 tag.
Version 231.4 Release