summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dns-cache.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-20libudev: coding style fixesYu Watanabe5-17/+17
2018-11-20libudev-list: move libudev-list related definitions to libudev-list-internal.hYu Watanabe25-142/+114
This also rename libudev-private.h to libudev-util.h, and cleanups several unnecessary headers from udev.h and libudev-util.h
2018-11-20libudev: drop prototypes for nonexistent functionsYu Watanabe1-2/+0
2018-11-20libudev-monitor: drop unused private functionsYu Watanabe2-63/+25
2018-11-20libudev-device: drop unused private functionsYu Watanabe3-410/+0
2018-11-20udev: move definition of READ_END and WRITE_END from libudev-private.h to udev.hYu Watanabe2-4/+4
2018-11-20zsh-completion: Add support for set-property (#10322)Xuanwo1-1/+2
2018-11-20bootspec: introduce SYSTEMD_ESP_PATH for overriding where to look for the ↵Lennart Poettering2-0/+19
ESP (#10834)
2018-11-20process-util: check for correct kill return value (#10841)David Leeds1-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.
2018-11-20tree-wide: use __ prefixed gcc attributes (#10843)Lennart Poettering9-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. "
2018-11-20tests: always use the right vtable wrapper callsLennart Poettering2-10/+10
Prompted by https://github.com/systemd/systemd/pull/10836#discussion_r234598868
2018-11-20tests: add a fuzzer for journald streamsEvgeny Vereshchagin6-5/+60
2018-11-19test-execute: fix killing of unit processesLennart Poettering1-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
2018-11-19doc: document the boot menu entry identifier vocabularyLennart Poettering1-0/+38
The existing text already said "See below regarding a recommended vocabulary for boot loader entry identifiers.", but the section for it was still missing. Let's fill in the missing bits, and describe basic suggested rules for the boot menu entry identifier vocabulary, in particular how to identify Windows and MacOS X installations, and how to name automatic entries vs. explicitly configured ones. This basically follows the logic implemented in sd-boot these days.
2018-11-19meson: order source files alphabeticallyLennart Poettering1-2/+2
2018-11-19debug-generator: port over to using static destructorsLennart Poettering1-13/+7
2018-11-19debug-generator: port over to DEFINE_MAIN_FUNCTION()Lennart Poettering1-3/+5
2018-11-19main-func: automatically call static destructors from main-func.h macrosLennart Poettering1-0/+4
2018-11-19util: add set of macros for declaring _cleanup_-style destructors for static ↵Lennart Poettering2-0/+52
variables
2018-11-19util-lib: move main() definition macros to its own header fileLennart Poettering35-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.
2018-11-19pam_systemd: suppress LOG_DEBUG log messages if debugging is offLennart Poettering1-2/+4
In the PAM module we need to suppress LOG_DEBUG messages manually, if debug logging is not on, as PAM won't do this for us. We did this correctly for most log messages already, but two were missing. Let's fix those too. Fixes: #10822
2018-11-19main: when reloading PID 1 let's reset the default environmentLennart Poettering3-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
2018-11-19manager: log on two OOM occasionsLennart Poettering1-2/+2
2018-11-19test: kill all processes launched by test-execute before exitingEvgeny Vereshchagin1-0/+3
As was shown in https://github.com/systemd/systemd/issues/10696#issuecomment-439613204, currently `meson` waits for 1080 seconds (which is three times the global timeout) for the test to fail completely even though it takes just two minutes for it to really fail. This happens because the test itself leaves the services it has launched behind, which, in turn, makes meson think that the test is still in progress. KILL_ALL with SIGKILL should make the issue go away.
2018-11-19catalog: update Polish translationPiotr Drąg1-20/+52
2018-11-19test: let the shell find "touch" instead of hard-coded "/bin/touch"Xi Ruoyao1-1/+1
2018-11-18basic/missing: drop _ETHTOOL_LINK_MODE_MAXZbigniew Jędrzejewski-Szmek2-8/+1
It was only used in one place, where we don't actually need it, and it is too easy to forget to update it when adding new items to the table. Let's just drop it.
2018-11-18udev: use an "inline" array instead of allocating for advertise modeZbigniew Jędrzejewski-Szmek3-23/+12
The code is a bit shorter and we don't allocate the uint32_t[127] array.
2018-11-18basic/util: import memeqzero from casyncZbigniew Jędrzejewski-Szmek3-0/+41
2018-11-18cgroup v2: DefaultCPUAccounting=yes if CPU controller isn't requiredChris Down2-5/+14
We now don't enable the CPU controller just for CPU accounting if we are on 4.15+ and using pure unified hierarchy, as this is provided externally to the CPU controller. This makes CPUAccounting=yes essentially free, so enabling it by default when it's cheap seems like a good idea.
2018-11-18cgtop: Still try to get CPU statistics if controller-freeChris Down1-1/+1
If CPU accounting is cheap, no controller necessarily needs to be enabled here for us to be able to read statistics.
2018-11-18cgroup v2: Don't require CPU controller for CPU accounting in 4.15+Chris Down6-32/+105
systemd only uses functions that are as of Linux 4.15+ provided externally to the CPU controller (currently usage_usec), so if we have a new enough kernel, we don't need to set CGROUP_MASK_CPU for CPUAccounting=true as the CPU controller does not need to necessarily be enabled in this case. Part of this patch is modelled on an earlier patch by Ryutaroh Matsumoto (see PR #9665).
2018-11-18test-util: modernizeZbigniew Jędrzejewski-Szmek1-2/+28
2018-11-18ethtool: drop NetDevAdvertiseYu Watanabe4-52/+81
Fixes #10807.
2018-11-18missing: add ETHTOOL_LINK_MODE_* and struct ethtool_link_settingsYu Watanabe2-26/+159
2018-11-17test: also tests enumerating subsystemsYu Watanabe1-41/+57
2018-11-17udevd: replace udev_device in struct event by sd_deviceYu Watanabe1-66/+130
2018-11-17udevd: update several log messagesYu Watanabe1-50/+49
2018-11-17udevd: decrease indentationYu Watanabe1-10/+6
2018-11-17udevd: rename event sources in struct eventYu Watanabe1-6/+7
2018-11-17udevd: capitalize log messages in on_sigchld()Yu Watanabe1-9/+13
2018-11-17udevd: also use sd_device_monitor_start() in worker_main()Yu Watanabe1-67/+53
2018-11-17udevd: use sd_device_monitor_start() in manager_new()Yu Watanabe1-16/+9
2018-11-17udevd: replace udev_monitor by sd_device_monitorYu Watanabe1-51/+62
2018-11-17udevd: use safe_fork() to spawn worker processYu Watanabe1-27/+20
2018-11-17udevd: make worker_process_device() take sd_device instead of udev_deviceYu Watanabe1-8/+17
2018-11-17udevd: make worker_lock_block_device() take sd_device instead of udev_deviceYu Watanabe1-16/+38
Also adds many debug logs.
2018-11-17udevd: split worker_spawn() and manager_free() in small piecesYu Watanabe1-171/+187
2018-11-17tests: introduce dummy_server_init and use it in all journald fuzzersEvgeny Vereshchagin5-40/+32
2018-11-17travis: make the ASan & UBsan job a little bit stricterEvgeny Vereshchagin2-1/+7