systemd.git
6 years agotest: add test for flush_accept()
Lennart Poettering [Thu, 18 Apr 2019 13:16:18 +0000 (15:16 +0200)]
test: add test for flush_accept()

Fixes: #12335
(cherry picked from commit 5b116c37e14582ee6550c9157445d6bbd4ce1813)

Gbp-Pq: Name test-add-test-for-flush_accept.patch

6 years agosocket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPP
Lennart Poettering [Thu, 18 Apr 2019 13:13:54 +0000 (15:13 +0200)]
socket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPP

So apparently there are two reasons why accept() can return EOPNOTSUPP:
because the socket is not a listening stream socket (or similar), or
because the incoming TCP connection for some reason wasn't acceptable to
the host. THe latter should be a transient error, as suggested on
accept(2). The former however should be considered fatal for
flush_accept(). Let's fix this by explicitly checking whether the socket
is a listening socket beforehand.

(cherry picked from commit f3d75364fbebf2ddb6393e54db5e10b6f6234e14)

Gbp-Pq: Name socket-util-make-sure-flush_accept-doesn-t-hang-on-unexpe.patch

6 years agosystemd (242-7) unstable; urgency=medium
Michael Biebl [Wed, 4 Sep 2019 17:34:17 +0000 (18:34 +0100)]
systemd (242-7) unstable; urgency=medium

  * sleep: properly pass verb to sleep script
  * core: factor root_directory application out of apply_working_directory.
    Fixes RootDirectory not working when used in combination with User.
    (Closes: #939408)
  * shared/bus-util: drop trusted annotation from
    bus_open_system_watch_bind_with_description().
    This ensures that access controls on systemd-resolved's D-Bus interface
    are enforced properly.
    (CVE-2019-15718, Closes: #939353)

[dgit import unpatched systemd 242-7]

6 years agoImport systemd_242-7.debian.tar.xz
Michael Biebl [Wed, 4 Sep 2019 17:34:17 +0000 (18:34 +0100)]
Import systemd_242-7.debian.tar.xz

[dgit import tarball systemd 242-7 systemd_242-7.debian.tar.xz]

6 years agoImport systemd_242.orig.tar.gz
Michael Biebl [Tue, 7 May 2019 23:33:56 +0000 (00:33 +0100)]
Import systemd_242.orig.tar.gz

[dgit import orig systemd_242.orig.tar.gz]