Lines Matching defs:rpath

866 	char rpath[MAXPATHLEN];		/* resolved path */
868 char rpath_copy[MAXPATHLEN]; /* copy of original rpath */
899 res = resolvepath(path_copy, rpath, sizeof (rpath));
912 rpath[res] = '\0';
914 (void) snprintf(rpath_copy, sizeof (rpath_copy), "%s/", rpath);
923 target_zone, path, ze->zone_name, rpath);
940 char rpath[MAXPATHLEN]; /* resolved path */
951 if ((res = resolvepath(path, rpath, sizeof (rpath))) == -1) {
997 rpath[res] = '\0';
998 if (strcmp(path, rpath) != 0) {
1003 if ((res = stat(rpath, &stbuf)) != 0) {
1004 zperror(rpath, B_FALSE);
1009 rpath);
1014 "file system.\n"), rpath);
1016 if (crosscheck_zonepaths(rpath) != Z_OK)
1025 rpath);
1031 "to root.\n"), rpath);
1032 if (chown(rpath, 0, -1) != 0) {
1033 zperror(rpath, B_FALSE);
1040 err |= bad_mode_bit(stbuf.st_mode, S_IRUSR, B_TRUE, rpath);
1041 err |= bad_mode_bit(stbuf.st_mode, S_IWUSR, B_TRUE, rpath);
1042 err |= bad_mode_bit(stbuf.st_mode, S_IXUSR, B_TRUE, rpath);
1043 err |= bad_mode_bit(stbuf.st_mode, S_IRGRP, B_FALSE, rpath);
1044 err |= bad_mode_bit(stbuf.st_mode, S_IWGRP, B_FALSE, rpath);
1045 err |= bad_mode_bit(stbuf.st_mode, S_IXGRP, B_FALSE, rpath);
1046 err |= bad_mode_bit(stbuf.st_mode, S_IROTH, B_FALSE, rpath);
1047 err |= bad_mode_bit(stbuf.st_mode, S_IWOTH, B_FALSE, rpath);
1048 err |= bad_mode_bit(stbuf.st_mode, S_IXOTH, B_FALSE, rpath);
1053 "to 0700.\n"), rpath);
1054 if (chmod(rpath, S_IRWXU) != 0) {
1087 if (strcmp(rpath, rppath) == 0) {
1093 if (statvfs64(rpath, &vfsbuf) != 0) {
1094 zperror(rpath, B_FALSE);
1104 "\tA local file system must be used.\n"), rpath);
1114 "file system.\n"), rpath);
1131 if (snprintf(rootpath, sizeof (rootpath), "%s/root", rpath) >=
1138 gettext("Zonepath %s is too long.\n"), rpath);
1142 if (zonecfg_detached(rpath)) {
1147 rpath);