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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -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 | ||
| 381 | struct audit_features { | 382 | struct audit_features { |