Yu Watanabe
33d12153da
basic: introduce *_to_string_with_check() functions
...
They are used in later commits.
2018-01-02 02:23:24 +09:00
Lennart Poettering
7c78959fc2
signal-util: use a slightly less likely to conflict variable name instead of 't'
2017-11-20 16:43:15 +01:00
Zbigniew Jędrzejewski-Szmek
53e1b68390
Add SPDX license identifiers to source files under the LGPL
...
This follows what the kernel is doing, c.f.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5fd54ace4721fc5ce2bb5aef6318fcf17f421460 .
2017-11-19 19:08:15 +01:00
Lennart Poettering
6eb7c172b5
tree-wide: add new SIGNAL_VALID() macro-like function that validates signal numbers
...
And port all code over to use it.
2016-04-12 13:43:32 +02:00
Thomas Hindoe Paaboel Andersen
7c9337dae8
basic: mark unused variable as such
2016-02-23 20:40:51 +01:00
Daniel Mack
b26fa1a2fb
tree-wide: remove Emacs lines from all files
...
This should be handled fine now by .dir-locals.el, so need to carry that
stuff in every file.
2016-02-10 13:41:57 +01:00
Lennart Poettering
0c5eb0562a
nss: block various signals while running NSS lookups
...
Let's make sure our poll() calls don't get interrupted where they shouldn't (SIGALRM, ...), but allow them to be
interrupted where they should (SIGINT, ...).
Fixes #1965
2016-01-27 02:22:58 +01:00
Lennart Poettering
6bedfcbb29
util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]
2015-10-27 13:25:55 +01:00
Lennart Poettering
72c0a2c255
everywhere: port everything to sigprocmask_many() and friends
...
This ports a lot of manual code over to sigprocmask_many() and friends.
Also, we now consistly check for sigprocmask() failures with
assert_se(), since the call cannot realistically fail unless there's a
programming error.
Also encloses a few sd_event_add_signal() calls with (void) when we
ignore the return values for it knowingly.
2015-06-15 20:13:23 +02:00
Kay Sievers
a095315b3c
build-sys: split internal basic/ library from shared/
...
basic/ can be used by everything
cannot use anything outside of basic/
libsystemd/ can use basic/
cannot use shared/
shared/ can use libsystemd/
2015-06-11 10:52:46 +02:00