summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Prep v228: Ignore local Code::Blocks Layout filesSven Eden2017-04-26
|
* Prep v228: Silence uninitialized usage warnings.Sven Eden2017-04-26
|
* Prep v228: Full diff to master revealed more functions that are unused.Sven Eden2017-04-26
|
* Prep v228: With most functions split out, clean up the enormous includes ↵Sven Eden2017-04-26
| | | | list in util.c
* Prep v228: Remove left-over BTRFS bits.Sven Eden2017-04-26
|
* Prep v228: Revert d882e06 on Makefile-man.amSven Eden2017-04-26
|
* Prep v228: Condense elogind source masks (5/5)Sven Eden2017-04-26
|
* Prep v228: Condense elogind source masks (4/5)Sven Eden2017-04-26
|
* Prep v228: Condense elogind source masks (3/5)Sven Eden2017-04-26
|
* Prep v228: Condense elogind source masks (2/5)Sven Eden2017-04-26
|
* Prep v228: Condense elogind source masks (1/5)Sven Eden2017-04-26
| | | | | | | | | | | | Although having a two line mask like /// UNNEEDED by elogind #if 0 it is much more easier to read (and patch!) if those two lines were condense into a one-line mask start like #if 0 /// UNNEEDED by elogind
* Prep v228: Substitute declaration masks (4/4)Sven Eden2017-04-26
|
* Prep v228: Substitute declaration masks (3/4)Sven Eden2017-04-26
|
* Prep v228: Substitute declaration masks (2/4)Sven Eden2017-04-26
|
* Prep v228: Substitute declaration masks (1/4)Sven Eden2017-04-26
| | | | | | | | | | | | | | | | | Although it looks very ugly, substitute all declaration masks of the form: // UNNEEDED type foo(...); with: /// UNNEEDED by elogind #if 0 type foo(...); #endif // 0 to make future merging of upstream pathes easier, as the relevant lines themselves are not changed any more.
* Prep v228: Removed EFI bits. elogind can not support EFI at all.Sven Eden2017-04-26
| | | | | | | Rebooting to firmware and such things are official init system stuff. The added system commands to loginctl like poweroff and reboot are a convenience, as any user can do it anyway using 'sudo shutdown' and similar commands.
* Prep v228: Removed utmp bits. elogind does not support utmp-wtmp.Sven Eden2017-04-26
|
* Prep v228: Update Code::Blocks Project file to dev_v228 branch contents.Sven Eden2017-04-26
|
* Prep v228: src/shared/cgroup-show.[hc] is no longer needed.Sven Eden2017-04-26
|
* Prep v228: Clean up the new src/basic/*-util-[hc] files:Sven Eden2017-04-26
| | | | | | | | | | | | | - src/basic/capability-util.[hc] - src/basic/cgroup-util.[hc] - src/basic/fd-util.[hc] - src/basic/fs-util.[hc] - src/basic/memfd-util.[hc] - src/basic/path-util.[hc] - src/basic/socket-util.[hc] - src/basic/terminal-util.[hc] - src/basic/user-util.[hc] - src/basic/xattr-util.[hc]
* Prep v228: Apply more cosmetic changes found in upstream.Sven Eden2017-04-26
|
* Prep v228: Add remaining updates from upstream (3/3)Sven Eden2017-04-26
| | | | | Apply remaining fixes and the performed move of utility functions into their own foo-util.[hc] files on the rest of elogind.
* Prep v228: Add remaining updates from upstream (2/3)Sven Eden2017-04-26
| | | | | Apply remaining fixes and the performed move of utility functions into their own foo-util.[hc] files on libbasic.
* 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 po/ko.po to upstream version.Sven Eden2017-04-26
|
* Prep v228: Update base files to upstream version.Sven Eden2017-04-26
|
* core: don't generate warnings when write access to the cgroup fs fails in ↵Lennart Poettering2017-04-26
| | | | | | --user due to EACCES After all, in the classic hierarchy that's pretty much the default case.
* tree-wide: add missing includesThomas Hindoe Paaboel Andersen2017-04-26
| | | | Add a few includes that we rely on to be include already.
* login: ignore JobRemoved of old jobsDavid Herrmann2017-04-26
| | | | | | If we requeue jobs, we are no longer interested in old jobs. Hence, we better ignore any JobRemoved signals for old jobs and concentrate on our replacements.
* login: make sure to replace existing unitsDavid Herrmann2017-04-26
| | | | | | | When queuing unit jobs, we should rather replace existing units than fail. This is especially important when we queued a user-shutdown and a new login is encountered. In this case, we better raplce the shutdown jobs. elogind takes care of everything else.
* siphash24: fix memory alignmentDaniel Mack2017-04-26
| | | | | | | Use unaligned_read_le64() to access input buffer when reading complete 64-bit words. This should fix memory traps on platforms with strict aliasing.
* logind: don't assert if the slice is missingLennart Poettering2017-04-26
| | | | | After all, we don't actually really need the slice to work, it's just nice to have it.
* conf-parser: use extract_first_wordDavid Reynolds2017-04-26
|
* virt: make sure that we detect unknown container managers as ↵Lennart Poettering2017-04-26
| | | | | | | | VIRTUALIZATION_CONTAINER_OTHER If we don't know a container manager, we should consider it as "other" rather than as no container manager at all, to provide a somwhat useful upgrade path.
* log: whitespace style fixMichal Schmidt2017-04-26
|
* detect-virt: detect in best-heuristic orderAndrew Jones2017-04-26
| | | | | | | | afaict, this will fix a regression caused by commit 75f86906c5. Where we used to report "kvm" before that patch, without this patch, we would only report "qemu". The reason is because cpuid detection must come before dmi detection. Also, both can safely come before other xen heuristics. Untested.
* detect-virt: dmi: look for KVMAndrew Jones2017-04-26
| | | | | | | | | | | | Some guests (ARM, AArch64, x86-RHEL) have 'KVM' in the product name. Look for that first in order to more precisely report "kvm" when detecting a QEMU/KVM guest. Without this patch we report "qemu", even if KVM acceleration is in use on ARM/AArch64 guests. I've only tested a backported version of this and the previous patch on an AArch64 guest (which worked). Of course it would be nice to get regression testing on all guest types that depend on dmi done.
* arm/aarch64: detect-virt: check dmiAndrew Jones2017-04-26
| | | | | | | | ARM/AArch64 guests now have SMBIOS tables populated (when boot with a late enough QEMU and a late enough AAVMF is used as the bootloader). Furthermore, when booting ARM/AArch64 guests with ACPI, the DT detection obviously no longer works, so we need dmi detection.
* sd-daemon: explicitly filter out -1 when parsing watchdog timeoutLennart Poettering2017-04-26
| | | | | | We already filter out 0, and as -1 is usually special (meaning infinity, as in USEC_INFINITY) we should better not accept it either. Better safe than sorry...
* sd-daemon: fix potential LISTEN_FDS overflow in sd_listen_fds()Vito Caputo2017-04-26
|
* man: Drop "internally," which is misleadingDavid Strauss2017-04-26
| | | | The existing text misleads readers into thinking how the notify socket protocol is "internals" and that they can only use the functions. However, the socket is part of the Interface Stability Promise. So, we should drop "internally" from the description so the man page both indicates both how the functions work and how one would talk to the socket directly.
* sd-daemon: verify NOTIFY_SOCKET path lengthLennart Poettering2017-04-26
|
* process-util: make some minor corrections to PID live detectionLennart Poettering2017-04-26
|
* path-util: minor coding style fixLennart Poettering2017-04-26
| | | | | | We usually avoid relying on C's degrade-to-boolean functionality when comparing numerical variables with 0. We use it only for pointers and actual booleans.
* util-lib: move formats-util.h from shared/ to basic/Lennart Poettering2017-04-26
| | | | | It's only a header file, definining format strings for basic system types, hence it should be in src/basic/, not src/shared/.
* logind: minor clean-upsLennart Poettering2017-04-26
|
* basic: parse_timestamp UTC and fractional seconds supportHristo Venev2017-04-26
|
* login: suspend - be a bit more explicit when loggingTom Gundersen2017-04-26
| | | | | | | | | | When the Suspend method is called, the only log message we write (unless debugging is enabled) is "Operation finished.". This is not very helpful when trying to figure out what is going on, so add what operation we are talking about to the message: "Operation 'sleep' finished.". Hat tip to Daniel Aleksandersen for pointing this out.
* sd-daemon: wipe out memory before using CMSG_NXTHDR()Daniel Mack2017-04-26
| | | | | | | | CMSG_NXTHDR() checks for cmsg->cmsg_len *after* it increased the pointer. While this makes sense for parsing received messages, that's a pitfall for code crafting messages with this macro. Wipe out the allocated memory to fix this.