From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Morris Subject: Re: [PATCH v2 2/4] seccomp: Configurable separator for the actions_logged string Date: Thu, 3 May 2018 07:11:36 +1000 (AEST) Message-ID: References: <1525276400-7161-1-git-send-email-tyhicks@canonical.com> <1525276400-7161-3-git-send-email-tyhicks@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1525276400-7161-3-git-send-email-tyhicks@canonical.com> Sender: linux-kernel-owner@vger.kernel.org To: Tyler Hicks Cc: linux-kernel@vger.kernel.org, Kees Cook , Andy Lutomirski , Will Drewry , Paul Moore , Eric Paris , Steve Grubb , Jonathan Corbet , linux-audit@redhat.com, linux-security-module@vger.kernel.org, linux-doc@vger.kernel.org List-Id: linux-audit@redhat.com On Wed, 2 May 2018, Tyler Hicks wrote: > The function that converts a bitmask of seccomp actions that are > allowed to be logged is currently only used for constructing the display > string for the kernel.seccomp.actions_logged sysctl. That string wants a > space character to be used for the separator between actions. > > A future patch will make use of the same function for building a string > that will be sent to the audit subsystem for tracking modifications to > the kernel.seccomp.actions_logged sysctl. That string will need to use a > comma as a separator. This patch allows the separator character to be > configurable to meet both needs. > > Signed-off-by: Tyler Hicks Reviewed-by: James Morris -- James Morris