Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 161389 Details for
Bug 252358
Duplicate CONFIG_CHANGE audit records when starting auditd
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Possible solution
audit.patch (text/plain), 2.02 KB, created by
Eric Paris
on 2007-08-15 18:10:39 UTC
(
hide
)
Description:
Possible solution
Filename:
MIME Type:
Creator:
Eric Paris
Created:
2007-08-15 18:10:39 UTC
Size:
2.02 KB
patch
obsolete
>--- linux-2.6.18.x86_64/kernel/audit.c.pre.else 2007-08-15 14:05:19.000000000 -0400 >+++ linux-2.6.18.x86_64/kernel/audit.c 2007-08-15 14:07:16.000000000 -0400 >@@ -260,10 +260,10 @@ static int audit_set_rate_limit(int limi > kfree(ctx); > } else > res = 0; /* Something weird, deny request */ >- } >- audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >- "audit_rate_limit=%d old=%d by auid=%u res=%d", >- limit, old, loginuid, res); >+ } else >+ audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >+ "audit_rate_limit=%d old=%d by auid=%u res=%d", >+ limit, old, loginuid, res); > } > > /* If we are allowed, make the change */ >@@ -297,10 +297,10 @@ static int audit_set_backlog_limit(int l > kfree(ctx); > } else > res = 0; /* Something weird, deny request */ >- } >- audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >- "audit_backlog_limit=%d old=%d by auid=%u res=%d", >- limit, old, loginuid, res); >+ } else >+ audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >+ "audit_backlog_limit=%d old=%d by auid=%u res=%d", >+ limit, old, loginuid, res); > } > > /* If we are allowed, make the change */ >@@ -337,10 +337,10 @@ static int audit_set_enabled(int state, > kfree(ctx); > } else > res = 0; /* Something weird, deny request */ >- } >- audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >- "audit_enabled=%d old=%d by auid=%u res=%d", >- state, old, loginuid, res); >+ } else >+ audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >+ "audit_enabled=%d old=%d by auid=%u res=%d", >+ state, old, loginuid, res); > } > > /* If we are allowed, make the change */ >@@ -379,10 +379,10 @@ static int audit_set_failure(int state, > kfree(ctx); > } else > res = 0; /* Something weird, deny request */ >- } >- audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >- "audit_failure=%d old=%d by auid=%u res=%d", >- state, old, loginuid, res); >+ } else >+ audit_log(NULL, GFP_KERNEL, AUDIT_CONFIG_CHANGE, >+ "audit_failure=%d old=%d by auid=%u res=%d", >+ state, old, loginuid, res); > } > > /* If we are allowed, make the change */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252358
: 161389