audit: document /proc/PID/sessionid
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 18 Mar 2021 19:19:11 +0000 (15:19 -0400)
committerPaul Moore <paul@paul-moore.com>
Thu, 18 Mar 2021 20:58:06 +0000 (16:58 -0400)
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 <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Documentation/ABI/stable/procfs-audit_loginuid

index e7c100b9ab18e64e339b0b64165576ae9a7135f6..9d55a3ff4b348b171e9f0432af0dff94be837dc2 100644 (file)
@@ -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
+Users:         audit and login applications
+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.
+