In FreeBSD we use 'jailed' property.
MFC after: 2 weeks
This commit is contained in:
parent
7f22a6d334
commit
8dc7024be4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210999
@ -357,7 +357,7 @@ zfs_secpolicy_setprop(const char *name, zfs_prop_t prop, cred_t *cr)
|
||||
* quota on things *under* (ie. contained by)
|
||||
* the thing they own.
|
||||
*/
|
||||
if (dsl_prop_get_integer(name, "zoned", &zoned,
|
||||
if (dsl_prop_get_integer(name, "jailed", &zoned,
|
||||
setpoint))
|
||||
return (EPERM);
|
||||
if (!zoned || strlen(name) <= strlen(setpoint))
|
||||
|
Loading…
Reference in New Issue
Block a user