Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp168984pxf; Wed, 17 Mar 2021 18:58:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4kKeytx6+AG6gIb+VJOFlmGzkop5G+rjIGPdSkBTsyp5PuUA6Uatpcq0VgJ2FqtyFt1mH X-Received: by 2002:a17:906:3496:: with SMTP id g22mr39469852ejb.143.1616032708714; Wed, 17 Mar 2021 18:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616032708; cv=none; d=google.com; s=arc-20160816; b=gwhaN929JY+LUrLM8SgKbs0Qw+TNHg32OLWkXJt5GV3d17GBW/y6lilKkJvND4gCoN r8QKmPQhtDXmwlkwrMFPkMCDC1K1okW1Sl06xmSiTJlLuGMiGvRWRJavKIPJ+fzcWIkf Th6fJXMa5tzSSOtvUQ9/gvrWrRB7e0PvNeyJA51RfbnNrQbr6qMa/gwwVI0X6ZyGJxsH ZMdJlCfU3QaNky0nVFp2s0gMLZE+kc4FXV+8ArTLnmwAyE9vnLngvwEbcGagQdhsGkEl X7+abKQGscXg4yyabvfZriS8fP7w2LVFncc2bM3rbq1ImGpAhmvMeK220crjldxQMFEX vo2w== 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=Tzh8iVERozBJ4vax/U6WoN6ULQ6gPPm1xDKqOUTjwP4=; b=ebwUcz6KX50G10l5QOykX7b//ZVGzRh8mSSLWp3ybHes42ayulNvlyGJUPfd0bRL2o U3PsIuq5MgK4ZaumD3ntZBgYkBBfLTr2Cy4H9pj02zPoyuL7U9eBjVvgsEwhIFU3jmnz v1ri6SaYfyPKb0qVKNZ5LmMxGaMQAqYEb7vhYv7sMEl4OP2rT0hTM+YvYYfsptdsbUld nHQwETDmOPRfRbmacibPcAVgz9gXuKWPG1RM4c3EgU8Y8RqymJ4PrR5uxHStm6e1wJzN 5I3fWiLyxIg4S7AM4qi+w394wCTy7Y2+Y3GGasRDLeDNdIV3LsIxfakFAcDX7plL9XeJ sydA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=enMLzZyi; 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 c26si446196edn.447.2021.03.17.18.58.06; Wed, 17 Mar 2021 18:58:28 -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=@redhat.com header.s=mimecast20190719 header.b=enMLzZyi; 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 S231162AbhCRBvn (ORCPT + 99 others); Wed, 17 Mar 2021 21:51:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:25242 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbhCRBvf (ORCPT ); Wed, 17 Mar 2021 21:51:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616032294; 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=Tzh8iVERozBJ4vax/U6WoN6ULQ6gPPm1xDKqOUTjwP4=; b=enMLzZyiYPbRlBjKGjmkwu3oeIyL0sElVHK23Aqa2Zplg9Ui9kc0lhEDipDuGE/k/i5LDJ KbFf/xbTEJLNVSXa04WJmViZT4W5lcXc2IoVL5dM8n+jVysdTcauK7PdH9evaZWbSJkwLb PUl8MhU5U78TSw1IYBAtPHXCBV+qeGM= 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-322-laBHNe3EMc6zNw5oNYK9Gw-1; Wed, 17 Mar 2021 21:51:31 -0400 X-MC-Unique: laBHNe3EMc6zNw5oNYK9Gw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1F52A108BC7B; Thu, 18 Mar 2021 01:51:20 +0000 (UTC) Received: from madcap2.tricolour.ca (unknown [10.10.110.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5234650332; Thu, 18 Mar 2021 01:51:18 +0000 (UTC) From: Richard Guy Briggs To: Linux-Audit Mailing List , LKML Cc: Eric Paris , Paul Moore , Richard Guy Briggs Subject: [PATCH v2 2/2] audit: document /proc/PID/sessionid Date: Wed, 17 Mar 2021 21:50:50 -0400 Message-Id: <0e77d290bb50232d9ec9317645106f1330bd2d54.1616008065.git.rgb@redhat.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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 2008-03-13 in commit 1e0bd7550ea9 ("[PATCH] export sessionid alongside the loginuid in procfs") Signed-off-by: Richard Guy Briggs --- Documentation/ABI/stable/procfs-audit_loginuid | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/ABI/stable/procfs-audit_loginuid b/Documentation/ABI/stable/procfs-audit_loginuid index 013bc1d74854..5d09637a4ae2 100644 --- a/Documentation/ABI/stable/procfs-audit_loginuid +++ b/Documentation/ABI/stable/procfs-audit_loginuid @@ -13,3 +13,15 @@ Description: AUDIT_FEATURE_LOGINUID_IMMUTABLE is enabled. It cannot be unset if AUDIT_FEATURE_ONLY_UNSET_LOGINUID is enabled. + +What: Audit Login Session ID +Date: 2008-03-13 +KernelVersion: 2.6.25-rc7 1e0bd7550ea9 ("[PATCH] export sessionid alongside the loginuid in procfs") +Contact: linux-audit@redhat.com +Format: %u (u32) +Users: auditd, libaudit, audit-testsuite, login +Description: + The /proc/$pid/sessionid pseudofile is read to get the + audit login session ID of process $pid. It is set + automatically, serially assigned with each new login. + -- 2.27.0