changeset 7882:5619e6e27d7c

[PATCH] Initialize v_secid in ZFS before first zfs_zaccess() Move the initialization of v_secid for ZFS down to where the znode is initialized to ensure v_secid is valid before the first zfs_zaccess check. This corrects policy failures that were observed when removing files. fmac_vnode_lookup() was trying to retrieve the context on file systems that did not support system attributes, thus setting v_secid to the wrong value (SECINITSID_FILE).
author John Weeks <john.weeks@sun.com>
date Wed, 15 Oct 2008 08:13:13 -0700
parents fbb450806b75
children 8e2e92a9a471
files usr/src/uts/common/fmac/fmac.c