Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5459514pxb; Mon, 7 Feb 2022 02:28:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTcfjJxrVAAFKYWAxUz3ZIsz41GvMhupt2A8HxrJLEyvGnN017OOZIA3xynFM0kIZhw6sF X-Received: by 2002:a63:6b43:: with SMTP id g64mr8719054pgc.396.1644229714198; Mon, 07 Feb 2022 02:28:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644229714; cv=none; d=google.com; s=arc-20160816; b=TWZ7DJJsBngFF0hUGjyzzqNFqKnLvxRcIFyfCnJezCQ2HZJC0zdoplz+85FD0I1JhP /dFvNIiJhZr5UNALSb81iLpve+iqeuIxtZkUbWL+RIIg41qknmolVa4CAumpH+tOxhBJ WH1/3sMCgRrdcIR7C1dI6B9XytIbJ9H6F/Fz+C/eQ3xs0EhAWZ4l7VdfF4R4vNWPZtRe VKcJntPc0LftjwleR0NtXTE3g1rP6f8f6kg89hMc2ZZbV9JD3yg2A1lFQW72pTzevQeo Mlj3YwPXt/Vvu03ZU9KnXT+ni57H2WCz+4r6GZ5fPTN4TF3ZKWkphGCBUU3CBnpY/oAB 1yDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ETyvFl6qdRMB8SQczEmVTQXs7os0GqkrdQl4CBehRFk=; b=i88meIa3u1Up5PSGXWUjmZmrwUvvfDZl6vCh2v3XJ1EFFKLl82X/zkAHhXhMKFfAxp BiK6U+vA+wbHB+l8CWYkTXxdhRHFCvsR+MCxw6tkL8aXrPy9h3Ccp18TijiJ6Er05Zhg VLAQGvbcuRGwZ86ToHPawgjbxWBoe/PAvg9FYEe46CoY7UnsGk0DqagKY9VJx0nqVh28 RNJrL5Uii/iEjnggJ6lAG12M3L/Bup4FTgMlPn+9EWHpZqXh/tYz0eOTw+VE0zYp68tp VQbzTyZlTxN/MH5MRZaZXD6btsnlyOgExlyfP7+W8b7ZnF641HD3qAIMrqhrzuMwzabP mYGA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5si5753791pfv.325.2022.02.07.02.28.22; Mon, 07 Feb 2022 02:28:34 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378616AbiBEDKf (ORCPT + 99 others); Fri, 4 Feb 2022 22:10:35 -0500 Received: from mail.hallyn.com ([178.63.66.53]:35424 "EHLO mail.hallyn.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233090AbiBEDKd (ORCPT ); Fri, 4 Feb 2022 22:10:33 -0500 Received: by mail.hallyn.com (Postfix, from userid 1001) id 8FFA97E4; Fri, 4 Feb 2022 21:10:32 -0600 (CST) Date: Fri, 4 Feb 2022 21:10:32 -0600 From: "Serge E. Hallyn" To: James Morris Cc: "Andrew G. Morgan" , linux-kernel@vger.kernel.org, Eric Biederman , "Serge E . Hallyn" Subject: Re: [PATCH] proc: add SecBits field to /proc//status Message-ID: <20220205031032.GA14228@mail.hallyn.com> References: <20220131051558.77127-1-morgan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 04, 2022 at 04:32:00AM +1100, 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. I don't think anyone should be using that file expecting the fields in a certain order. No 'grep "^VmRSS:" /proc/self/status' type of use is going to be broken by this patch. Do you have something else in mind? -serge