On Sun, Jul 08, 2007 at 05:57:25PM -0600, Mark Shellenbaum wrote: > Pawel Jakub Dawidek wrote: > >On Tue, Jun 26, 2007 at 07:45:51AM -0700, Mark.Shellenbaum at Sun.COM wrote: > >>Author: marks > >>Repository: /hg/onnv/onnv-gate > >>Latest revision: 12bb2876a62ea4f4c1b28320f39a0d30334fdf21 > >>Total changesets: 1 > >>Log message: > >>PSARC/2006/465 ZFS Delegated Administration > >>PSARC/2006/577 zpool property to disable delegation > >>PSARC/2006/625 Enhancements to zpool history > >>PSARC/2007/228 ZFS delegation amendments > >>PSARC/2007/295 ZFS Delegated Administration Addendum > >>6280676 restore "owner" property > >>6349470 investigate non-root restore/backup > >>6572465 'zpool set bootfs=...' records history as 'zfs set bootfs=...' > >In this commit you changed: > >{ zfs_ioc_set_prop, zfs_secpolicy_write, dataset_name }, > >to: > >{ zfs_ioc_set_prop, zfs_secpolicy_none, dataset_name, B_TRUE }, > >Was that intended? Is zfs_secpolicy_none() safe for zfs_ioc_set_prop()? > > Yes, that was intended. The permission to set specific properties is checked > in zfs_set_prop_nvlist() via zfs_secpolicy_write_perms().
Thanks for explanation then and sorry for the noice:) -- Pawel Jakub Dawidek http://www.wheel.pl pjd at FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-code/attachments/20070709/26de3eaf/attachment.bin>