Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5534859pxb; Mon, 7 Feb 2022 04:24:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwILNYICEbh2BvkcuNpurFf6iwmmtJxefzpcZ2q1sKSGYlrixjV+3iRTePi1/Kk2fXnKe9+ X-Received: by 2002:a17:907:96aa:: with SMTP id hd42mr9842425ejc.74.1644236660497; Mon, 07 Feb 2022 04:24:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644236660; cv=none; d=google.com; s=arc-20160816; b=IGzVbvuSiTrAqWHocu/Q/H18vtqDWMVf92dhjV8HffVEyzSlb2VhbAfc0ne0+gx0cv gs/DubGzAnI4hydHIxholJ7z6p/4d+omQgfGEzhnleyrlkj+RQZxN0EgkN5KVCLI8lpw cND8sUQQQfDxmAmOsAm0jyzJSzKpcI53iAOiDutxXBTIb5ABE0D00yZgwLWElo1A1zhr eFkqhaVYwyBbhW8ZuLYweH5JkagdZDRO8LFYTCjS+C1ck5uB6p2tBGpNBjgRuZGz0Iyr La/Ggn+UCG1Exk8JBTP51+big2rziIi18NpULMnXLmMK4GGOFvSm3SAwG+d6Rnix+P1c v0Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=AeXBm/rfxhK57TM4Y43wxxJNMsmmMyghZ4AqBNU1W8M=; b=C6cwGvUiVhxc8rnitT6FfDz056LfRQC206ShtJMgpXRD3viANeYrwqgfx7aN/fWhrd yqnt8PXAEUxEOkGQ+7ECGyoUkox2ohxFvcfTdiWyJEqhaZYUKa0dj5pnomrVWlPB/hJ8 NL7S19J2kT6KU892bcEH2Mtntxj09u6fOM66F/3dRFrOJApq7PRbd0lspYFkYJpCcEt6 QTWbpGIAuuw9ZsFpsgb2PXX9QdvER36JRgsqGnAK+9seDskz51ZZLqMF7gTf124ipoBF ukG1ozWYKVvuQT+XOaSWQgr+ofK++YrxHH+XcbAM+G9kURLNsM++yjTPNcXVKQLG5VTI ZGTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1si1515684edv.530.2022.02.07.04.23.53; Mon, 07 Feb 2022 04:24:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356957AbiBDEaC (ORCPT + 99 others); Thu, 3 Feb 2022 23:30:02 -0500 Received: from mail-qv1-f46.google.com ([209.85.219.46]:39932 "EHLO mail-qv1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233571AbiBDE36 (ORCPT ); Thu, 3 Feb 2022 23:29:58 -0500 Received: by mail-qv1-f46.google.com with SMTP id k4so4444524qvt.6 for ; Thu, 03 Feb 2022 20:29:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AeXBm/rfxhK57TM4Y43wxxJNMsmmMyghZ4AqBNU1W8M=; b=VjSuqiMtjo9rUvFwgHWCKP6uFUx+IfuPpxE7ENNWfJmDOL4pwPTisTIzX5KSSkoNHS 6KIUo3nCmzjpg12X8JlWQ+bS0DhlvpSUZz2ftjMRCHKURAMgPumyXLBdQg1+599xP67i a+jsBXD/ELWi0ihSJlSXDg3wAbbYpgCxTlep9RcYY+vMTq8hAyCD1vjQvko3genO28mh QUwwCONyB2KGtDlOTs/l5eenep3krLEGdkVrCgtcksP+D8loqDfPc2wnDgBlOH4qvRb7 EhABteltGuFUIGQ+xP4lDdRfd2ubYrN01rY2318eybMsCALL/mCvOI5t1TAxalJ3QFfq vI7A== X-Gm-Message-State: AOAM532YyJuDRVnQBebk76uWbS3JLc03iVPibBDTC7l+kXhfZ0rFuSpv 0CSwMEipc9moYrDhKqbSxod9+zaInWfQNXcn2RunjpRimRatiA== X-Received: by 2002:a05:6214:21ac:: with SMTP id t12mr691864qvc.123.1643948997789; Thu, 03 Feb 2022 20:29:57 -0800 (PST) MIME-Version: 1.0 References: <20220131051558.77127-1-morgan@kernel.org> In-Reply-To: From: "Andrew G. Morgan" Date: Thu, 3 Feb 2022 20:29:47 -0800 Message-ID: Subject: Re: [PATCH] proc: add SecBits field to /proc//status To: James Morris Cc: linux-kernel@vger.kernel.org, Eric Biederman , "Serge E . Hallyn" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org James, I'm not sure how to address this concern. Is there a specific issue like the characters used in the newly added line are problematic in some way? (I think '.' is the only character introduced by this change that I don't currently find in, say, /proc/1/status, but if I create a file called foo.bin and execute it, its status file contains that character.) In a more general sense, how might this change be problematic in a way that, say fe719888344cc (from 2020-12-15) which added the line "SpeculationIndirectBranch:\t..." was not of similar concern? I've tried to be consistent with the formatting etc. Am I missing something? Thanks Andrew On Thu, Feb 3, 2022 at 9:45 AM James Morris wrote: > > On Sun, 30 Jan 2022, Andrew G. Morgan wrote: > > > Securebits strongly influence the way Capabilities work for a process, > > make them visible in the proc status files. > > My concern is that this might break some existing userspace code which > parses the status file. > > > -- > James Morris > >