Lines Matching defs:migpath
625 char migpath[MAXPATHLEN];
629 if (snprintf(migpath, sizeof (migpath), "%s/root", path) >=
630 sizeof (migpath))
633 if (stat(migpath, &buf) == -1 || !S_ISDIR(buf.st_mode))
636 if (snprintf(migpath, sizeof (migpath), "%s/%s", path, fname) >=
637 sizeof (migpath))
640 if ((err = zonecfg_get_handle_impl(zonename, migpath, handle)) != Z_OK)
1384 char migpath[MAXPATHLEN];
1393 (void) strlcpy(migpath, "-", sizeof (migpath));
1403 if (snprintf(migpath, sizeof (migpath), "%s/%s", path,
1404 ZONE_DETACHED) >= sizeof (migpath))
1425 if (xmlSaveFormatFile(migpath, handle->zone_dh_doc, 1) <= 0)
1429 (void) chmod(migpath, 0644);
1441 char migpath[MAXPATHLEN];
1444 if (snprintf(migpath, sizeof (migpath), "%s/%s", path, ZONE_DETACHED) >=
1445 sizeof (migpath))
1448 if (stat(migpath, &buf) != -1)