summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* generators: introduce a common implementation for the log setup boilerplateLennart Poettering2018-11-2013-44/+26
|
* libudev: coding style fixesYu Watanabe2018-11-205-17/+17
|
* libudev-list: move libudev-list related definitions to libudev-list-internal.hYu Watanabe2018-11-2025-142/+114
| | | | | This also rename libudev-private.h to libudev-util.h, and cleanups several unnecessary headers from udev.h and libudev-util.h
* libudev: drop prototypes for nonexistent functionsYu Watanabe2018-11-201-2/+0
|
* libudev-monitor: drop unused private functionsYu Watanabe2018-11-202-63/+25
|
* libudev-device: drop unused private functionsYu Watanabe2018-11-203-410/+0
|
* udev: move definition of READ_END and WRITE_END from libudev-private.h to udev.hYu Watanabe2018-11-202-4/+4
|
* Merge pull request #10847 from evverx/journald-stream-fuzzerYu Watanabe2018-11-205-5/+52
|\ | | | | tests: add a fuzzer for journald streams
| * tests: add a fuzzer for journald streamsEvgeny Vereshchagin2018-11-205-5/+52
| |
* | Merge pull request #10835 from poettering/transient-env-fixYu Watanabe2018-11-203-5/+8
|\ \ | | | | | | fix flushing out of transient env vars from PID1's Manager object
| * | main: when reloading PID 1 let's reset the default environmentLennart Poettering2018-11-193-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we keep collecting stuff from env generators, and we really shouldn't. This was working properly on reexec but not on reload, as for reexec we would always start fresh, but for reload would reuse the Manager object and hence its default environment set. Fixes: #10671
| * | manager: log on two OOM occasionsLennart Poettering2018-11-191-2/+2
| | |
* | | bootspec: introduce SYSTEMD_ESP_PATH for overriding where to look for the ↵Lennart Poettering2018-11-201-0/+13
| | | | | | | | | | | | ESP (#10834)
* | | process-util: check for correct kill return value (#10841)David Leeds2018-11-201-2/+2
| | | | | | | | | Code was not doing a wait() after kill() due to checking for a return value > 0, and was leaving zombie processes. This affected things like sd-bus unixexec connections.
* | | tree-wide: use __ prefixed gcc attributes (#10843)Lennart Poettering2018-11-209-49/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggest here: https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax "You may optionally specify attribute names with ‘__’ preceding and following the name. This allows you to use them in header files without being concerned about a possible macro of the same name. For example, you may use the attribute name __noreturn__ instead of noreturn. "
* | | Merge pull request #10845 from poettering/static-destructYu Watanabe2018-11-2037-38/+127
|\ \ \ | | | | | | | | RFC: introduce automatic destructors for static variables
| * | | debug-generator: port over to using static destructorsLennart Poettering2018-11-191-13/+7
| | | |
| * | | debug-generator: port over to DEFINE_MAIN_FUNCTION()Lennart Poettering2018-11-191-3/+5
| | | |
| * | | main-func: automatically call static destructors from main-func.h macrosLennart Poettering2018-11-191-0/+4
| | | |
| * | | util: add set of macros for declaring _cleanup_-style destructors for static ↵Lennart Poettering2018-11-192-0/+52
| | | | | | | | | | | | | | | | variables
| * | | util-lib: move main() definition macros to its own header fileLennart Poettering2018-11-1935-23/+60
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This way, we can extend the macro a bit with stuff pulled in from other headers without this affecting everything which pulls in macro.h, which is one of our most basic headers. This is just refactoring, no change in behaviour, in prepartion for later changes.
* | | tests: always use the right vtable wrapper callsLennart Poettering2018-11-202-10/+10
| | | | | | | | | | | | Prompted by https://github.com/systemd/systemd/pull/10836#discussion_r234598868
* | | test-execute: fix killing of unit processesLennart Poettering2018-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's use the correct wrapper for calling unit vtable functions. Let's make sure we always use the right wrappers, and never bypass them needlessly. Moreover use SIGKILL rather than "9" as signal name. Let's not be needlessly cryptic. Follow-up for: f7f8e8cbb953686c520969a66a9718675a972af5
* | | meson: order source files alphabeticallyLennart Poettering2018-11-191-2/+2
|/ /
* | Merge pull request #10811 from keszybz/define-main-through-macroLennart Poettering2018-11-1932-701/+472
|\ \ | | | | | | Define main through macro
| * | volatile-root: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-22/+12
| | |
| * | tty-ask-password-agent: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-21/+18
| | |
| * | sysv-generator: configure logging before use and define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-21/+16
| | |
| * | stdio-bridge: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-94/+48
| | |
| * | sleep: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-9/+8
| | |
| * | remount-fs: configure logging before use and define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-44/+31
| | |
| * | random-seed: configure logging before use and define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-46/+27
| | |
| * | quotacheck: configure logging before use and define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-11/+12
| | |
| * | portabled: add missing STOPPING=1 notificationZbigniew Jędrzejewski-Szmek2018-11-171-0/+3
| | |
| * | portabled: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-16/+9
| | |
| * | path: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-6/+7
| | |
| * | makefs: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-19/+14
| | |
| * | notify: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-40/+25
| | |
| * | machined: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-15/+9
| | |
| * | user-runtime-dir: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-14/+11
| | |
| * | logind: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-19/+11
| | |
| * | inhibit: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-21/+12
| | |
| * | cat: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-15/+10
| | |
| * | import: define mains through macroZbigniew Jędrzejewski-Szmek2018-11-174-35/+25
| | |
| * | id128: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-6/+5
| | |
| * | hwdb: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-6/+5
| | |
| * | hostnamectl: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-10/+7
| | |
| * | fsck: configure logging before use and define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-60/+36
| | | | | | | | | | | | | | | | | | | | | There's a slight change in logic: before, when rebooting the machine, we could also request quotacheck (by touching /run/systemd/quotacheck) if the fsck helper set FSCK_ERROR_CORRECTED. This is just a race, and doesn't matter much in practice.
| * | escape: use free_and_replaceZbigniew Jędrzejewski-Szmek2018-11-171-5/+3
| | |
| * | escape: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-50/+30
| | |