1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

In FreeBSD we use 'jailed' property.

MFC after:	2 weeks
This commit is contained in:
Pawel Jakub Dawidek 2010-08-07 10:23:54 +00:00
parent 7f22a6d334
commit 8dc7024be4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210999

View File

@ -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))