Skip to contentSkip to conversation

audit: documentation of audit= kernel parameter

PATCH In review Eric Paris 2 participants 2 messages Jan 13, 2014 Documentation

lore
Share & tools
lore

Eric Paris

author
#0 lore raw

PATCH 1/1 audit: documentation of audit= kernel parameter

Further documentation of the 3 possible kernel value of the audit command line option.

---
 Documentation/kernel-parameters.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/kernel-parameters.txt +8 -0
index ab86766..5867442 100644
@@ -465,6 +465,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 
 	audit=		[KNL] Enable the audit sub-system
 			Format: { "0" | "1" } (0 = disabled, 1 = enabled)
+			0 - kernel audit is disabled and can not be enabled
+			    until the next reboot
+			unset - kernel audit is partially enabled and will
+			    be fully enabled by the userspace auditd
+			1 - kernel audit is partially enabled just like 'unset'
+			    only at most audit_backlog_limit messages will be
+			    retained in RAM and forwarded to userspace auditd
+			    when it being.
 			Default: unset
 			
 	audit_backlog_limit= [KNL] Set the audit queue size limit.
Signature · 1 line
1.8.4.2
#1 lore raw
Quoted 13 lines · Eric Paris

Further documentation of the 3 possible kernel value of the audit command line option.

---
 Documentation/kernel-parameters.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/kernel-parameters.txt +0 -0
index ab86766..5867442 100644

Documentation/kernel-parameters.txt bytes respectively. Such letter suffixes can also be entirely omitted. · line 471

Quoted 7 lines
Documentation/kernel-parameters.txt +4 -0
@@ -465,6 +465,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 
 	audit=		[KNL] Enable the audit sub-system
 			Format: { "0" | "1" } (0 = disabled, 1 = enabled)
+			0 - kernel audit is disabled and can not be enabled
+			    until the next reboot
+			unset - kernel audit is partially enabled and will
+			    be fully enabled by the userspace auditd

How about:
unset - kernel audit is initialized but disabled and will
be fully enabled by the userspace auditd

Documentation/kernel-parameters.txt bytes respectively. Such letter suffixes can also be entirely omitted. · line 475

Quoted 4 lines
Documentation/kernel-parameters.txt +4 -0
+			1 - kernel audit is partially enabled just like 'unset'
+			    only at most audit_backlog_limit messages will be
+			    retained in RAM and forwarded to userspace auditd
+			    when it being.

It looks like this sentence finished a bit prematurely... How about "...when available." or a rewrite:

1 - kernel audit is initialized and partially
enabled, storing at most audit_backlog_limit messages in RAM until it is fully enabled by the userspace auditd.

Documentation/kernel-parameters.txt bytes respectively. Such letter suffixes can also be entirely omitted. · line 478

Quoted 3 lines
Documentation/kernel-parameters.txt +0 -0
 			Default: unset
 
 	audit_backlog_limit= [KNL] Set the audit queue size limit.

- RGB

--
Richard Guy Briggs <[email protected]>
Senior Software Engineer, Kernel Security, AMER ENG Base Operating Systems, Red Hat Remote, Ottawa, Canada
Voice: +1.647.777.2635, Internal: (81) 32635, Alt: +1.613.693.0684x3545