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.89) (envelope-from ) id 1fYCIw-0008Ie-8v for ptxdist@pengutronix.de; Wed, 27 Jun 2018 17:24:22 +0200 From: Clemens Gruber Date: Wed, 27 Jun 2018 17:24:09 +0200 Message-Id: <20180627152409.29979-2-clemens.gruber@pqgruber.com> In-Reply-To: <20180627152409.29979-1-clemens.gruber@pqgruber.com> References: <20180627152409.29979-1-clemens.gruber@pqgruber.com> Subject: [ptxdist] [PATCH 2/2] file: add upstream seccomp 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 U2V2ZXJhbCBzeXNjYWxscyBhcmUgbWlzc2luZyBpbiBmaWxlIDUuMzMuIEZpeCBpdCBieSBwdWxs aW5nIGluIGZvdXIKdXBzdHJlYW0gcGF0Y2hlcy4KClNpZ25lZC1vZmYtYnk6IENsZW1lbnMgR3J1 YmVyIDxjbGVtZW5zLmdydWJlckBwcWdydWJlci5jb20+Ci0tLQogLi4ucy1uZXdmc3RhdGF0LWlz LXVzZWQtZm9yLXN0YXQtaW5nLXRoLnBhdGNoIHwgNTYgKysrKysrKysrKysrKysrKysrKwogLi4u cy1hZGQtbW9yZS1zeXNjYWxscy1mb3ItMzItYml0LWxpbnV4LnBhdGNoIHwgNDIgKysrKysrKysr KysrKysKIC4uLi8wMDAzLW9uZS1tb3JlLXN5c2NhbGwtZm9yLTMyLWJpdHMucGF0Y2ggICB8IDI5 ICsrKysrKysrKysKIC4uLi8wMDA0LUZpeC1wYXN0by1DbGVtZW5zLUdydWJlci5wY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