From patchwork Tue Jul 21 19:57:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominick Grift X-Patchwork-Id: 11676565 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F0D6413B1 for ; Tue, 21 Jul 2020 19:57:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D4C4020771 for ; Tue, 21 Jul 2020 19:57:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=defensec.nl header.i=@defensec.nl header.b="TBu3rOVc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728691AbgGUT5i (ORCPT ); Tue, 21 Jul 2020 15:57:38 -0400 Received: from agnus.defensec.nl ([80.100.19.56]:56056 "EHLO agnus.defensec.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726892AbgGUT5i (ORCPT ); Tue, 21 Jul 2020 15:57:38 -0400 Received: from localhost.localdomain (brutus [IPv6:2001:985:d55d::438]) by agnus.defensec.nl (Postfix) with ESMTPSA id 896052A1007; Tue, 21 Jul 2020 21:57:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 agnus.defensec.nl 896052A1007 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=defensec.nl; s=default; t=1595361456; bh=QMoO9h0/Pm5EEATrgP7dI6Oay0211vrxf4SgIshbUwI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TBu3rOVcnh/bVdSHPF65Qd9G2biX69sBU6oM4mcoyqzoiRSkDpyL7Sym9p/9MJeST nzY40y0a9BvPr75fgfqGxpkROovjHT99sRUtRkPFNQIa2ktfnS50Qi/NCLrkvnqq+e 6FtfQHebVHPhKJ/GttDMYYpoPiz9km+huHjEdipU= From: Dominick Grift To: selinux@vger.kernel.org Cc: Dominick Grift Subject: [SELinux-notebook PATCH v2] lsm_selinux: document genfs_seclabel_symlinks policy capability Date: Tue, 21 Jul 2020 21:57:26 +0200 Message-Id: <20200721195726.1975554-1-dominick.grift@defensec.nl> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org This was added with Linux 5.7 and SELinux 3.1 Signed-off-by: Dominick Grift Acked-by: Stephen Smalley --- v2: copied and pasted feedback from Stephen Smalley src/lsm_selinux.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lsm_selinux.md b/src/lsm_selinux.md index a400c36..f762614 100644 --- a/src/lsm_selinux.md +++ b/src/lsm_selinux.md @@ -676,6 +676,11 @@ interface, it is not recommended - use the **libselinux** or **libsepol** librar Enables the use of separate socket security classes for all network address families rather than the generic socket class. +genfs_seclabel_symlinks +-r--r--r-- +Enables fine-grained labeling of symlinks in pseudo filesystems based on genfscon rules. + + network_peer_controls -r--r--r--

If true the following network_peer_controls are enabled: