Received: by 10.192.165.148 with SMTP id m20csp1101976imm; Wed, 2 May 2018 14:12:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqMj4Lv9M9CujQBH3Sgmrh8ThKG5auR91mClXtDkxREfBxF8Vg6mwmVPh151WzzJoiAOFI7 X-Received: by 10.98.180.25 with SMTP id h25mr8737991pfn.225.1525295533931; Wed, 02 May 2018 14:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525295533; cv=none; d=google.com; s=arc-20160816; b=JFdsVP1vKdJpOUjhxZYHtIINXRc5wzZ05kALi+YcU+QvtcjO666DWkt+WVZj4VYHSL s839Yy9Ijgu6UTinCppdbpp/NCUWlaHWg3WfLrkSyD6wcISFfWZXpe4s50C/Wfb9R+lH ojc2FcxPUwAdcg+Hi/SpkLTj5nbebQXEzsUOKEII4FkKmFtiaxcxBmIPfH/evVTBq9mE hutvvzHaiZIO6QFW4CciGzSEl44Gq9sxIsJgb3tS3Bd9yLQ+d2F1R57VSqwav1N9KAPh EDV1SnZs6S2Kf65I8h/FHAHK2iRKF/5albwWLMwNTqOOsFnllYGhqQdRb9F7AoUtblGA MpKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=WwxOIrR1TsdTDGLs4epxkT/xuveHl7TAC2bsiq+OnHc=; b=Pn3FyYyPtksXzgoNUrNP+kWokFshBBPE5TJ4SKgCaJUawHVSeU0CEbwUND03antf/8 UWrzhNXNsY8nn6miXsFUxUVkbUdAd2LBXQSLqpc9W46gJsYpFQ04DDI3h5g2Je3Di+BH 354i29abG9xsvKKKAo6H5RxAD1cvM9TfBeFiTQfc/tA6y97ce2O7aoYqKNEg/blWEiTu jd1P1HKKsQmXi9daM5gWJ0Es1WH77kEeYRlF97EPTrAUqroQlBaS/C/lpT/s53VTmv7o Slst6t3/FDAoTjar7Pc9XGx0/2ZupQZ9FoEfthrQsGl3Nfejkr+wizXtphEQQVc+wSWi hiDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t128-v6si14588pgt.368.2018.05.02.14.11.59; Wed, 02 May 2018 14:12:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751552AbeEBVLo (ORCPT + 99 others); Wed, 2 May 2018 17:11:44 -0400 Received: from namei.org ([65.99.196.166]:59182 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbeEBVLn (ORCPT ); Wed, 2 May 2018 17:11:43 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id w42LBapU031633; Wed, 2 May 2018 21:11:36 GMT Date: Thu, 3 May 2018 07:11:36 +1000 (AEST) From: James Morris 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 Subject: Re: [PATCH v2 2/4] seccomp: Configurable separator for the actions_logged string In-Reply-To: <1525276400-7161-3-git-send-email-tyhicks@canonical.com> Message-ID: References: <1525276400-7161-1-git-send-email-tyhicks@canonical.com> <1525276400-7161-3-git-send-email-tyhicks@canonical.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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