Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp505938pxb; Fri, 29 Oct 2021 14:13:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNsNUxqyH9C0m1FWLik9AvdzlFN1/oSLGVulsqCSITIGgWzPqEMWTzEAmwkChgQI/QotQB X-Received: by 2002:a17:907:7f8b:: with SMTP id qk11mr16058658ejc.238.1635542003642; Fri, 29 Oct 2021 14:13:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635542003; cv=none; d=google.com; s=arc-20160816; b=RCljDSy8f5N1bSPPmgiD/jqD7P1nFG4zPEYsiHJa+jqz4r3ZR/NhLVn489TJplGh7F sCkFWIVtilAkeMdV4OBDly66TFdh+gY5DYmG6uZVtmeIZS6YnHtVImJGrWfKpO3ZNPQn Sj1EIAdvQ8/RjQpPtPWsJQdJ5DX32f2VBtnFhx33Tn5sFMnNqaxLET7QDgJbTJugiXaW c00C4e8wS9SA9yakueQs1gcjcipXd6n9QVL0tUrkWVxHAB2u1iPzWflOmSvJUFY7rCeo 4K9mTeqf2CAQ46MZhjwt+6128FHBafBTzYxFfpfX3eKvLN1u+Z9ZZLbJemE/GK48ofNH fyZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F8C4YACdUOBh8Na4tX1D5VmZwLlrVtset4SbG0K6Jyk=; b=FPQGfjhPG5rjww+FHxFbOH0B/ekrmvyNYz98nZyyQ8Ugldpw4gbdfiJeFklmvYutFU mxA5I2WQGcUNqYfVcEb611ANWciF1F8PgHm2YFgH95LcvdHyAao4jbQ1uF77cz2VYmoI EPywuv4LCkGqpav6eihN9WB8ZlgeV04G2Z18K3q2zFe/lnNsOfXSzLkaJ9BVGpsv0M16 NHQOmVu7bCHdHDq+Y+fGgH/3PsGh57wY3lJd9IUKNNLTN0sYV8XFYjLD4rgk9v8Xt63a nZWHqSXQjzb8m+sIGhZ5l1CRqcYvWMbpXQ0pQ5HnHnZu6TyKNkeso5fSmbOrXaFm9BpA xnWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@concord.sh header.s=dkim header.b=OjQ9z1vz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=concord.sh Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr17si11132594ejc.345.2021.10.29.14.13.14; Fri, 29 Oct 2021 14:13:23 -0700 (PDT) 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=@concord.sh header.s=dkim header.b=OjQ9z1vz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=concord.sh Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbhJ2VPk (ORCPT + 20 others); Fri, 29 Oct 2021 17:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231562AbhJ2VPj (ORCPT ); Fri, 29 Oct 2021 17:15:39 -0400 X-Greylist: delayed 493 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 29 Oct 2021 14:13:10 PDT Received: from yunyun.fuwafuwatime.moe (yunyun.fuwafuwatime.moe [IPv6:2604:180:2:42f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9FD4C061570 for ; Fri, 29 Oct 2021 14:13:10 -0700 (PDT) Received: from megumin.fuwafuwatime.moe (c-174-50-100-124.hsd1.ga.comcast.net [174.50.100.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by yunyun.fuwafuwatime.moe (Postfix) with ESMTPSA id 307A7C3AC5 for ; Fri, 29 Oct 2021 17:04:56 -0400 (EDT) Received: from bubbles.localdomain (bubbles.localdomain [192.168.1.122]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by megumin.fuwafuwatime.moe (Postfix) with ESMTPSA id 69A2A8EF52; Fri, 29 Oct 2021 17:04:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=concord.sh; s=dkim; t=1635541495; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=F8C4YACdUOBh8Na4tX1D5VmZwLlrVtset4SbG0K6Jyk=; b=OjQ9z1vzttCuhH5GeaIeIOvnEiplIp5HRVfhn3vY6U2XKz7n/UKjypbfsPIa1Dsgpe1E+7 L7ca6OmQRR1D/WJh3ldpcLhsifwgEN2wZomKqQ8hhBP7KR2UVgUGbldeqLCtxoNtJB5Qb3 /XCF/uieQUdgAO/588YXKkgR4vQr6RKWie7I78YTZLX7jxBqrdySpUnYBw6hqpFwLYpcRb USdC6Ub6sDnuBLTCWv+QpBiQvQOUIpimQ6/Htaim7HeBRw+lcLhXJFG1n3+zYKenH1iQ96 vizCJPLF74flFiy3ApGb5L9Ebob613Dz7ozOtPFrGXwBNkVJAYl0LvvFylQ4dg== From: Kenton Groombridge To: selinux-refpolicy@vger.kernel.org Cc: Kenton Groombridge Subject: [PATCH 7/7] corenet: make netlabel_peer_t mcs constrained Date: Fri, 29 Oct 2021 17:04:43 -0400 Message-Id: <20211029210443.17461-8-me@concord.sh> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211029210443.17461-1-me@concord.sh> References: <20211029210443.17461-1-me@concord.sh> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=me@concord.sh smtp.mailfrom=me@concord.sh X-Spam-Status: No, score=-2.60 Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org Signed-off-by: Kenton Groombridge --- policy/modules/kernel/corenetwork.te.in | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in index 010fc808e..42bbfc8df 100644 --- a/policy/modules/kernel/corenetwork.te.in +++ b/policy/modules/kernel/corenetwork.te.in @@ -53,6 +53,7 @@ network_packet_simple(icmp) # type netlabel_peer_t; sid netmsg gen_context(system_u:object_r:netlabel_peer_t,mls_systemhigh) +mcs_constrained(netlabel_peer_t) # # port_t is the default type of INET port numbers. -- 2.33.1