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.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 5E6B3C61CE8 for ; Sat, 19 Jan 2019 18:19:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2527C2086D for ; Sat, 19 Jan 2019 18:19:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gj1PKYbi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728898AbfASSTp (ORCPT ); Sat, 19 Jan 2019 13:19:45 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:45732 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728866AbfASSTp (ORCPT ); Sat, 19 Jan 2019 13:19:45 -0500 Received: by mail-ed1-f66.google.com with SMTP id d39so13576013edb.12 for ; Sat, 19 Jan 2019 10:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=si/aYy4yhKn9f8cq6h6HaT26iy7hfe1KI8SNKpITCLo=; b=gj1PKYbi4LDe3qWvAdZix5egzsj2HhFnr6m/dzCJZqnqxuKipUDe67ky6I2v/a5l8n wMcb7bgu2EjNeCgu0DRBpzFfsWelww09F6rD5lSSlJq5PahpPpRsMPAKHJN238rj9BZQ LafKRiychjIsHBz62C/sUpOwirrqVIZzW8HH8ey6SCHuUUNrgjID6k5WPB688ciR+jV7 NnW5FQPivWlVpa4s0IUJ86PUI34pFZSwq2YuIlgoFM/D+/9bAL3CSBmMGHkSCYRArYj/ s1MXe0Ya7KdfxT0DSVaYFUdB+GA96DLV6FqP2LnoGqQ40pbUSWbAARMCzwGiMasJ4+Hw A5tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=si/aYy4yhKn9f8cq6h6HaT26iy7hfe1KI8SNKpITCLo=; b=R2srVUsYgiUJbNNrgVOCEpnQRDV1eAo8ajZbneAOPz/6Bl4H8yIAfaIc17GOtJwFiR Wvwx6DoA5kgW1ZZ1ozvOGcfQx2PmTRJMhCGdeuqgfcQKa9YnWFPB+CE9FWmDFoEf24vb IEXnTQSW/Dqmz7KMl/YjPHgmBqGa1rSu6tLSl7XU6nZRs177xtbsih1wBURb9tlJ4o9S FbpZsSoBbujeu/3IBEoqUh8s8liyEqogm6cKQ8Dh6F4p0eq/G6WglkOBZHawUhdpwps6 yykIgxN1U7bJGYPvazCdZvrhr8bUD41zwJ139c5Qv7v28TenzdO6psfGE6T5W/kgBI23 5S9Q== X-Gm-Message-State: AJcUukcLcKnP40KJZYWIHGPgR5paV1M22+cDDGor6IxCvVqUbelZOGme xvbLZgXJElWrQqviM0icPysaxcgF X-Google-Smtp-Source: ALg8bN4xEFE7MunoKq68+Nqs6vNUt+2jtIOJ3RJ/dh5QBjWSS00jROEsrmSMortmYyqcHGDbwg3xsw== X-Received: by 2002:a50:cdd0:: with SMTP id h16mr20958115edj.151.1547921983381; Sat, 19 Jan 2019 10:19:43 -0800 (PST) Received: from brutus ([2001:985:d55d::438]) by smtp.gmail.com with ESMTPSA id v14sm7432870edq.74.2019.01.19.10.19.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Jan 2019 10:19:42 -0800 (PST) From: Dominick Grift To: Russell Coker Cc: "selinux-refpolicy\@vger.kernel.org" Subject: Re: [PATCH] map systemd private dirs References: <20190119181503.GA1685@xev> Date: Sat, 19 Jan 2019 19:19:42 +0100 In-Reply-To: <20190119181503.GA1685@xev> (Russell Coker's message of "Sun, 20 Jan 2019 05:15:03 +1100") Message-ID: <87o98czf0h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org Russell Coker writes: If anyone is interested in knowing more about how this works (and how dssp2-standard implemented support for it) here's a 60 minute demo: https://www.youtube.com/watch?v=iiiuyUKJG_w > Index: refpolicy-2.20180701/config/file_contexts.subs_dist > =================================================================== > --- refpolicy-2.20180701.orig/config/file_contexts.subs_dist > +++ refpolicy-2.20180701/config/file_contexts.subs_dist > @@ -23,6 +23,9 @@ > /usr/local/lib32 /usr/lib > /usr/local/lib64 /usr/lib > /usr/local/lib /usr/lib > +/var/lib/private /var/lib > +/var/cache/private /var/cache > +/var/log/private /var/log > > # backward compatibility > # not for refpolicy intern, but for /var/run using applications, -- Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift