Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2243692pxb; Fri, 5 Feb 2021 12:33:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwk3smyU6/Cq53IdFxN7qa8A8xzSOo8mZyKqnbuAaSen7T6jKRRIZKsc4PSYLvPWqcHmMF8 X-Received: by 2002:a17:906:24ca:: with SMTP id f10mr5537737ejb.96.1612557219171; Fri, 05 Feb 2021 12:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612557219; cv=none; d=google.com; s=arc-20160816; b=CTdb++NhNsPiHe2uAMwbJ1i/r3DDApCxS7jrvGpIBdpq0aMd2SqO5etSrzbq1XqlEL kWYI8psvWmY2rl4G1ibVtLXHxwsBOThL/LU87Bm6q3T4ZwAdxinBguOwilhCvTyxUX1W weHmCGjzR2LC4/qmeQy8NAElS4uON/ULxqCuJ0oyf011j7ck6oDIxRubt0uN5ecAo6Tk uwCRULkSRGdxxJGVzckrBf+lQl2NKLiJBJm9ffNqRVyuW5CeJWMN6wKij05duEpakP4m VRoB5a2b/6s3WE3JhIPlDs4PVmqJ3hjrWwMNOv8HGVZBNjisA7BwHfiM8v+aRvF6TsOi Ke1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ix08lCuhLoYrg9cKYcfCoqGgROOJe6ZumPy74iwx02Q=; b=OSC5Z4irJn3Dhfmlxh6u8C0ohaAETEk7ed+PfuJGZwZavYd5BKEZqGK/gNJiMFpwab Q4VS1HjYdKQa6WWzpENS8TMcVORgZdXC3QFZ3OkBv+i/ZxgQvQxtAOQ8UsZcwSt+Ev+I fy2/6Dp4j7sI94rkFtX3KWAy6gMDxcJb0RlLs+2B2dvt9NDbLVO8MsysaLdOpLLKm+J5 i8AvkrAnCNsigCKv2aJqpJTRCEe1Bl3qWdqfrLeY8TD+SzegaxDAfSZwAZhdkgIbcY/0 ois1dqS5/EBKccNWc9h1q2DKf+RheRxa+hiZdULgCxV8EA5d1kUXLHP12Wrz6EYCCubr qffA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=J0kcd0pA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p31si2336534edb.114.2021.02.05.12.33.32; Fri, 05 Feb 2021 12:33:39 -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=@ieee.org header.s=google header.b=J0kcd0pA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231876AbhBESum (ORCPT + 16 others); Fri, 5 Feb 2021 13:50:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbhBESt6 (ORCPT ); Fri, 5 Feb 2021 13:49:58 -0500 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87BF4C061756 for ; Fri, 5 Feb 2021 12:31:43 -0800 (PST) Received: by mail-qv1-xf34.google.com with SMTP id l14so4122250qvp.2 for ; Fri, 05 Feb 2021 12:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ix08lCuhLoYrg9cKYcfCoqGgROOJe6ZumPy74iwx02Q=; b=J0kcd0pA5OS+PBgscOuK9bP/8nJr5EQjJfgq0RxivP38TeN+F3xz4EqwHMvRE1D8YE tn1WgzdOQC5C8FHTZ2qgrvG3WsibHiZ0S54xi3c23uTiSMF9xJ0XdMFiPsuHQhDRiT3n /ZF04WDdIzsRFwlv9WM+10IZ9BBMXrXLKLS2o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ix08lCuhLoYrg9cKYcfCoqGgROOJe6ZumPy74iwx02Q=; b=aY0BCoXWhyPiSWjEGJByVWsDsxhrdfhiUByTi2G5boBjvR0D6/dNB3wTCn/lyPh38W 2BPtZGJbxv8fANez2xZTzOF1Wy8+QDbbV/Rsi7VTfPGo8716/zW/HJEVD6pCsoVS5odh lxg4SR1tAp3aRub3h0/l9hGtTYoulFBraz8e4f62IN0ufxlM67zoDsAgrqqZmgKIN3Pd cHjZw1Y2zU6GIC3MDIv+aRGf9KE7MAGigeVzrWevwfgevVgQE0E3gjx3OH2Nicumbyst MjQXjmQwtwUuuFVDLldT70g8v6rDSI67nBGezSPiv5q1Fwfrk4xw6xig8aOJ1ouPXgAA 4HmA== X-Gm-Message-State: AOAM531rkJZlAxNX7CDTpNV3jIPa1wEYV8TbvNVTr1qJF10VuBZgN5Ig DjjANTwQOReiQ+2upe+2i+qi+Xz70WyHOA== X-Received: by 2002:ad4:46cd:: with SMTP id g13mr5898897qvw.27.1612557102497; Fri, 05 Feb 2021 12:31:42 -0800 (PST) Received: from fedora.pebenito.net (pool-96-234-173-17.bltmmd.fios.verizon.net. [96.234.173.17]) by smtp.gmail.com with ESMTPSA id k187sm10557561qkc.74.2021.02.05.12.31.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Feb 2021 12:31:42 -0800 (PST) Subject: Re: [PATCH] another systemd misc patch To: Dominick Grift Cc: Russell Coker , selinux-refpolicy@vger.kernel.org References: <8e419ea2-1ba4-5b44-16ae-8fbe80cacf18@ieee.org> From: Chris PeBenito Message-ID: <0c8ef4b6-893a-134c-d8ba-c0a6af4e8638@ieee.org> Date: Fri, 5 Feb 2021 15:31:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On 2/5/21 3:18 PM, Dominick Grift wrote: > Chris PeBenito writes: >> On 2/2/21 10:31 PM, Russell Coker wrote: >>> Lots of littls changes related to systemd. >>> Signed-off-by: Russell Coker >>> @@ -925,14 +1001,26 @@ allow systemd_nspawn_t systemd_nspawn_tm >>> # for /run/systemd/nspawn/incoming in chroot >>> allow systemd_nspawn_t systemd_nspawn_runtime_t:dir mounton; >>> +kernel_getattr_core_if(systemd_nspawn_t) >>> +kernel_getattr_proc(systemd_nspawn_t) >>> +kernel_getattr_unlabeled_dirs(systemd_nspawn_t) >>> + >>> kernel_mount_proc(systemd_nspawn_t) >>> kernel_mounton_sysctl_dirs(systemd_nspawn_t) >>> kernel_mounton_kernel_sysctl_files(systemd_nspawn_t) >>> kernel_mounton_message_if(systemd_nspawn_t) >>> kernel_mounton_proc(systemd_nspawn_t) >>> +kernel_mounton_sysctl_files(systemd_nspawn_t) >>> +kernel_mounton_unlabeled_dirs(systemd_nspawn_t) >> >> With all of the mounting, perhaps we should consider coalescing on >> allowing it to mount an all init_mountpoint_types. > > mounton unlabeled dirs indicates that something is unlabeled/mislabeled > though. Wouldnt allow that. Yes I agree. I noticed all the mountons but didn't notice this specific one. -- Chris PeBenito