| /titanic_53/usr/src/boot/sys/boot/common/ |
| H A D | dev_net.c | 177 setenv("boot.tftproot.path", rootpath, 1); in net_open() 180 setenv("boot.nfsroot.path", rootpath, 1); in net_open() 303 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams() 314 printf("net_open: server path: %s\n", rootpath); in net_getparams() 381 if (strncmp(rootpath, uri_schemes[i].scheme, in net_parse_rootpath() 388 ptr = rootpath; in net_parse_rootpath() 394 addr = inet_addr(rootpath); in net_parse_rootpath() 395 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath() 416 bcopy(val, rootpath, strlen(val) + 1); in net_parse_rootpath() 420 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath()
|
| /titanic_53/usr/src/cmd/tsol/zones/ |
| H A D | zoneshare.sh | 55 rootpath=$prefix/root 79 `egrep -v "(^[#])" | nawk -v rootpath=$rootpath \
|
| H A D | zoneunshare.sh | 55 rootpath=$prefix/root 77 `egrep "^$rootpath"|nawk '{ print "/usr/sbin/unshare " $1 ";" }'|/sbin/sh`
|
| /titanic_53/usr/src/cmd/zoneadmd/ |
| H A D | vplat.c | 988 valid_mount_path(zlog_t *zlogp, const char *rootpath, const char *spec, in valid_mount_path() argument 1014 "%s%s/", rootpath, dir) >= sizeof (abspath)) { in valid_mount_path() 1016 rootpath, dir); in valid_mount_path() 1024 slashp = &abspath[strlen(rootpath)]; in valid_mount_path() 1191 mount_one(zlog_t *zlogp, struct zone_fstab *fsptr, const char *rootpath, in mount_one() argument 1199 if ((rv = valid_mount_path(zlogp, rootpath, fsptr->zone_fs_special, in mount_one() 1202 rootpath, fsptr->zone_fs_dir); in mount_one() 1206 if (make_one_dir(zlogp, rootpath, fsptr->zone_fs_dir, in mount_one() 1220 if ((rv = valid_mount_path(zlogp, rootpath, in mount_one() 1225 rootpath, fsptr->zone_fs_dir); in mount_one() [all …]
|
| H A D | zoneadmd.c | 617 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_53/usr/src/cmd/fs.d/nfs/lib/ |
| H A D | ref_subr.c | 152 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_53/usr/src/cmd/fs.d/ |
| H A D | fslib.c | 423 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_53/usr/src/boot/sys/boot/uboot/lib/ |
| H A D | net.c | 121 strlcpy(rootpath, envstr, sizeof(rootpath)); in get_env_net_params() 122 setenv("dhcp.root-path", rootpath, 0); in get_env_net_params()
|
| /titanic_53/usr/src/boot/lib/libstand/ |
| H A D | globals.c | 21 char rootpath[FNAME_SIZE] = "/"; /* root mount path */ variable
|
| H A D | tftp.c | 447 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char); in tftp_open() 453 if (rootpath[strlen(rootpath) - 1] == '/' || path[0] == '/') in tftp_open() 458 rootpath, extraslash, path); in tftp_open()
|
| H A D | net.h | 75 extern char rootpath[FNAME_SIZE];
|
| H A D | nfs.c | 486 printf("nfs_open: %s (rootpath=%s)\n", upath, rootpath); in nfs_open() 488 if (!rootpath[0]) { in nfs_open() 502 if ((error = nfs_getrootfh(desc, rootpath, &nfs_root_node.fhsize, in nfs_open() 517 setenv("boot.nfsroot.path", rootpath, 1); in nfs_open()
|
| H A D | bootp.c | 390 strlcpy(rootpath, val, sizeof(rootpath)); in vend_rfc1048()
|
| /titanic_53/usr/src/lib/storage/libg_fc/common/ |
| H A D | io.c | 750 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_53/usr/src/lib/libzonecfg/common/ |
| H A D | scratchops.c | 83 zonecfg_open_scratch(const char *rootpath, boolean_t createfile) in zonecfg_open_scratch() argument 92 rootpath); in zonecfg_open_scratch()
|
| H A D | libzonecfg.c | 245 zonecfg_set_root(const char *rootpath) in zonecfg_set_root() argument 249 if (rootpath == NULL || rootpath[0] == '\0' || rootpath[1] == '\0' || in zonecfg_set_root() 250 (zonecfg_root = strdup(rootpath)) == NULL) in zonecfg_set_root() 2932 zonecfg_find_mounts(char *rootpath, int (*callback)(const struct mnttab *, in zonecfg_find_mounts() argument 2941 assert(rootpath != NULL); in zonecfg_find_mounts() 2943 if ((zfsl = snprintf(zfs_path, sizeof (zfs_path), "%s/.zfs/", rootpath)) in zonecfg_find_mounts() 2947 l = strlen(rootpath); in zonecfg_find_mounts() 2960 if ((strncmp(rootpath, m.mnt_mountp, l) == 0) && in zonecfg_find_mounts() 5467 zone_get_rootpath(char *zone_name, char *rootpath, size_t rp_sz) in zone_get_rootpath() argument 5474 if ((err = zone_get_zonepath(zone_name, rootpath, rp_sz)) != Z_OK) in zone_get_rootpath() [all …]
|
| /titanic_53/usr/src/stand/lib/fs/nfs/ |
| H A D | mount.c | 393 struct nfs_file rootpath; in nfs4init() local 444 error = lookup(path, &rootpath, TRUE); in nfs4init() 450 roothandle = rootpath; /* structure copy */ in nfs4init()
|
| /titanic_53/usr/src/cmd/cmd-inet/usr.sbin/ |
| H A D | in.rexecd.c | 153 static char rootpath[] = "PATH=/usr/sbin:/usr/bin"; variable 431 envinit[ENVINIT_PATH] = rootpath; in doit()
|
| H A D | in.rshd.c | 410 static char rootpath[] = "PATH=/usr/sbin:/usr/bin"; variable 1115 path = (pwd->pw_uid == 0) ? rootpath : userpath; in doit()
|
| /titanic_53/usr/src/cmd/prtconf/ |
| H A D | pdevinfo.c | 175 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_53/usr/src/cmd/zoneadm/ |
| H A D | zoneadm.c | 943 char rootpath[MAXPATHLEN]; /* root path */ in validate_zonepath() local 1131 if (snprintf(rootpath, sizeof (rootpath), "%s/root", rpath) >= in validate_zonepath() 1132 sizeof (rootpath)) { in validate_zonepath() 1141 if ((res = stat(rootpath, &stbuf)) == 0) { in validate_zonepath() 1155 "directory.\n"), rootpath); in validate_zonepath() 1161 "owned by root.\n"), rootpath); in validate_zonepath() 1167 "0755.\n"), rootpath); in validate_zonepath() 4901 char rootpath[MAXPATHLEN], zonepath[MAXPATHLEN]; in uninstall_func() local 5005 if ((err = zone_get_rootpath(target_zone, rootpath, in uninstall_func() 5006 sizeof (rootpath))) != Z_OK) { in uninstall_func() [all …]
|
| /titanic_53/usr/src/cmd/fs.d/nfs/rp_basic/ |
| H A D | libnfs_basic.c | 222 (void) make_pathname4(buf2, &fsl_array[i].rootpath); in get_fs_locations()
|
| /titanic_53/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
| H A D | wanboot-cgi.c | 1696 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_53/usr/src/uts/common/os/ |
| H A D | zone.c | 4008 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_53/usr/src/boot/sys/boot/i386/libi386/ |
| H A D | pxe.c | 258 printf(" %s:%s", inet_ntoa(rootip), rootpath); in pxe_print()
|