Searched refs:zoneroot (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/lib/libtsol/common/
H A Dzone.c121 * Get zoneroot for a zoneid
127 char zoneroot[MAXPATHLEN]; local
129 if (zone_getattr(zoneid, ZONE_ATTR_ROOT, zoneroot,
130 sizeof (zoneroot)) == -1) {
134 return (strdup(zoneroot));
138 * Get zoneroot for a zonename
152 * Get zoneroot for a label
195 char zoneroot[MAXPATHLEN]; local
201 if (zone_getattr(zids[i], ZONE_ATTR_ROOT, zoneroot,
202 sizeof (zoneroot))
[all...]
/osnet-11/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c315 char zoneroot[MAXPATHLEN]; local
329 if (zone_get_rootpath(zonename, zoneroot, sizeof (zoneroot)) != Z_OK)
332 zoneroot) >= sizeof (path))
334 "%s" S10_REQ_EMULATION_DIR " is too long"), zoneroot);
405 if (snprintf(path, sizeof (path), "%s" DELETE_LIST_PATH, zoneroot) >=
408 " is too long"), zoneroot);
441 " reading from %s" DELETE_LIST_PATH "."), zoneroot);
449 zoneroot, strerror(errno));
/osnet-11/usr/src/lib/libproc/common/
H A DPzone.c256 if (P->zoneroot != NULL) {
257 (void) strlcpy(s, P->zoneroot, n);
263 if ((P->zoneroot = strdup("")) == NULL) {
268 (void) strlcpy(s, P->zoneroot, n);
273 if ((P->zoneroot = strdup("")) == NULL) {
280 (void) strlcpy(s, P->zoneroot, n);
286 if ((P->zoneroot = strdup("")) == NULL) {
293 (void) strlcpy(s, P->zoneroot, n);
299 if ((P->zoneroot = strdup(zpath)) == NULL) {
304 (void) strlcpy(s, P->zoneroot,
[all...]
H A DPcontrol.h228 char *zoneroot; /* cached path to zone root */ member in struct:ps_prochandle
H A DPcore.c1762 P->zoneroot = NULL;
/osnet-11/usr/src/lib/libbe/common/
H A Dlibbe_priv.h78 char *zoneroot; /* zoneroot, relative to altroots */ member in struct:be_transaction_data
H A Dbe_mount.c715 * a non-global zone BE, the zoneroot_ds and zoneroot parameters
722 * zoneroot - zoneroot path of zone.
732 char *zoneroot, be_fs_list_data_t *fld)
801 "%s%s", fld->altroot, zoneroot);
1677 * we just mounted in the altroot so that the zoneroot
2394 char zoneroot[MAXPATHLEN]; local
2414 /* Get handle to active zoneroot dataset */
2424 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));
731 be_get_legacy_fs(char *be_name, char *be_root_ds, char *zoneroot_ds, char *zoneroot, be_fs_list_data_t *fld) argument
2488 char zoneroot[MAXPATHLEN]; local
[all...]
H A Dbe_zones.c68 * Description: Generate a string for a zone's zoneroot given the
72 * zoneroot - pointer to buffer to return zoneroot in.
73 * zoneroot_size - size of zoneroot
80 be_make_zoneroot(char *zonepath, char *zoneroot, int zoneroot_size) argument
82 (void) snprintf(zoneroot, zoneroot_size, "%s/root", zonepath);
186 * the zone's zoneroot that's currently active for this
188 * zoneroot-ds_size - size of zoneroot_ds.
276 * Description: This function will find the dataset mounted as the zoneroot
279 * zone_altroot - path of zoneroot wr
[all...]
H A Dbe_create.c2374 char zoneroot[MAXPATHLEN]; local
2479 /* Get zoneroot directory */
2480 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));
2551 bt.zoneroot = zoneroot;
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c6812 char zoneroot[MAXPATHLEN]; local
6827 if (zone_getattr(zoneid, ZONE_ATTR_ROOT, zoneroot,
6828 sizeof (zoneroot)) >= 0) {
6829 zlen = strlen(zoneroot);
6831 strcmp(zoneroot + zlen - 3, "/lu") == 0)

Completed in 80 milliseconds