| /onnv-gate/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`
|
| /onnv-gate/usr/src/cmd/zoneadmd/ |
| H A D | vplat.c | 980 valid_mount_path(zlog_t *zlogp, const char *rootpath, const char *spec, in valid_mount_path() argument 1006 "%s%s/", rootpath, dir) >= sizeof (abspath)) { in valid_mount_path() 1008 rootpath, dir); in valid_mount_path() 1016 slashp = &abspath[strlen(rootpath)]; in valid_mount_path() 1183 mount_one(zlog_t *zlogp, struct zone_fstab *fsptr, const char *rootpath, in mount_one() argument 1191 if ((rv = valid_mount_path(zlogp, rootpath, fsptr->zone_fs_special, in mount_one() 1194 rootpath, fsptr->zone_fs_dir); in mount_one() 1198 if (make_one_dir(zlogp, rootpath, fsptr->zone_fs_dir, in mount_one() 1212 if ((rv = valid_mount_path(zlogp, rootpath, in mount_one() 1217 rootpath, fsptr->zone_fs_dir); in mount_one() [all …]
|
| H A D | zoneadmd.c | 613 char rootpath[MAXPATHLEN]; in mount_early_fs() local 633 (void) strlcpy(rootpath, luroot, sizeof (rootpath)); in mount_early_fs() 636 rootpath, sizeof (rootpath)) != Z_OK) { in mount_early_fs() 642 if ((rv = valid_mount_path(zlogp, rootpath, spec, dir, fstype)) < 0) { in mount_early_fs() 644 rootpath, dir); in mount_early_fs() 648 if (make_one_dir(zlogp, rootpath, dir, in mount_early_fs() 662 if ((rv = valid_mount_path(zlogp, rootpath, spec, dir, in mount_early_fs() 665 "%s%s is not a valid mount point", rootpath, dir); in mount_early_fs()
|
| /onnv-gate/usr/src/lib/lvm/libsvm/common/hdrs/ |
| H A D | svm.h | 83 extern int write_xlate_to_mdconf(char *rootpath); 84 extern int write_targ_nm_table(char *rootpath); 85 extern int get_rootmetadevice(char *rootpath, char **devname);
|
| H A D | libsvm.h | 56 extern int svm_check(char *rootpath); 57 extern int svm_start(char *rootpath, svm_info_t **svm_infopp,
|
| /onnv-gate/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()
|
| /onnv-gate/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()
|
| /onnv-gate/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()
|
| /onnv-gate/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 | 244 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() 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() 5497 zone_get_rootpath(char *zone_name, char *rootpath, size_t rp_sz) in zone_get_rootpath() argument 5504 if ((err = zone_get_zonepath(zone_name, rootpath, rp_sz)) != Z_OK) in zone_get_rootpath() [all …]
|
| /onnv-gate/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()
|
| /onnv-gate/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()
|
| /onnv-gate/usr/src/cmd/prtconf/ |
| H A D | pdevinfo.c | 168 char *rootpath; in prtconf_devinfo() local 174 rootpath = "/"; in prtconf_devinfo() 190 if (strcmp(rootpath, "/") != 0) { in prtconf_devinfo() 205 root_node = di_init_impl(rootpath, flag, &fetch); in prtconf_devinfo() 211 root_node = di_init(rootpath, flag); in prtconf_devinfo()
|
| /onnv-gate/usr/src/cmd/zoneadm/ |
| H A D | zoneadm.c | 934 char rootpath[MAXPATHLEN]; /* root path */ in validate_zonepath() local 1099 if (snprintf(rootpath, sizeof (rootpath), "%s/root", rpath) >= in validate_zonepath() 1100 sizeof (rootpath)) { in validate_zonepath() 1109 if ((res = stat(rootpath, &stbuf)) == 0) { in validate_zonepath() 1123 "directory.\n"), rootpath); in validate_zonepath() 1129 "owned by root.\n"), rootpath); in validate_zonepath() 1135 "0755.\n"), rootpath); in validate_zonepath() 4794 char rootpath[MAXPATHLEN], zonepath[MAXPATHLEN]; in uninstall_func() local 4898 if ((err = zone_get_rootpath(target_zone, rootpath, in uninstall_func() 4899 sizeof (rootpath))) != Z_OK) { in uninstall_func() [all …]
|
| /onnv-gate/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()
|
| /onnv-gate/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()
|
| /onnv-gate/usr/src/uts/common/os/ |
| H A D | zone.c | 3830 zone_mount_count(const char *rootpath) in zone_mount_count() argument 3834 size_t rootpathlen = strlen(rootpath); in zone_mount_count() 3845 ASSERT(rootpath[rootpathlen - 1] == '/'); in zone_mount_count() 3854 if (strncmp(rootpath, refstr_value(vfsp->vfs_mntpt), in zone_mount_count() 3868 zone_is_nested(const char *rootpath) in zone_is_nested() argument 3871 size_t rootpathlen = strlen(rootpath); in zone_is_nested() 3879 if ((rootpathlen <= 3) && (rootpath[0] == '/') && in zone_is_nested() 3880 (rootpath[1] == '/') && (rootpath[2] == '\0')) in zone_is_nested() 3888 if (strncmp(rootpath, zone->zone_rootpath, in zone_is_nested()
|
| /onnv-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs4_stub_vnops.c | 1783 for (i = 0; i < fsp->rootpath.pathname4_len; i++) { in nfs4_trigger_esi_create_referral() 1786 comp = &fsp->rootpath.pathname4_val[i]; in nfs4_trigger_esi_create_referral() 1794 if (fsp->rootpath.pathname4_len != 0) in nfs4_trigger_esi_create_referral()
|
| H A D | nfs_dlinet.c | 1269 struct netbuf *server_address, char *rootpath, int pathlen) in cacheinfo() argument 1283 (void) strncpy(rootpath, server_path_c, pathlen); in cacheinfo()
|
| H A D | nfs4_vfsops.c | 1527 for (i = 0; i < fsp->rootpath.pathname4_len; i++) { in update_servinfo4() 1530 comp = &fsp->rootpath.pathname4_val[i]; in update_servinfo4() 1541 if (fsp->rootpath.pathname4_len != 0) in update_servinfo4()
|
| H A D | nfs4_xdr.c | 643 objp->rootpath.pathname4_val = NULL; in xdr_fs_location4() 649 return (xdr_array(xdrs, (char **)&objp->rootpath.pathname4_val, in xdr_fs_location4() 650 (uint_t *)&objp->rootpath.pathname4_len, in xdr_fs_location4()
|
| /onnv-gate/usr/src/head/rpcsvc/ |
| H A D | nfs4_prot.x | 203 pathname4 rootpath; member
|
| /onnv-gate/usr/src/uts/common/nfs/ |
| H A D | nfs4_kprot.h | 219 pathname4 rootpath; member
|