-
- Downloads
audit: overhaul __audit_inode_child to accomodate retrying
In order to accomodate retrying path-based syscalls, we need to add a new "type" argument to audit_inode_child. This will tell us whether we're looking for a child entry that represents a create or a delete. If we find a parent, don't automatically assume that we need to create a new entry. Instead, use the information we have to try to find an existing entry first. Update it if one is found and create a new one if not. Signed-off-by:Jeff Layton <jlayton@redhat.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/btrfs/ioctl.c 1 addition, 1 deletionfs/btrfs/ioctl.c
- fs/namei.c 1 addition, 1 deletionfs/namei.c
- include/linux/audit.h 11 additions, 5 deletionsinclude/linux/audit.h
- include/linux/fsnotify.h 4 additions, 4 deletionsinclude/linux/fsnotify.h
- kernel/auditsc.c 30 additions, 27 deletionskernel/auditsc.c
Loading
Please register or sign in to comment