Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c1597 m_label_t *zlabel; in _check_label() local
1603 if ((zlabel = getzonelabelbyname(zonename)) == NULL) { in _check_label()
1618 free(zlabel); in _check_label()
1630 free(zlabel); in _check_label()
1635 if (blinrange(zlabel, &drange) == 0) { in _check_label()
1638 (void) bsltos(zlabel, &zlbl, 0, 0); in _check_label()
1645 free(zlabel); in _check_label()
1654 free(zlabel); in _check_label()
1660 free(zlabel); in _check_label()
1663 in_range = blinrange(zlabel, range); in _check_label()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c1084 ts_label_t *zlabel; in smbfs_mount_label_policy() local
1093 zlabel = mntzone->zone_slabel; in smbfs_mount_label_policy()
1094 ASSERT(zlabel != NULL); in smbfs_mount_label_policy()
1095 label_hold(zlabel); in smbfs_mount_label_policy()
1106 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi) in smbfs_mount_label_policy()
1112 mntlabel = label2bslabel(zlabel); in smbfs_mount_label_policy()
1149 label_rele(zlabel); in smbfs_mount_label_policy()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c165 static m_label_t *zlabel = NULL; variable
4084 if ((bldominates(zlabel, zid_label)) && in tsol_mounts()
4124 } else if ((bldominates(zid_label, zlabel)) && in tsol_mounts()
4258 if (zlabel != NULL && bldominates(zid_label, zlabel)) { in tsol_unmounts()
4342 if (zlabel == NULL) in get_zone_label()
4343 zlabel = m_label_alloc(MAC_LABEL); in get_zone_label()
4961 *zlabel = zcent->zc_label; in vplat_create()
4965 if (validate_rootds_label(zlogp, rootpath, zlabel) != 0) in vplat_create()
5038 rctlbufsz, zfsbuf, zfsbufsz, &xerr, match, doi, zlabel, in vplat_create()
5059 (void) getzonenamebyid(getzoneidbylabel(zlabel), in vplat_create()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c5127 ts_label_t *zlabel; in nfs_mount_label_policy() local
5136 zlabel = mntzone->zone_slabel; in nfs_mount_label_policy()
5137 ASSERT(zlabel != NULL); in nfs_mount_label_policy()
5138 label_hold(zlabel); in nfs_mount_label_policy()
5160 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi) in nfs_mount_label_policy()
5176 mntlabel = label2bslabel(zlabel); in nfs_mount_label_policy()
5212 label_rele(zlabel); in nfs_mount_label_policy()