diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2019-08-29 07:19:06 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2019-08-29 07:19:06 +0000 |
commit | 4b4d1b818e84c6eee3c06f60315510bf34729aba (patch) | |
tree | ce317234fa8a21539a40e242dd5baae8ed9abc38 /sys/sys/pcpu.h | |
parent | ae3353515bdeaa933c69a8b887a35a451a148390 (diff) | |
download | src-4b4d1b818e84c6eee3c06f60315510bf34729aba.tar.gz src-4b4d1b818e84c6eee3c06f60315510bf34729aba.zip |
zfs_ioc_snapshot: check user-prop permissions on snapshotted datasets
Previously, the permissions were checked on the pool which was obviously
incorrect.
After this change, zfs_check_userprops() only validates the properties
without any permission checks. The permissions are checked individually
for each snapshotted dataset.
This was also committed to ZoL: zfsonlinux/zfs@e6203d2
Reported by: CyberSecure
MFC after: 1 week
Sponsored by: CyberSecure
Notes
Notes:
svn path=/head/; revision=351593
Diffstat (limited to 'sys/sys/pcpu.h')
0 files changed, 0 insertions, 0 deletions