Skip to content

Commit b75d8f3

Browse files
rgbriggspcmoore
authored andcommitted
audit: drop /proc/PID/loginuid documentation Format field
Drop the "Format:" field from the /proc/PID/loginuid documentation and integrate the information into the Description field since it is not recognized by the "./scripts/get_abi.pl validate" command which causes a warning. Documentation/ABI/README describes the valid fields. Reported-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Richard Guy Briggs <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent d4ceb1d commit b75d8f3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/ABI/stable/procfs-audit_loginuid

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@ What: Audit Login UID
22
Date: 2005-02-01
33
KernelVersion: 2.6.11-rc2 1e2d1492e178 ("[PATCH] audit: handle loginuid through proc")
44
5-
Format: %u
65
Users: audit and login applications
76
Description:
87
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-
8+
read to get the audit login UID of process $pid as a
9+
decimal unsigned int (%u, u32). If it is unset,
10+
permissions are not needed to set it. The accessor must
11+
have CAP_AUDIT_CONTROL in the initial user namespace to
12+
write it if it has been set. It cannot be written again
13+
if AUDIT_FEATURE_LOGINUID_IMMUTABLE is enabled. It
14+
cannot be unset if AUDIT_FEATURE_ONLY_UNSET_LOGINUID is
15+
enabled.
1616

1717
What: Audit Login Session ID
1818
Date: 2008-03-13
1919
KernelVersion: 2.6.25-rc7 1e0bd7550ea9 ("[PATCH] export sessionid alongside the loginuid in procfs")
2020
21-
Format: %u
2221
Users: audit and login applications
2322
Description:
2423
The /proc/$pid/sessionid pseudofile is read to get the
25-
audit login session ID of process $pid. It is set
26-
automatically, serially assigned with each new login.
24+
audit login session ID of process $pid as a decimal
25+
unsigned int (%u, u32). It is set automatically,
26+
serially assigned with each new login.
2727

0 commit comments

Comments
 (0)