freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs
Konstantin Belousov e0c161b89c Add another flags argument to vn_open_cred. Use it to specify that some
vn_open_cred invocations shall not audit namei path.

In particular, specify VN_OPEN_NOAUDIT for dotdot lookup performed by
default implementation of vop_vptocnp, and for the open done for core
file. vn_fullpath is called from the audit code, and vn_open there need
to disable audit to avoid infinite recursion. Core file is created on
return to user mode, that, in particular, happens during syscall return.
The creation of the core file is audited by direct calls, and we do not
want to overwrite audit information for syscall.

Reported, reviewed and tested by: rwatson
2009-06-21 13:41:32 +00:00
..
zfs Add another flags argument to vn_open_cred. Use it to specify that some 2009-06-21 13:41:32 +00:00
gfs.c work around snapshot shutdown race reported by Henri Hennebert 2009-05-30 19:26:35 +00:00
vnode.c Asynchronously release vnodes to avoid blocking on range locks when calling back in to zfs. 2009-05-07 20:28:06 +00:00