From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.pqgruber.com ([178.189.19.235]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSkaF-0000FT-RW for ptxdist@pengutronix.de; Wed, 05 Jul 2017 15:43:11 +0200 From: Clemens Gruber Date: Wed, 5 Jul 2017 15:41:58 +0200 Message-Id: <20170705134158.8763-1-clemens.gruber@pqgruber.com> Subject: [ptxdist] [PATCH] systemd: add systemd-resolved security patches List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Clemens Gruber QmFja3BvcnRlZCBmcm9tIHVwc3RyZWFtLiBDb250YWlucyBhIGZpeCBmb3IgQ1ZFLTIwMTctOTQ0 NS4KClNpZ25lZC1vZmYtYnk6IENsZW1lbnMgR3J1YmVyIDxjbGVtZW5zLmdydWJlckBwcWdydWJl ci5jb20+Ci0tLQogLi4uL3N5c3RlbWQtMjMzLzAxMDEtcmVzb2x2ZWQtbnVsbHB0ci1idWdmaXgu cGF0Y2ggfCAyMyArKysrKysrKysrKwogLi4uZWQtc2ltcGxpZnktYWxsb2Mtc2l6ZS1jYWxjLUNW RS0yMDE3LTk0NDUucGF0Y2ggfCA0NyArKysrKysrKysrKysrKysrKysrKysrCiAuLi5kby1ub3Qt YWxsb2NhdGUtcGFja2V0cy13aXRoLW1pbmltdW0tc2l6ZS5wYXRjaCB8IDQ0ICsrKysrKysrKysr KysrKysrKysrCiBwYXRjaGVzL3N5c3RlbWQtMjMzL3NlcmllcyAgICAgICAgICAgICAgICAgICAg ICAgICB8ICA1ICsrLQogNCBmaWxlcyBjaGFuZ2VkLCAxMTggaW5zZXJ0aW9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luZGVyIHsK KyAgICAgICAgIERuc1BhY2tldCAqcGFja2V0OworICAgICAgICAgc2l6ZV90IHNhdmVkX3JpbmRl eDsKK0BAIC00Nyw3ICs1MCwxNCBAQCBpbnQgZG5zX3BhY2tldF9uZXcoRG5zUGFja2V0ICoqcmV0 LCBEbnNQcm90b2NvbCBwcm90b2NvbCwgc2l6ZV90IG10dSkgeworIAorICAgICAgICAgYXNzZXJ0 KHJldCk7CisgCistICAgICAgICBhID0gTUFYKG10dSwgRE5TX1BBQ0tFVF9IRUFERVJfU0laRSk7 CisrICAgICAgICAvKiBXaGVuIGRuc19wYWNrZXRfbmV3KCkgaXMgY2FsbGVkIHdpdGggbXR1ID09 IDAsIGFsbG9jYXRlIG1vcmUgdGhhbiB0aGUKKysgICAgICAgICAqIGFic29sdXRlIG1pbmltdW0g KHdoaWNoIGlzIHRoZSBkbnMgcGFja2V0IGhlYWRlciBzaXplKSwgdG8gYXZvaWQKKysgICAgICAg ICAqIHJlc2l6aW5nIGltbWVkaWF0ZWx5IGFnYWluIGFmdGVyIGFwcGVuZGluZyB0aGUgZmlyc3Qg ZGF0YSB0byB0aGUgcGFja2V0LgorKyAgICAgICAgICovCisrICAgICAgICBpZiAobXR1IDwgVURQ X1BBQ0tFVF9IRUFERVJfU0laRSkKKysgICAgICAgICAgICAgICAgYSA9IEROU19QQUNLRVRfU0la RV9TVEFSVDsKKysgICAgICAgIGVsc2UKKysgICAgICAgICAgICAgICAgYSA9IE1BWChtdHUsIERO U19QQUNLRVRfSEVBREVSX1NJWkUpOworIAorICAgICAgICAgLyogcm91bmQgdXAgdG8gbmV4dCBw YWdlIHNpemUgKi8KKyAgICAgICAgIGEgPSBQQUdFX0FMSUdOKEFMSUdOKHNpemVvZihEbnNQYWNr ZXQpKSArIGEpIC0gQUxJR04oc2l6ZW9mKERuc1BhY2tldCkpOwpkaWZmIC0tZ2l0IGEvcGF0Y2hl cy9zeXN0ZW1kLTIzMy9zZXJpZXMgYi9wYXRjaGVzL3N5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