Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp521534pxf; Thu, 11 Mar 2021 08:43:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkXtsi1y/xqpaMAB7On/eHk4JFiHE1HDt3hnog2idx/j3eKjJPLxldL6276tNB18utbnOA X-Received: by 2002:a05:6402:510b:: with SMTP id m11mr9505415edd.103.1615481004229; Thu, 11 Mar 2021 08:43:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615481004; cv=none; d=google.com; s=arc-20160816; b=ADXGW2RJgL7JkJNwQwk/tjuh7skDOJQ7F24pqp4tqarkd8bXCMD0WkPT3Y/MHMXGZS 2fn2dPdej7lGxMQYFEQmreg/YfDj6dofzc7EqF4vG5o953DnOgLYRtpq6ZIzzA07ppJS lKtQSiHDD/GTvo84NCwEJXeO02dpXQgEnuolgm0Dg4NcUsIfpHBC5NW7hg6CYGLlP9xO c2JtU13DKxvxdFFuqLihqUTXmCorC4nQnfkeBtbzpewwhzP8Spbga7vod5Yz9vWdCas3 nHUD1OiJ/VB9QkmT/7vRh7tm2udspjmpNzPGoGrsGTijWGSENYcNtCF/0OPEXKqYnKUE dyTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3CN53jkduvdji2wLprSRs5qfdjtoV/DNponO/XVCBx8=; b=N/FDhKe63HwILQUha3iG/n/A0s8n0s+2b8yPqXuOtCt7q6tQY6BVEWlVPYFxRIdZKP +zYrJ3UjLQ7RofWhUc3ex2PvlJrXI88Q/2CxxpyZLaTT7y/vsYTiTw37h+/79K/4q3aB 2X/wL1rg7naFfdAhxAw6rEmMoMq9Wba/HqtYVXWRALaCT68CUr17feX9W+uBiKDTBlrv VvpyGGUELl62pEonM5Fy6BTBbMZNVZ3tgDkNiJ0vZTTBa8e6NtbVV7BKzmTANbeviw+H dZDoDsK7T5ahbbHKwTAJS2h8yJGwY5ShvVVpDsztu0VHj4ZK+SrRPfqXpcdHaJ4Scc+c bFjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OfzT90KV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si2201606edl.120.2021.03.11.08.43.01; Thu, 11 Mar 2021 08:43:24 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=OfzT90KV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229810AbhCKQlv (ORCPT + 99 others); Thu, 11 Mar 2021 11:41:51 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:42629 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbhCKQl0 (ORCPT ); Thu, 11 Mar 2021 11:41:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615480886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3CN53jkduvdji2wLprSRs5qfdjtoV/DNponO/XVCBx8=; b=OfzT90KVye+bjYfEGxGY5aKvjjbPopQdl4l/vD8LStJAS429Nzz6Rqp8RBqMr8QdPLqMGY SI47iwN2A8X02kPk1CUskwYw4T1cj7xvtn5zvYfVABSPbKLmUzizVPMkl5R9iAdYpe5f/r FnxhyS2fislU/VkqqQ4MR166cn/Od7Q= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-408-Z0J5a3g9PIaZia7QF3UnNg-1; Thu, 11 Mar 2021 11:41:24 -0500 X-MC-Unique: Z0J5a3g9PIaZia7QF3UnNg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 141BA760C1; Thu, 11 Mar 2021 16:41:23 +0000 (UTC) Received: from madcap2.tricolour.ca (unknown [10.10.110.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id AEAA010013D6; Thu, 11 Mar 2021 16:41:21 +0000 (UTC) From: Richard Guy Briggs To: Linux-Audit Mailing List , LKML Cc: Eric Paris , Paul Moore , Richard Guy Briggs Subject: [PATCH 1/2] audit: document /proc/PID/loginuid Date: Thu, 11 Mar 2021 11:40:50 -0500 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 100664 index 000000000000..fae63bef2970 --- /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: u32 +Users: auditd, libaudit, audit-testsuite, login +Description: + The /proc/$pid/loginuid pseudofile is written to set and + read to get the audit login UID of process $pid. If it is + unset, permissions are not needed to set it. The accessor must + have CAP_AUDIT_CONTROL in the initial user namespace to write + it if it has been set. It cannot be written again if + AUDIT_FEATURE_LOGINUID_IMMUTABLE is enabled. It cannot be + unset if AUDIT_FEATURE_ONLY_UNSET_LOGINUID is enabled. + -- 2.27.0