History

audit: clean up AUDIT_GET/SET local variables and future-proof API

Re-named confusing local variable names (status_set and status_get didn't agree with their command type name) and reduced their scope. Future-proof API changes by not depending on the exact size of the audit_status struct and by adding an API version field.

Richard Guy Briggs committed 13 years ago

Commit 09f883a1 parent f910fde2 files · +30 −25Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/audit.h+1−0
@@ -376,6 +376,7 @@ struct audit_status { · 375 unmodified lines
376 __u32 backlog_limit; /* waiting messages limit */376 __u32 backlog_limit; /* waiting messages limit */
377 __u32 lost; /* messages lost */377 __u32 lost; /* messages lost */
378 __u32 backlog; /* messages waiting in queue */378 __u32 backlog; /* messages waiting in queue */
379 __u32 version; /* audit api version number */
379};380};
380 381
381struct audit_features {382struct audit_features {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t