Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1380826pxb; Fri, 22 Jan 2021 14:25:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHjmlkrSe1klEohRlXTQOQUvz7Annzwhy947Iu+44arI97U8gzibU1NGhJzIos1TfTQsnv X-Received: by 2002:a17:906:653:: with SMTP id t19mr4444496ejb.44.1611354311261; Fri, 22 Jan 2021 14:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611354311; cv=none; d=google.com; s=arc-20160816; b=cLUXhIQtaskZsgFzHWCgKi1ydHCWuD+rVopA6xb9sk5eUW/Z4WYMBWd9sGpPvhK/48 7u1G9t75AbSMXbJrEY+rUVOZXXPIFEuqTyEzrzEzjvJyVB+9ji9M6MQqbwY1JT7fy/d9 fmjIzy9U+6ws5B0mpCZSieul4P7a9O6DW4R5gp8ltAU3o+DSdcOWLBMxecNpATG40MpM PBYfAsny2zhPSVdyJ3+pwOMU/o6lPbIeqib1bP4WhmwttM0cl7bYFDjeZ3Rrtsfqxk+3 s4PDo7gXJHwPsLQaEd56vkK34vfYI/cT7HN13/RLvibkNRZT8a62xJAevX24OSympSRS 8gbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RH+Eo2ct5V9B8+8733/q5dHaXfoHH1pdajDIgXyh2tU=; b=I0HgTBP/Jot5YS/aa5UHTReGIG4Y9Do3HAZpX8UpHP6f9S1LrC7n4nAaqA7YfKL0Uj vbLecC4+g/82foHif89VWbkG9w7j0nCSXjtk9bqNAfYuAQZv1wp5wFs6fps1O+IW5XuY +czj5vWgdYRQZ9Z0iM/0sQv8Kf54cD5gcIE8YG7qwcxyA/C+F7rwyRDV5WTdbExXHdK/ G0hOWXOQvUxGSKPf+3UN8ABEQjAesu3P9+oLkZlTNBoG9NsFhV7rh+zL01FZ5/WopiTR Fnkqz3KGBhqu7uylEVwlMCOIa2pHgPvql5xlTzZx87ZAsx3PbGq6wN37Et4mXK6+ikya aNRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=ImzvoqZ6; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r4si4291142edb.431.2021.01.22.14.25.05; Fri, 22 Jan 2021 14:25:11 -0800 (PST) Received-SPF: pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=ImzvoqZ6; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727350AbhAVWWS (ORCPT + 16 others); Fri, 22 Jan 2021 17:22:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728438AbhAVWV7 (ORCPT ); Fri, 22 Jan 2021 17:21:59 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0368FC061788 for ; Fri, 22 Jan 2021 14:21:12 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id g12so9850090ejf.8 for ; Fri, 22 Jan 2021 14:21:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RH+Eo2ct5V9B8+8733/q5dHaXfoHH1pdajDIgXyh2tU=; b=ImzvoqZ6X9+Bda/c0Kw6eDUcINIz3Hync/FOAUCOf3m7x8Y6BA85/ZSlJT9Gfj6nTm YY7jHZguPERewYszRO6C22x2DQCM86fUIbKBnXUYSCCC4/LCoYhcM5KY2qA/4Q21zJMS hlTQJUxF2MhfBMpj5TEOTfsSwZ8sEV0ugEe8mHU3UXmx3UY2DN+Y9JcvF2ubpzO+JWSx xui6v4ZFIV/h8wZL78xcEppvgl/hDw3LqACLSRL/1GSD8lHApIeFy9IdshucY+bL29X3 ap7c9WXys+MPoAVFcFXtnXmygrhlPt/g6w94tNwRiAJQKJlus8goWkuvTdypymYSqB7Z Xwvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RH+Eo2ct5V9B8+8733/q5dHaXfoHH1pdajDIgXyh2tU=; b=UE7eTeMjsDVQNS3/arpA7+17jpd35qINurYMTKjTFcCE2O8SqOnsV/WXgY8Hff+myY t4tqS1d53O4PMrSH5TlGL1r+9fftKj7t/nlvzt79e/e7wEqp8ro/2mYOoEnp1MAoSccc chhIgSgFF2249+e1KrVSl06r57GqyNffK+gDIH7kQ/gmqH8BBy5H7NmNNz1Wj66OUO4i I0izzKnonsYjuhNBAi8r6VDAMzavfrEErTJb+u5eXV6a06RRQH//ISXlqpEEi+o6Ma1z Zynl+I+3VZ+Xo+hG0Wnx18UHZZdIkwmlLZEIsIuKN9yYWNTGqInQGTZ7Ebz9RJKhD4S5 V+Ag== X-Gm-Message-State: AOAM5303djlAiISakYSeqOxYkRFwCQzfcGqcobpx0dCkS3VdxS3HDcba x3rmYkURwxx43SQX4d03N8JYzXuMoct3DKM14RAB X-Received: by 2002:a17:906:95cf:: with SMTP id n15mr340975ejy.178.1611354070637; Fri, 22 Jan 2021 14:21:10 -0800 (PST) MIME-Version: 1.0 References: <20210119105747.9680-1-richard_c_haines@btinternet.com> <20210119105747.9680-2-richard_c_haines@btinternet.com> <8776cbb2687a09ed5b4e5b3cf0c50ade6c018fa6.camel@btinternet.com> In-Reply-To: <8776cbb2687a09ed5b4e5b3cf0c50ade6c018fa6.camel@btinternet.com> From: Paul Moore Date: Fri, 22 Jan 2021 17:20:59 -0500 Message-ID: Subject: Re: [RFC PATCH 1/1] selinux-notebook: Add new section for Embedded Systems To: Richard Haines Cc: Dominick Grift , selinux@vger.kernel.org, selinux-refpolicy@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On Wed, Jan 20, 2021 at 7:37 AM Richard Haines wrote: > On Tue, 2021-01-19 at 14:18 +0100, Dominick Grift wrote: > > Richard Haines writes: > > > > > Add a new section and supporting examples for embedded systems. > > > > Nice initiative, thanks. Looks pretty solid for a first iteration. > > > > I wrote a document for OpenWrt here [1]. Basically the instructions > > needed > > to assemble OpenWrt from modules applicable to a particular system, > > but also how > > to build on top of it, or now to just fork it so that you can use it > > as > > a base for your own policy. > > > > [1] > > https://github.com/doverride/openwrt-selinux-policy/blob/master/README.md > > > > I am currently pretty happy with the results so far (its a work in > > progress, and there are known loose ends) > > > > One of the differences compared with android is that SELinux is not > > tightly integrated in OpenWrt, and so most of the tough aspects are > > addressed in policy > > rather than adding selinux-awareness all over. SELinux in OpenWrt is > > therefore > > fairly self-contained and considering the challenges fairly robust. > > > > Thanks, I've worked these comments into the next version. I just wanted to check and make sure this next version hasn't been posted to the list yet? Sometimes the list eats things and I wanted to make sure that wasn't the case here. -- paul moore www.paul-moore.com