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,URIBL_BLOCKED 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 A4A12C10F14 for ; Wed, 17 Apr 2019 02:53:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6ADA72075B for ; Wed, 17 Apr 2019 02:53:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=tresys.onmicrosoft.com header.i=@tresys.onmicrosoft.com header.b="rCKKsGis" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728966AbfDQCxn (ORCPT ); Tue, 16 Apr 2019 22:53:43 -0400 Received: from mail-eopbgr680132.outbound.protection.outlook.com ([40.107.68.132]:18245 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727063AbfDQCxn (ORCPT ); Tue, 16 Apr 2019 22:53:43 -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=/8qa70/t1dBD2u6Vjrsx039r1xY0gKPbRXrEFHau6jE=; b=rCKKsGisbUfCemeMerPH+/QzfONeqYjQLOjklspH9L4JAsghcKkxvuuEszEW0nA9NnwyATw0MN0ChcYPHQbhj4XhjCEL7Qudw2A6/pqX41P03dLEDS2xaZSsV9F+Xg39ILTemrBRMozrL1LiRxgq1wiVftDt7Wj3wEYP7y1Nn/o= Received: from CY4PR15MB1509.namprd15.prod.outlook.com (10.172.160.141) by CY4PR15MB1126.namprd15.prod.outlook.com (10.172.180.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.19; Wed, 17 Apr 2019 02:53:38 +0000 Received: from CY4PR15MB1509.namprd15.prod.outlook.com ([fe80::95df:f0a9:a9b0:c5aa]) by CY4PR15MB1509.namprd15.prod.outlook.com ([fe80::95df:f0a9:a9b0:c5aa%10]) with mapi id 15.20.1792.018; Wed, 17 Apr 2019 02:53:38 +0000 From: "Sugar, David" To: "selinux-refpolicy@vger.kernel.org" Subject: Re: [PATCH 3/3] Some items that seem they can be dontaudited for plymouthd Thread-Topic: [PATCH 3/3] Some items that seem they can be dontaudited for plymouthd Thread-Index: AQHU8Wdzy0S1E0zh6EelPUQBXlHHx6Y5X7uA///LpwCAAFNcgIAAOsgAgAX1KoA= Date: Wed, 17 Apr 2019 02:53:37 +0000 Message-ID: References: <20190412193917.23886-1-dsugar@tresys.com> <2319520.MOiGnKPAe5@liv> <14839769.DdiKdgLD4o@xev> <20190413075448.GB5901@brutus.lan> In-Reply-To: <20190413075448.GB5901@brutus.lan> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [73.180.141.176] user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 x-clientproxiedby: MN2PR04CA0003.namprd04.prod.outlook.com (2603:10b6:208:d4::16) To CY4PR15MB1509.namprd15.prod.outlook.com (2603:10b6:903:fd::13) 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: af5ceaa4-b0b2-481b-5b08-08d6c2dfe3c0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(5600140)(711020)(4605104)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(2017052603328)(7193020);SRVR:CY4PR15MB1126; x-ms-traffictypediagnostic: CY4PR15MB1126: x-ms-exchange-purlcount: 2 x-microsoft-antispam-prvs: x-forefront-prvs: 0010D93EFE x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(136003)(39830400003)(376002)(346002)(396003)(199004)(189003)(76176011)(5660300002)(65956001)(99286004)(52116002)(486006)(305945005)(7736002)(93886005)(966005)(58126008)(316002)(86362001)(446003)(31696002)(476003)(71200400001)(2616005)(71190400001)(106356001)(256004)(105586002)(11346002)(65826007)(36756003)(14444005)(508600001)(64126003)(2351001)(6486002)(81156014)(102836004)(6512007)(26005)(386003)(2906002)(31686004)(6436002)(229853002)(14454004)(186003)(68736007)(25786009)(6306002)(81166006)(53936002)(6246003)(8936002)(66066001)(65806001)(6116002)(2501003)(97736004)(6506007)(3846002)(53546011)(8676002)(6916009)(5640700003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR15MB1126;H:CY4PR15MB1509.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: zhvll47V7L7LImQd2vkJH/zPWuan+YBoV3uAo86sSc7n7R6IS/yns8aT7QD0LSdu6zGvcs3OKqZ71Yxgl2mbi/QnBcvz8rsLwuiBPg0yd9wl1rmjxm8M6jjPQsGMrR1Ts/XKn3OzRgRVEnuI4dINnDm0tcOgi0wjuZL3R+cFyCtwSj44OAc05E4hjZl336HNcjy/dlijmX5yGqJVisAi0a5sZYetHvpBKwhJBbQpUjTyC4Bo2vLrXtdLNxU0yzaTFRSoilv/5f63Ff03rxFvEt7eiUoEkyl46hBbrIELdS7TpYLJTgrVCx31A3iV7SA/VZuxp8v2vDwrSWN5pqioDNnrLABoys0y8exMp1WMjh6nAMyjTReryGtuwS2ScYnglOsjVv/LF78a8t45xI75a+Pu71feI/df8ZeXUzqCbg8= Content-Type: text/plain; charset="Windows-1252" Content-ID: <360B6ED62EFA0940A0C7177CB7E75B46@namprd15.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: tresys.com X-MS-Exchange-CrossTenant-Network-Message-Id: af5ceaa4-b0b2-481b-5b08-08d6c2dfe3c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2019 02:53:37.8927 (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: CY4PR15MB1126 Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On 4/13/19 3:54 AM, Dominick Grift wrote: > On Sat, Apr 13, 2019 at 02:24:25PM +1000, Russell Coker wrote: >> On Saturday, 13 April 2019 1:26:06 PM AEST Sugar, David wrote: >>> On 4/12/19 10:33 PM, Russell Coker wrote: >>>> What is netlink_kobject_uevent_socket? Do we have a place we can docu= ment >>>> this sort of thing to make it easier to determine whether access is >>>> required and what the implications of such access are? >>> >>> I'm really not sure either. But, please note, that this patch is >>> dontaudit rules to quiet some denials that didn't seem to have any >>> negative side effect. If this patch isn't applied things will still >>> function, just have some entries in the audit logs. >> >> There's a good chance the action in question isn't an accident and some = aspect >> of the program's functionality will be changed. I think it's best to ha= ve an >> idea of what the issue was before putting in a dontaudit rule, if some >> configuration of that program actually needs such functionality then a >> dontaudit will make it inconvenient to track it down. >> >> Have you tried running strace or ltrace to see what it's doing? >=20 > I agree that this probably shouldnt be dontaudited. This is a common patt= ern for "udev clients" >=20 > The kobject_uevent socket aspect is probably to monitor devices (equivale= nt to `udevadm monitor`) >=20 This should be skipped and not merged. Would you like this set to be resubmitted without this particular patch? >> >> --=20 >> My Main Blog http://etbe.coker.com.au/ >> My Documents Blog http://doc.coker.com.au/ >> >=20