Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA867C10F14 for ; Sat, 13 Apr 2019 15:36:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92D68214D8 for ; Sat, 13 Apr 2019 15:36:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=tresys.onmicrosoft.com header.i=@tresys.onmicrosoft.com header.b="pUxarX8L" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727066AbfDMPgL (ORCPT ); Sat, 13 Apr 2019 11:36:11 -0400 Received: from mail-eopbgr800105.outbound.protection.outlook.com ([40.107.80.105]:17925 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727048AbfDMPgL (ORCPT ); Sat, 13 Apr 2019 11:36:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tresys.onmicrosoft.com; s=selector1-tresys-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jGc6SIKjuwX/O8SYZJESQAoHjHH/t5hPnhq7LIxUzWY=; b=pUxarX8Ll2/Lw/qSBgMZlYmmx6nL4ejKaB8NDq+kGb9R9URgrIES5nWkExb2Qs0RbNvbYf759Gm8CccjeDyQM6p4nIqaKiJPyfj52m8ubEBGs6atKAc1x1kBtV/uE2N0J/STgEx14J1T6W+NamERpu+PwOI2qqde900jQDiwocQ= Received: from BN6PR15MB1507.namprd15.prod.outlook.com (10.172.151.147) by BN6PR15MB1763.namprd15.prod.outlook.com (10.174.113.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.19; Sat, 13 Apr 2019 15:36:07 +0000 Received: from BN6PR15MB1507.namprd15.prod.outlook.com ([fe80::fdb0:ce55:b42a:f4b9]) by BN6PR15MB1507.namprd15.prod.outlook.com ([fe80::fdb0:ce55:b42a:f4b9%5]) with mapi id 15.20.1771.016; Sat, 13 Apr 2019 15:36:07 +0000 From: "Sugar, David" To: "russell@coker.com.au" , Chris PeBenito CC: "selinux-refpolicy@vger.kernel.org" Subject: Re: [PATCH] Add kernel_dgram_send() into logging_send_syslog_msg() Thread-Topic: [PATCH] Add kernel_dgram_send() into logging_send_syslog_msg() Thread-Index: AQHU7uZMikXTEMJ0/UGbmCXEOyalHaY0k8sA//++3oCAAEwogIAD0G4AgAEoY4CAAKfIgA== Date: Sat, 13 Apr 2019 15:36:07 +0000 Message-ID: <52d3b5f4-532d-ab8c-3941-47817d0b3489@tresys.com> References: <20190409150948.10882-1-dsugar@tresys.com> <1597016.RvrILB9U20@liv> <25dded62-a45b-5cc0-4f76-0c813b89c0b9@ieee.org> <1987619.JXgbzmF0Gi@xev> In-Reply-To: <1987619.JXgbzmF0Gi@xev> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [96.244.17.66] user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 x-clientproxiedby: MN2PR12CA0028.namprd12.prod.outlook.com (2603:10b6:208:a8::41) To BN6PR15MB1507.namprd15.prod.outlook.com (2603:10b6:404:c6::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=dsugar@tresys.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ce363be3-788e-40c0-9155-08d6c025bf14 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600139)(711020)(4605104)(2017052603328)(7193020);SRVR:BN6PR15MB1763; x-ms-traffictypediagnostic: BN6PR15MB1763: x-microsoft-antispam-prvs: x-forefront-prvs: 00064751B6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(136003)(366004)(39830400003)(346002)(376002)(199004)(189003)(11346002)(305945005)(8936002)(52116002)(97736004)(81156014)(93886005)(6486002)(26005)(2501003)(6436002)(486006)(68736007)(476003)(2616005)(99286004)(229853002)(31686004)(81166006)(256004)(8676002)(7736002)(65826007)(446003)(5660300002)(14444005)(25786009)(36756003)(86362001)(6116002)(65806001)(65956001)(31696002)(71190400001)(71200400001)(66066001)(64126003)(386003)(53546011)(4326008)(508600001)(110136005)(102836004)(53936002)(186003)(6506007)(106356001)(76176011)(105586002)(2906002)(6246003)(6512007)(3846002)(58126008)(14454004)(316002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR15MB1763;H:BN6PR15MB1507.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: tresys.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: pg9cNjOzWJfaSeXQNHLGrYB8JXU8JnICswSZIKqZrqrvn8gcNCoIDJFB6Vjcs3QDc7lkidqPsYqVd/WHfnA5ksOBugB2aapnybT+JfI9DU4m5fWuAPD6nn067LA+lDXaobkWwBP/WaKA5OsTexaBBWTQoXbXGRjms5QQ49fqPwqJmfl7xsP6kcuVS7CeuVKZBHLGDdDTdeLa8n6KRbZRXBZZRRHNaf7LIo6XRKIO9sxwRNW2JHDucUyzYWBXIo1CQyvMn40JEovevscuY0dSLFRTitasqs18EZTqiQcPkkLLv68iqxDjf7hSqIAdlf3NjFQWiIkAa6xWz0+bABbOweoZaxdkoXGuv9OX/VFK7m51+HLWdRQWHIfIABV9p5cWnVD9aCFxRcMBdLSMQ42iA/u9kWx8uOqcCtXmjxTsv1M= Content-Type: text/plain; charset="utf-8" Content-ID: <284768AF8524F84B84A2D87EBAC37093@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: tresys.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce363be3-788e-40c0-9155-08d6c025bf14 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2019 15:36:07.7097 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a0d45667-6c07-4e88-868f-4ac9af95c7ed X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR15MB1763 Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org DQoNCk9uIDQvMTMvMTkgMTozNSBBTSwgUnVzc2VsbCBDb2tlciB3cm90ZToNCj4gT24gRnJpZGF5 LCAxMiBBcHJpbCAyMDE5IDk6NTQ6NDYgUE0gQUVTVCBDaHJpcyBQZUJlbml0byB3cm90ZToNCj4+ IE9uIDQvOS8xOSA5OjM5IFBNLCBSdXNzZWxsIENva2VyIHdyb3RlOg0KPj4+IFdoeSBpcyBhIHNv Y2tldCB0aGF0IGV2ZXJ5dGhpbmcgc2VuZHMgdG8gbGFiZWxlZCBhcyBrZXJuZWxfdD8NCj4+Pg0K Pj4NCj4+IFJ1c3NlbGwsIHlvdSBhcmVuJ3Qgc2VlaW5nIHRoaXMgdHlwZSBvZiBhY2Nlc3Mgb24g RGViaWFuPw0KPiANCj4gDQo+ICAgICAgICAgIGlmZGVmKGBpbml0X3N5c3RlbWQnLGANCj4gICAg ICAgICAgICAgICAgICBpbml0X2RvbWFpbigkMSwgJDIpDQo+ICAgICAgICAgICAgICAgICAgIyB0 aG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