Pull audit updates from Paul Moore: "Audit is back for v5.5, albeit with only two patches: - Allow for the auditing of suspicious O_CREAT usage via the new AUDIT_ANOM_CREAT record. - Remove a redundant if-conditional check found during code analysis. It's a minor change, but when the pull request is only two patches long, you need filler in the pull request email" [ Heh on the pull request filler. I wish more people tried to write better pull request messages, even if maybe it's not worth it for the trivial cases ;^) - Linus ] * tag 'audit-pr-20191126' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit: audit: remove redundant condition check in kauditd_thread() audit: Report suspicious O_CREAT usage
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -156,7 +156,8 @@ extern void audit_log_d_path(struct audit_buffer *ab, · 155 unmodified lines | ||
| 156 | 156 | const struct path *path); |
| 157 | 157 | extern void audit_log_key(struct audit_buffer *ab, |
| 158 | 158 | char *key); |
| 159 | −extern void audit_log_link_denied(const char *operation); | |
| 159 | +extern void audit_log_path_denied(int type, | |
| 160 | + const char *operation); | |
| 160 | 161 | extern void audit_log_lost(const char *message); |
| 161 | 162 | |
| 162 | 163 | extern int audit_log_task_context(struct audit_buffer *ab); |
| @@ -217,7 +218,7 @@ static inline void audit_log_d_path(struct audit_buffer *ab, · 54 unmodified lines | ||
| 217 | 218 | { } |
| 218 | 219 | static inline void audit_log_key(struct audit_buffer *ab, char *key) |
| 219 | 220 | { } |
| 220 | −static inline void audit_log_link_denied(const char *string) | |
| 221 | +static inline void audit_log_path_denied(int type, const char *operation) | |
| 221 | 222 | { } |
| 222 | 223 | static inline int audit_log_task_context(struct audit_buffer *ab) |
| 223 | 224 | { |