freebsd-nq/sys/security/audit
Konstantin Belousov 27725229dc Busy the mount point which is the owner of the audit vnode, around
audit_record_write().  This is important so that VFS_STATFS() is not
done on the NULL or freed mp and the check for free space is
consistent with the vnode used for write.

Add vn_start_write() braces around VOP_FSYNC() calls on the audit vnode.

Move repeated code to fsync vnode and panic to the helper
audit_worker_sync_vp().

Reviewed by:	rwatson
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2016-01-16 10:06:33 +00:00
..
audit_arg.c Replace struct filedesc argument in getvnode with struct thread 2015-06-16 13:09:18 +00:00
audit_bsm_klib.c fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
audit_bsm.c
audit_ioctl.h
audit_pipe.c Move the funsetown(9) call from audit_pipe_close() to cdevpriv 2016-01-13 14:02:07 +00:00
audit_private.h
audit_syscalls.c
audit_trigger.c
audit_worker.c Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
audit.c
audit.h
bsm_domain.c Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
bsm_errno.c Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
bsm_fcntl.c Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
bsm_socket_type.c Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
bsm_token.c Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00