Skip to content

Commit 1dd34cf

Browse files
rgbriggspcmoore
authored andcommitted
audit: document /proc/PID/loginuid
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 <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent c432237 commit 1dd34cf

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
What: Audit Login UID
2+
Date: 2005-02-01
3+
KernelVersion: 2.6.11-rc2 1e2d1492e178 ("[PATCH] audit: handle loginuid through proc")
4+
Contact: linux-audit@redhat.com
5+
Format: %u
6+
Users: audit and login applications
7+
Description:
8+
The /proc/$pid/loginuid pseudofile is written to set and
9+
read to get the audit login UID of process $pid. If it is
10+
unset, permissions are not needed to set it. The accessor must
11+
have CAP_AUDIT_CONTROL in the initial user namespace to write
12+
it if it has been set. It cannot be written again if
13+
AUDIT_FEATURE_LOGINUID_IMMUTABLE is enabled. It cannot be
14+
unset if AUDIT_FEATURE_ONLY_UNSET_LOGINUID is enabled.
15+

0 commit comments

Comments
 (0)