Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp812498pxf; Thu, 18 Mar 2021 12:07:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxd6bY/9ByRkxEZuuhxtgPmVPDS7F/BnVZNH8Yb+WAMWV54KzO28XhO3H0A9zhS1bDyM4Wg X-Received: by 2002:aa7:c74a:: with SMTP id c10mr5433054eds.332.1616094472090; Thu, 18 Mar 2021 12:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616094472; cv=none; d=google.com; s=arc-20160816; b=qmhOgDKaut3Tilo7iLvfuZW3R6FWNrIlcoIcJ+03pdSwXSgEDsuARDKR4lzD6HQecz iudfikVAJEa5ME7iu9fQMh6TrDHur7SHNKccrcpodlrf3Xe+PCR+CI8a6Hx6fnxQWyCa Fm53qMtxIsA3yYO1cGm0OcAVnB8RYVJUmoQwmg8ujkunD/A5dpg0SPVBvQKBgPLkT1/S 4hqs/KYS9K8dJ2NGXyMghc0QtytwdVPGrF6gT/+aL6ZLj0VI4VMabL6fWKs8MqHUyHYr 8IY3cwxBJdUjQg71ZY3Fc4KGZsxO8LMIjzHghwcTdNL5XO5dF6ZE88+5eue7AZhLYQOW L7/g== 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:dkim-signature; bh=wpeAY+IlhK2l7Stnip3mBHYcu4i8LuRlI2TMsBQ+z28=; b=IhkBuYbjnLuy1jxiKk92+t1K5Cm5AimLTlkTvT6KtC8UC6j5eU/fU96W0RvuvZwECp vy7L11Rqom+EzPQdWto0OxveJ6YN+r0AhpOfs1kljlvk2TGbUgF4XYJtzGIL5DPJIvNf Qd0j+49eJImlMJlt8dEkPp2On68CCYboexAUsm738Z8f7VTxUuzQyX3wAX7LVmzgdNPd gFugDCohgVlrP3kDaHv+QU8rsseq8mlbW7kDv8BFAejCM765T1/6axR52zT5em+9y/pS tIrU2HVDWmlC5Xblro3b8VmBZMInVQPvufANQH4otY4ztyRA2fSjmwTUj+VPDX5jdqYZ Movw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b="osyoo1e/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p3si2337626ejd.319.2021.03.18.12.07.28; Thu, 18 Mar 2021 12:07:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b="osyoo1e/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232792AbhCRTGV (ORCPT + 99 others); Thu, 18 Mar 2021 15:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbhCRTFw (ORCPT ); Thu, 18 Mar 2021 15:05:52 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A9C0C06174A for ; Thu, 18 Mar 2021 12:05:52 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id jy13so5650430ejc.2 for ; Thu, 18 Mar 2021 12:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wpeAY+IlhK2l7Stnip3mBHYcu4i8LuRlI2TMsBQ+z28=; b=osyoo1e/fFBBhxzr5GbwB5KNn2SQkjGo2E8ZhF1UFtkpg3hCjlOetntqgie+vy7lwd OBAlItyS8ryUBbQu6++0puXQ3yHTsHZA/svFx7x3hckLc379plW/oHyEf+G6F77EQ/Cw OsKEjYH6qgwdFIna57rTY0whQaKulmG2y5S5uWJ/PghmTECc7fOODxKfwIJS3HKLsmAp kb8j5td8Ln6nI9meDr67lIeD8mc1cBJ9V06+HE9SzqdIq9I4+VKAUYqf0LTfs67cMXa1 ZpzFiDLPVFl/vq0R4Phx+GTZws0StOahHgtRM73XFTHTsJ7B6v4WLOpma07WANAL+eWR Oivg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wpeAY+IlhK2l7Stnip3mBHYcu4i8LuRlI2TMsBQ+z28=; b=G7L/vbn1nEFzIshFPbJPx0M5PFLxY2vNwzczqtqEVqlHmb92yW4JAjkav0PYUXQ1G1 WiCPxoqQ8/pACSGPMQODpdCEFQTMbuRfTXeqOphXe8mBF6k0F3L4XmGap0XJb9KMm+pL SkB6WNHGh/R9b/4qhwt8y0j7NJTBduJEpj/zKDTgg7TjLsl3wKqvOMLzQh11ZXqntA95 EuTsgd32eLeNbAuE3AOlt/YprAOQrBjypHSklAfoHhX4g6P0lAJpSdNHWsRZH+BNVkDw hgUOX5c8pwmN3WOECnAswS38+41hezdqseK49hym6PkwHP6Y6Y/y7i2wzNM3PKaTuoeD esdA== X-Gm-Message-State: AOAM533by5XNG2MkkjlX42ytUYFC/KTkqD/z/udjUvwRhWGbm+bq4HZU y4wx5i5FaLglaYcVrYqdnus5TWX4NeqSBoM/Ixhi X-Received: by 2002:a17:906:a443:: with SMTP id cb3mr66435ejb.542.1616094350794; Thu, 18 Mar 2021 12:05:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul Moore Date: Thu, 18 Mar 2021 15:05:39 -0400 Message-ID: Subject: Re: [PATCH v2 1/2] audit: document /proc/PID/loginuid To: Richard Guy Briggs Cc: Linux-Audit Mailing List , LKML , Eric Paris Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 17, 2021 at 9:51 PM Richard Guy Briggs wrote: > > Describe the /proc/PID/loginuid interface in Documentation/ABI/stable that > was added 2005-02-01 by commit 1e2d1492e178 ("[PATCH] audit: handle > loginuid through proc") > > Signed-off-by: Richard Guy Briggs > --- > Documentation/ABI/stable/procfs-audit_loginuid | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100644 Documentation/ABI/stable/procfs-audit_loginuid > > diff --git a/Documentation/ABI/stable/procfs-audit_loginuid b/Documentation/ABI/stable/procfs-audit_loginuid > new file mode 100644 > index 000000000000..013bc1d74854 > --- /dev/null > +++ b/Documentation/ABI/stable/procfs-audit_loginuid > @@ -0,0 +1,15 @@ > +What: Audit Login UID > +Date: 2005-02-01 > +KernelVersion: 2.6.11-rc2 1e2d1492e178 ("[PATCH] audit: handle loginuid through proc") > +Contact: linux-audit@redhat.com > +Format: %u (u32) Existing examples seem to just use the printf format specifier, e.g. "%u", without the explicit type, e.g. "u32", which seems cleanest to me. I would suggest changing this to just "Format: %u" to better fit existing convention. > +Users: auditd, libaudit, audit-testsuite, login I didn't get an opportunity to reply to the previous thread before you sent this, but I really don't like listing specific userspace tools/libraries here. I recognize that you like the specificity, but I do not, and I fear that it will become invalid over time either due to deprecation of old packages or omission of new ones; the fact that we are just now adding an entry from 2005 shows how this area of Documentation can often be neglected. Please replace this with something like "audit and login applications" or something similar. -- paul moore www.paul-moore.com