Lines Matching defs:permstr
3121 char *permstr = NULL;
3134 ((permstr = malloc(15)) != NULL)) {
3136 permstr[i] = '-';
3139 permstr[0] = 'r';
3141 permstr[1] = 'w';
3143 permstr[2] = 'x';
3145 permstr[3] = 'p';
3147 permstr[4] = 'd';
3149 permstr[5] = 'D';
3151 permstr[6] = 'a';
3153 permstr[7] = 'A';
3155 permstr[8] = 'R';
3157 permstr[9] = 'W';
3159 permstr[10] = 'c';
3161 permstr[11] = 'C';
3163 permstr[12] = 'o';
3165 permstr[13] = 's';
3166 permstr[14] = '\0';
3168 uval.string_val = permstr;
3178 returnstat = strappend(&permstr, gettext(READ_DIR_TXT),
3182 returnstat = strappend(&permstr, gettext(ADD_FILE_TXT),
3186 returnstat = strappend(&permstr, gettext(ADD_DIR_TXT),
3190 returnstat = strappend(&permstr,
3194 returnstat = strappend(&permstr,
3198 returnstat = strappend(&permstr,
3202 returnstat = strappend(&permstr,
3206 returnstat = strappend(&permstr,
3210 returnstat = strappend(&permstr,
3214 returnstat = strappend(&permstr, gettext(DELETE_TXT),
3218 returnstat = strappend(&permstr, gettext(READ_ACL_TXT),
3222 returnstat = strappend(&permstr, gettext(WRITE_ACL_TXT),
3226 returnstat = strappend(&permstr,
3230 returnstat = strappend(&permstr,
3233 if (permstr[strlen(permstr) - 1] == '/')
3234 permstr[strlen(permstr) - 1] = '\0';
3236 uval.string_val = permstr;
3238 if ((permstr == NULL) || (returnstat != 0) ||
3245 if (permstr != NULL)
3246 free(permstr);