History

Merge tag 'audit-pr-20191126' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit

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

Linus Torvalds committed 6 years ago

Commit 3b805ca2 parents ba75082 c34c78d4 files · +18 −11Browse files

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

Unified · Split

include/linux/audit.h+3−2
@@ -156,7 +156,8 @@ extern void audit_log_d_path(struct audit_buffer *ab, · 155 unmodified lines
156156 const struct path *path);
157157 extern void audit_log_key(struct audit_buffer *ab,
158158 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);
160161 extern void audit_log_lost(const char *message);
161162
162163 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
217218 { }
218219 static inline void audit_log_key(struct audit_buffer *ab, char *key)
219220 { }
220−static inline void audit_log_link_denied(const char *string)
221+static inline void audit_log_path_denied(int type, const char *operation)
221222 { }
222223 static inline int audit_log_task_context(struct audit_buffer *ab)
223224 {

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