summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Yu Watanabe [Sat, 22 Dec 2018 18:06:47 +0000 (03:06 +0900)]
sd-device: fix segfault when error occurs in device_new_from_{nulstr,strv}()
As devpath may not be set yet.
When debug logging is enabled, log_device_*() calls
sd_device_get_sysname(). So, we should not assume that devpath is always
set.
Fixes #11258.
(cherry picked from commit
18fee12a2d489378a2a9b647db0d0eb8c43f5362)
(cherry picked from commit
9ae73a6273461361eef7e83d48aadee111d6616e)
Gbp-Pq: Name sd-device-fix-segfault-when-error-occurs-in-device_new_fr.patch
Yu Watanabe [Tue, 25 Dec 2018 03:56:48 +0000 (12:56 +0900)]
libudev-util: make util_replace_whitespace() read only len characters
This effectively reverts
df8ba4fa0e8be1ff7899d08a4b6be0196c8405a0.
Fixes #11264.
(cherry picked from commit
577ab71c58d36bc8577d15f172a306c9c05cd2f4)
(cherry picked from commit
c3712308fc090116e388f395e4a8bb0bd8446ea6)
Gbp-Pq: Name libudev-util-make-util_replace_whitespace-read-only-len-c.patch
YunQiang Su [Tue, 25 Dec 2018 11:01:17 +0000 (19:01 +0800)]
Pass separate dev_t var to device_path_parse_major_minor
MIPS/O32's st_rdev member of struct stat is unsigned long, which
is 32bit, while dev_t is defined as 64bit, which make some problems
in device_path_parse_major_minor.
Don't pass st.st_rdev, st_mode to device_path_parse_major_minor,
while pass 2 seperate variables. The result of stat is alos copied
out into these 2 variables. Fixes: #11247
(cherry picked from commit
f5855697aa19fb92637e72ab02e4623abe77f288)
(cherry picked from commit
a0d4edf0e7fe6674c44258a73e0722494d659976)
Gbp-Pq: Name Pass-separate-dev_t-var-to-device_path_parse_major_minor.patch
Zbigniew Jędrzejewski-Szmek [Fri, 21 Dec 2018 21:49:53 +0000 (22:49 +0100)]
test-json: check absolute and relative difference in floating point test
The test fails under valgrind, so there was an exception for valgrind.
Unfortunately that check only works when valgrind-devel headers are
available during build. But it is possible to have just valgrind installed,
or simply install it after the build, and then "valgrind test-json" would
fail.
It also seems that even without valgrind, this fails on some arm32 CPUs.
Let's do the usual-style test for absolute and relative differences.
(cherry picked from commit
aa70783f55b369521b94e0985e84bbdaae16b174)
(cherry picked from commit
88938bf95b850849d075d7a6ebe37bb1d9780efe)
Gbp-Pq: Name test-json-check-absolute-and-relative-difference-in-float.patch
Alex Mayer [Wed, 2 Jan 2019 17:53:47 +0000 (12:53 -0500)]
Docs: Add Missing Space Between Words
(cherry picked from commit
8d7fac92f07cc662e51dcda7c9f3a322454895c7)
(cherry picked from commit
e60c80a908a2c8c6036e41d083134c9e095aa268)
Gbp-Pq: Name Docs-Add-Missing-Space-Between-Words.patch
Yu Watanabe [Sun, 30 Dec 2018 12:13:43 +0000 (21:13 +0900)]
ask-password-api: do not call ask_password_keyring() if keyname == NULL
Fixes #11295.
(cherry picked from commit
1f00998c8739ac6adc2b7623cc1e5a8f67d95d7d)
(cherry picked from commit
095a38313daf043413c863634378c8ea7e5f6a09)
Gbp-Pq: Name ask-password-api-do-not-call-ask_password_keyring-if-keyn.patch
Yu Watanabe [Tue, 25 Dec 2018 15:36:55 +0000 (00:36 +0900)]
udev-event: do not read stdout or stderr if the pipefd is not created
Fixes #11255.
(cherry picked from commit
adeb26c1affd09138bb96a9e25b795d146e64c97)
(cherry picked from commit
32a11a27b69031240beea38260d93e034ea33036)
Gbp-Pq: Name udev-event-do-not-read-stdout-or-stderr-if-the-pipefd-is-.patch
Yu Watanabe [Tue, 25 Dec 2018 04:10:18 +0000 (13:10 +0900)]
switch-root: fix error message
Fixes #11261.
(cherry picked from commit
a5c67ccc575e6ebf12710cb7df84f65a51c5dc58)
(cherry picked from commit
ebcd154e1df434865d2752efdccbc7737bb28029)
Gbp-Pq: Name switch-root-fix-error-message.patch
Evgeny Vereshchagin [Sun, 23 Dec 2018 14:01:03 +0000 (15:01 +0100)]
core: free lines after reading them
Closes https://github.com/systemd/systemd/issues/11251.
(cherry picked from commit
7334ade4a7e103b1a01d1c8fe1ea7c7a854a1c31)
(cherry picked from commit
5fa79ab2eb900fc58824060e3dcf9508276c9047)
Gbp-Pq: Name core-free-lines-after-reading-them.patch
rogerjames99 [Fri, 28 Dec 2018 06:34:43 +0000 (06:34 +0000)]
Do not start server if it is already runnning (#11245)
(cherry picked from commit
7da7340afdd4760fb2dd9d000105c324a77aff4b)
Gbp-Pq: Name Do-not-start-server-if-it-is-already-runnning-11245.patch
Michael Biebl [Sat, 12 Jan 2019 20:49:44 +0000 (20:49 +0000)]
systemd (240-4) unstable; urgency=medium
[ Benjamin Drung ]
* Fix shellcheck issues in initramfs-tools scripts
[ Michael Biebl ]
* Import patches from v240-stable branch (up to
f02b5472c6)
- Fixes a problem in logind closing the controlling terminal when using
startx. (Closes: #918927)
- Fixes various journald vulnerabilities via attacker controlled alloca.
(CVE-2018-16864, CVE-2018-16865, Closes: #918841, Closes: #918848)
* sd-device-monitor: Fix ordering of setting buffer size.
Fixes an issue with uevents not being processed properly during coldplug
stage and some kernel modules not being loaded via "udevadm trigger".
(Closes: #917607)
* meson: Stop setting -fPIE globally.
Setting -fPIE globally can lead to miscompilations on certain
architectures. Instead use the b_pie=true build option, which was
introduced in meson 0.49. Bump the Build-Depends accordingly.
(Closes: #909396)
[dgit import unpatched systemd 240-4]
Michael Biebl [Sat, 12 Jan 2019 20:49:44 +0000 (20:49 +0000)]
Import systemd_240-4.debian.tar.xz
[dgit import tarball systemd 240-4 systemd_240-4.debian.tar.xz]
Michael Biebl [Sat, 22 Dec 2018 15:01:43 +0000 (15:01 +0000)]
Import systemd_240.orig.tar.gz
[dgit import orig systemd_240.orig.tar.gz]