Home
last modified time | relevance | path

Searched refs:ds_hexsl (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dtlabel.c236 char ds_hexsl[MAXNAMELEN]; in getflabel_zfs() local
243 1, sizeof (ds_hexsl), &ds_hexsl, NULL); in getflabel_zfs()
246 if ((error) || (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0)) in getflabel_zfs()
248 if (hexstr_to_label(ds_hexsl, &ds_sl) != 0) in getflabel_zfs()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c1654 char ds_hexsl[MAXNAMELEN]; in zfs_mount_label_policy() local
1662 1, sizeof (ds_hexsl), &ds_hexsl, NULL); in zfs_mount_label_policy()
1672 if (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0) in zfs_mount_label_policy()
1693 return (zfs_check_global_label(osname, ds_hexsl)); in zfs_mount_label_policy()
1708 if (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0) { in zfs_mount_label_policy()
1721 } else if (hexstr_to_label(ds_hexsl, &ds_sl) == 0) { in zfs_mount_label_policy()
H A Dzfs_ioctl.c601 char ds_hexsl[MAXNAMELEN]; in zfs_set_slabel_policy() local
610 1, sizeof (ds_hexsl), &ds_hexsl, NULL); in zfs_set_slabel_policy()
651 if (strcasecmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) != 0) { in zfs_set_slabel_policy()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c3823 char ds_hexsl[MAXNAMELEN]; in validate_rootds_label() local
3850 if ((zfs_prop_get(zhp, ZFS_PROP_MLSLABEL, ds_hexsl, MAXNAMELEN, in validate_rootds_label()
3852 (strcmp(ds_hexsl, ZFS_MLSLABEL_DEFAULT) == 0)) { in validate_rootds_label()
3881 error = hexstr_to_label(ds_hexsl, &ds_sl); in validate_rootds_label()