Home
last modified time | relevance | path

Searched refs:rootpath (Results 1 – 25 of 29) sorted by relevance

12

/titanic_44/usr/src/cmd/tsol/zones/
H A Dzoneshare.sh55 rootpath=$prefix/root
79 `egrep -v "(^[#])" | nawk -v rootpath=$rootpath \
H A Dzoneunshare.sh55 rootpath=$prefix/root
77 `egrep "^$rootpath"|nawk '{ print "/usr/sbin/unshare " $1 ";" }'|/sbin/sh`
/titanic_44/usr/src/cmd/zoneadmd/
H A Dvplat.c987 valid_mount_path(zlog_t *zlogp, const char *rootpath, const char *spec, in valid_mount_path() argument
1013 "%s%s/", rootpath, dir) >= sizeof (abspath)) { in valid_mount_path()
1015 rootpath, dir); in valid_mount_path()
1023 slashp = &abspath[strlen(rootpath)]; in valid_mount_path()
1190 mount_one(zlog_t *zlogp, struct zone_fstab *fsptr, const char *rootpath, in mount_one() argument
1198 if ((rv = valid_mount_path(zlogp, rootpath, fsptr->zone_fs_special, in mount_one()
1201 rootpath, fsptr->zone_fs_dir); in mount_one()
1205 if (make_one_dir(zlogp, rootpath, fsptr->zone_fs_dir, in mount_one()
1219 if ((rv = valid_mount_path(zlogp, rootpath, in mount_one()
1224 rootpath, fsptr->zone_fs_dir); in mount_one()
[all …]
H A Dzoneadmd.c617 char rootpath[MAXPATHLEN]; in mount_early_fs() local
637 (void) strlcpy(rootpath, luroot, sizeof (rootpath)); in mount_early_fs()
640 rootpath, sizeof (rootpath)) != Z_OK) { in mount_early_fs()
646 if ((rv = valid_mount_path(zlogp, rootpath, spec, dir, fstype)) < 0) { in mount_early_fs()
648 rootpath, dir); in mount_early_fs()
652 if (make_one_dir(zlogp, rootpath, dir, in mount_early_fs()
666 if ((rv = valid_mount_path(zlogp, rootpath, spec, dir, in mount_early_fs()
669 "%s%s is not a valid mount point", rootpath, dir); in mount_early_fs()
/titanic_44/usr/src/cmd/fs.d/nfs/lib/
H A Dref_subr.c152 for (j = 0; j < fs->rootpath.pathname4_len; j++) { in print_referral_summary()
153 s = utf8_to_str(&fs->rootpath.pathname4_val[j], in print_referral_summary()
159 if (fs->rootpath.pathname4_len == 0) in print_referral_summary()
284 objp->rootpath.pathname4_val = NULL; in xdr_fs_location4()
290 if (!xdr_pathname4(xdrs, &objp->rootpath)) in xdr_fs_location4()
/titanic_44/usr/src/cmd/fs.d/
H A Dfslib.c423 char rootpath[MAXPATHLEN]; member
469 summaries[j].rootpath, sizeof (summaries[j].rootpath)); in fs_get_zone_summaries()
485 (void) strlcat(summaries[j].rootpath, "/", in fs_get_zone_summaries()
486 sizeof (summaries[j].rootpath)); in fs_get_zone_summaries()
502 if (strncmp(mntpt, summaries[i].rootpath, in fs_find_zone()
/titanic_44/usr/src/lib/storage/libg_fc/common/
H A Dio.c750 char rootpath[MAXPATHLEN]; in g_devid_get() local
765 rootpath[0] = '\0'; in g_devid_get()
772 strcat(rootpath, devpath + strlen(DEV_PREFIX) - 1); in g_devid_get()
774 cptr = strrchr(rootpath, ':'); in g_devid_get()
794 if (strcmp(rootpath, devfs_path) == 0) { in g_devid_get()
/titanic_44/usr/src/lib/libzonecfg/common/
H A Dscratchops.c83 zonecfg_open_scratch(const char *rootpath, boolean_t createfile) in zonecfg_open_scratch() argument
92 rootpath); in zonecfg_open_scratch()
H A Dlibzonecfg.c244 zonecfg_set_root(const char *rootpath) in zonecfg_set_root() argument
248 if (rootpath == NULL || rootpath[0] == '\0' || rootpath[1] == '\0' || in zonecfg_set_root()
249 (zonecfg_root = strdup(rootpath)) == NULL) in zonecfg_set_root()
2931 zonecfg_find_mounts(char *rootpath, int (*callback)(const struct mnttab *, in zonecfg_find_mounts() argument
2940 assert(rootpath != NULL); in zonecfg_find_mounts()
2942 if ((zfsl = snprintf(zfs_path, sizeof (zfs_path), "%s/.zfs/", rootpath)) in zonecfg_find_mounts()
2946 l = strlen(rootpath); in zonecfg_find_mounts()
2959 if ((strncmp(rootpath, m.mnt_mountp, l) == 0) && in zonecfg_find_mounts()
5466 zone_get_rootpath(char *zone_name, char *rootpath, size_t rp_sz) in zone_get_rootpath() argument
5473 if ((err = zone_get_zonepath(zone_name, rootpath, rp_sz)) != Z_OK) in zone_get_rootpath()
[all …]
/titanic_44/usr/src/stand/lib/fs/nfs/
H A Dmount.c393 struct nfs_file rootpath; in nfs4init() local
444 error = lookup(path, &rootpath, TRUE); in nfs4init()
450 roothandle = rootpath; /* structure copy */ in nfs4init()
/titanic_44/usr/src/tools/onbld/Scm/
H A DBackup.py121 def members_match_fs(self, rootpath): argument
131 def _member_matches_fs(member, rootpath): argument
133 fpath = os.path.join(rootpath, member.name)
156 if not _member_matches_fs(elt, rootpath):
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c153 static char rootpath[] = "PATH=/usr/sbin:/usr/bin"; variable
431 envinit[ENVINIT_PATH] = rootpath; in doit()
H A Din.rshd.c410 static char rootpath[] = "PATH=/usr/sbin:/usr/bin"; variable
1115 path = (pwd->pw_uid == 0) ? rootpath : userpath; in doit()
/titanic_44/usr/src/cmd/prtconf/
H A Dpdevinfo.c175 char *rootpath; in prtconf_devinfo() local
181 rootpath = "/"; in prtconf_devinfo()
197 if (strcmp(rootpath, "/") != 0) { in prtconf_devinfo()
212 root_node = di_init_impl(rootpath, flag, &fetch); in prtconf_devinfo()
218 root_node = di_init(rootpath, flag); in prtconf_devinfo()
/titanic_44/usr/src/cmd/zoneadm/
H A Dzoneadm.c942 char rootpath[MAXPATHLEN]; /* root path */ in validate_zonepath() local
1130 if (snprintf(rootpath, sizeof (rootpath), "%s/root", rpath) >= in validate_zonepath()
1131 sizeof (rootpath)) { in validate_zonepath()
1140 if ((res = stat(rootpath, &stbuf)) == 0) { in validate_zonepath()
1154 "directory.\n"), rootpath); in validate_zonepath()
1160 "owned by root.\n"), rootpath); in validate_zonepath()
1166 "0755.\n"), rootpath); in validate_zonepath()
4899 char rootpath[MAXPATHLEN], zonepath[MAXPATHLEN]; in uninstall_func() local
5003 if ((err = zone_get_rootpath(target_zone, rootpath, in uninstall_func()
5004 sizeof (rootpath))) != Z_OK) { in uninstall_func()
[all …]
/titanic_44/usr/src/cmd/fs.d/nfs/rp_basic/
H A Dlibnfs_basic.c222 (void) make_pathname4(buf2, &fsl_array[i].rootpath); in get_fs_locations()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c1696 char *rootpath = NULL; in main() local
1806 &rootpath, &miniroot_info, &https_rootserver)) { in main()
1809 payload = rootpath; in main()
1895 free_path(&rootpath); in main()
/titanic_44/usr/src/uts/common/os/
H A Dzone.c4008 zone_mount_count(const char *rootpath) in zone_mount_count() argument
4012 size_t rootpathlen = strlen(rootpath); in zone_mount_count()
4023 ASSERT(rootpath[rootpathlen - 1] == '/'); in zone_mount_count()
4032 if (strncmp(rootpath, refstr_value(vfsp->vfs_mntpt), in zone_mount_count()
4046 zone_is_nested(const char *rootpath) in zone_is_nested() argument
4049 size_t rootpathlen = strlen(rootpath); in zone_is_nested()
4057 if ((rootpathlen <= 3) && (rootpath[0] == '/') && in zone_is_nested()
4058 (rootpath[1] == '/') && (rootpath[2] == '\0')) in zone_is_nested()
4066 if (strncmp(rootpath, zone->zone_rootpath, in zone_is_nested()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c1790 for (i = 0; i < fsp->rootpath.pathname4_len; i++) { in nfs4_trigger_esi_create_referral()
1793 comp = &fsp->rootpath.pathname4_val[i]; in nfs4_trigger_esi_create_referral()
1801 if (fsp->rootpath.pathname4_len != 0) in nfs4_trigger_esi_create_referral()
H A Dnfs_dlinet.c1269 struct netbuf *server_address, char *rootpath, int pathlen) in cacheinfo() argument
1283 (void) strncpy(rootpath, server_path_c, pathlen); in cacheinfo()
H A Dnfs4_vfsops.c1529 for (i = 0; i < fsp->rootpath.pathname4_len; i++) { in update_servinfo4()
1532 comp = &fsp->rootpath.pathname4_val[i]; in update_servinfo4()
1543 if (fsp->rootpath.pathname4_len != 0) in update_servinfo4()
H A Dnfs4_xdr.c651 objp->rootpath.pathname4_val = NULL; in xdr_fs_location4()
657 return (xdr_array(xdrs, (char **)&objp->rootpath.pathname4_val, in xdr_fs_location4()
658 (uint_t *)&objp->rootpath.pathname4_len, in xdr_fs_location4()
H A Dnfs4_srv_attr.c1551 rfs4_free_pathname4(&fsl4->rootpath); in rfs4_free_fs_location4()
/titanic_44/usr/src/head/rpcsvc/
H A Dnfs4_prot.x237 pathname4 rootpath; member
/titanic_44/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h232 pathname4 rootpath; member

12