diff options
| author | Kees Cook <[email protected]> | 2019-10-02 23:41:58 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2019-10-03 17:59:29 +0000 |
| commit | 245d73698ed7abdc7e520dfa38048bb80ce89571 (patch) | |
| tree | fb75f332d9a6efdb29749b6c66b28bafa86f33b2 /net/unix/af_unix.c | |
| parent | Linux 5.4-rc1 (diff) | |
| download | kernel-245d73698ed7abdc7e520dfa38048bb80ce89571.tar.gz kernel-245d73698ed7abdc7e520dfa38048bb80ce89571.zip | |
audit: Report suspicious O_CREAT usage
This renames the very specific audit_log_link_denied() to
audit_log_path_denied() and adds the AUDIT_* type as an argument. This
allows for the creation of the new AUDIT_ANOM_CREAT that can be used to
report the fifo/regular file creation restrictions that were introduced
in commit 30aba6656f61 ("namei: allow restricted O_CREAT of FIFOs and
regular files").
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
