summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAge
* General: Update build system to upstream support of meson+ninja.Sven Eden2017-08-04
| | | | | | | | Upstream thinks, that the auto tools are too 'legacy', or that they are at least no longer fitting. We follow, as the classic auto tools files have been removed, so no other choice here...
* Version 234.1 ReleaseSven Eden2017-07-27
|
* ALL: Add --with-rootlibexecdir and change default to ${libdir}/libexecSven Eden2017-07-27
|
* Prep 234: Fix Makefile.am to install elogind in rootlibexecdir, like ↵Sven Eden2017-07-27
| | | | upstream does with systemd-login.
* Prep v234: Update root build files to upstream.Sven Eden2017-07-25
|
* Rip out setting of the log level from udev_new and put it in a new functionZbigniew Jędrzejewski-Szmek2017-07-25
| | | | | | | | This function is internal to elogind code, so external users of libudev will not see those log messages. I think this is better. If we want to allow that, the function could be put in libudev and exported. v2: check that the string is more than one char before stripping quotes
* Version 233.3 ReleaseSven Eden2017-07-21
|
* Prep v233.3: Moved shutdown_or_sleep() and run_helper() to elogind-dbus.c, ↵Sven Eden2017-07-20
| | | | so elogind-action.c is not needed any more.
* Prep v233.3: Add a traget 'cccc' to Makefile.amSven Eden2017-07-20
|
* Prep v233.3: Add missing documentation for API functions exported by ↵Sven Eden2017-07-20
| | | | elogind. (unreviewed)
* Prep v233.3: Add all possible coverage tests for elogindSven Eden2017-07-20
|
* Version 233.2 ReleaseSven Eden2017-07-18
|
* Version 233.1 ReleaseSven Eden2017-07-17
|
* Prep v233: Add missing files from upstream and rename formats-util.[hc]Sven Eden2017-07-17
| | | | | | | | | | | | | | | | Some functionality has been exported to the following files: - src/basic/env-util.[hc] - src/basic/exec-util.[hc] - src/shared/nsflags.[hc] The content of these files is now needed in elogind, and the files have been added as-is. Cleanup is done later. Further the header src/basic/formats-util.h has been renamed to src/basic/format-util.h
* Prep v233: Update root build files to upstream versionSven Eden2017-07-17
|
* core: make SYSTEMD_CGROUP_CONTROLLER a special stringTejun Heo2017-07-17
| | | | | | | | | | | | | | | | SYSTEMD_CGROUP_CONTROLLER is currently defined as "name=elogind" which cgroup utility functions interpret as a named cgroup hierarchy with the specified named. With the planned cgroup hybrid mode changes, SYSTEMD_CGROUP_CONTROLLER would map to different hierarchy names. This patch makes SYSTEMD_CGROUP_CONTROLLER a special string "_elogind" which is substituted to "name=elogind" by the cgroup utility functions. This allows the callers to address the elogind hierarchy without actually specifying the hierarchy name allowing the cgroup utility functions to map it to whatever is appropriate. Note that SYSTEMD_CGROUP_CONTROLLER was already special on full unified cgroup hierarchy even before this patch.
* core: make hybrid cgroup unified mode keep compat /sys/fs/cgroup/elogind ↵Tejun Heo2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) ReleaseSven Eden2017-07-07
|
* Version 232.1 ReleaseSven Eden2017-07-05
|
* Prep v232: Update root and build files to upstream v232 tag.Sven Eden2017-07-05
|
* Version 231.4 ReleaseSven Eden2017-07-03
|
* Version v231.3Sven Eden2017-06-29
|
* Prep v231.3: libelogind-shared.so does not need to be installed.Sven Eden2017-06-29
|
* Prep v231.3: libelogind-internal does not need to link against libresolvSven Eden2017-06-29
|
* Prep v231.2: Move elogind specific code in logind-dbus.c to elogind-dbus.cSven Eden2017-06-28
|
* Prep v231.2: pam_elogind must be linked against libshared, not ↵Sven Eden2017-06-19
| | | | libelogind-shared.
* Prep v231.2: Apply some minor style fixesSven Eden2017-06-19
|
* Prep v231: Add new files to Makefile.am and Code::Blocks project file.Sven Eden2017-06-16
|
* Prep v231: Update build root files to upstreamSven Eden2017-06-16
|
* Prep v229.5: Move parse-printf-format.? back to src/basic it is needed there.Sven Eden2017-06-16
|
* Prep v230: Add utmp support to make wall message to work properly.Sven Eden2017-06-16
|
* Prep v230: Move musl_missing and parse-printf-format to libshared.Sven Eden2017-06-16
|
* Prep v230: Remove possibly existing header symlinks before creating new ones.Sven Eden2017-06-16
|
* Prep v230: Move installed headersSven Eden2017-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The headers are now installed into /usr/include/elogind/systemd and the pkg-config file now returns -I/usr/include/elogind for CFLAGS. Further /usr/include/elogind contains symlinks to the headers, so existing packages already including <elogind/sd-login.h> will not be broken. This way no software has to change their include lines anywhere to support elogind any more. All they have to do is either add LIBSYSTEMD_CFLAGS or LIBELOGIND_CFLAGS from pkg-config and be done with it. So most patching can be avoided, just some configure adaption is needed. However, this can lead to systemd/elogind bug confusion if there is anything mixed up on a system that shouldn't. Downstreams, chose any of the two ways to your own discretion! See https://bugs.freedesktop.org/show_bug.cgi?id=101251
* Prep v230: Apply missing upstream fixes and updates (1/8) root build files.Sven Eden2017-06-16
|
* Prep v229: Consolidate system sleep functions.Sven Eden2017-05-22
| | | | | | Move sleep relevant functions from shared/sleep-config.* and login/logind-action.* into login/logind-sleep.* - they aren't used outside of elogind anyway.
* Prep v229: Update and fix man page building (Makefile-man.am)Sven Eden2017-05-18
|
* Prep v229: Update core build files to upstreamSven Eden2017-05-17
|
* Prep v228: Condense elogind source masks (5/5)Sven Eden2017-04-26
|
* Prep v228: Removed utmp bits. elogind does not support utmp-wtmp.Sven Eden2017-04-26
|
* Prep v228: Add remaining updates from upstream (1/3)Sven Eden2017-04-26
| | | | | | | | The util.[hc] files have been stripped of a lot of functions, that got sorted into various new files representing the type of utility. This commit adds the missing files.
* Prep v228: Added missing src/basic/unaligned.h from upstreamSven Eden2017-04-26
|
* Prep v228: Update base files to upstream version.Sven Eden2017-04-26
|
* Prep v227: Removed src/shared/cgroup-show.[hc], it is not needed.Sven Eden2017-04-10
|
* Update Build filesSven Eden2017-03-29
|
* pam: elogind-user - call selinux moduleKay Sievers2017-03-29
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1262933
* Rename ELOGIND_CGROUP_CONTROLLER back to SYSTEMD_CGROUP_CONTROLLERSven Eden2017-03-14
| | | | | Although it is nice to have it read ELOGIND instead of SYSTEMD, all diffs just show too many irrelevant (false) positives.
* Add mounting of a name=elogind cgroup if no init controller is found.Sven Eden2017-03-14
| | | | | This is done for systems, which init systems are no cgroup controllers. One example is runit on Void Linux.
* Add support for building elogind against musl libcSven Eden2017-03-14
| | | | | | | | | | | | | | | | | | | * Check whether printf.h is available and define/undef HAVE_PRINTF_H accordingly. * Added src/shared/parse-printf-format.[hc] by Emil Renner Berthing <systemd@esmil.dk> that provides parse_printf_format() if printf.h is unavailable * Added src/basic/musl_missing.h by Juergen Buchmueller <pullmoll@t-online.de> that implements glibc functions missing in musl libc as macros. * Extended src/basic/musl_missing.h and added src/basic/musl_missing.c providing - program_invocation_name - program_invocation_short_name and - elogind_set_program_name() to set the two where appropriate. * Added calls to elogind_set_program_name() to all main() functions where needed. * A few other fixes to work nicely with musl libc.
* Fixed gawk script for git-tar target.Sven Eden2017-03-14
| | | | | | | | | | | | | | | | | | | | | | | The previous variant was nice and sleek. But unfortunately, there are constructs like: #if 0 (... old code ...) #else (... alternative code for elogind ...) #endif // 0 These fragments couldn't be handled by the old code, but can by the new one. To make this work, the precompiler macros must be set like shown above. Apart from that, all lines like: /// Any doxygen one-line-comments with elogind in it are removed are removed, too. Please note the three slashes. And finally, all commented out #include directives are removed as well.